公章管理

This commit is contained in:
fz
2023-11-17 17:53:03 +08:00
parent efde41565e
commit 293c5e76d0
6 changed files with 247 additions and 43 deletions
+38 -6
View File
@@ -28,8 +28,11 @@
v-if="scope.row.isUse == '未启用' && scope.row.identifyStatus == '已认证'">启用</el-button>
<el-button size="mini" @click="uploadSeal(scope.row)" type="text"
v-if="scope.row.identifyStatus == '已认证'" icon="el-icon-upload2">上传公章</el-button>
<el-button size="mini" @click="sealManage(scope.row)" type="text"
<el-button size="mini" @click="sealManage(scope.row)" type="text"
v-if="scope.row.identifyStatus == '已认证'" icon="el-icon-upload2">公章管理</el-button>
<el-button size="mini" @click="sealDelete(scope.row)" type="text" icon="el-icon-delete">删除</el-button>
<el-button size="mini" @click="eidtSeal(scope.row)" type="text"
v-if="scope.row.identifyStatus == '未认证'" icon="el-icon-edit">修改</el-button>
</template>
</el-table-column>
</el-table>
@@ -41,6 +44,7 @@
</uploadSeal>
<sealManage :sealVisable="sealVisable" @cancelSeal="cancelSeal" :sealData="sealData">
</sealManage>
<eidtInstitution :editVisable="editVisable" @cancelEdit="cancelEdit" @getList="getList" :editData="editData"></eidtInstitution>
</div>
</template>
@@ -49,17 +53,20 @@ import {
deptIdentifyList,
enableDept,
selectDeptIndefiUrl,
deleteSeal
} from "@/api/officialSeal/officialSeal.js";
import addInstitution from "./components/addInstitution";
import uploadSeal from "./components/uploadSeal";
import sealManage from "./components/sealManage";
import eidtInstitution from "./components/eidtInstitution";
export default {
name: "paymentList",
components: {
addInstitution,
uploadSeal,
sealManage
sealManage,
eidtInstitution
},
data() {
return {
@@ -78,21 +85,38 @@ export default {
dataList: [1],
operateVisable: false,//新增弹窗
uploadVisable: false,//上传弹窗
sealVisable:false,//公章列表弹窗
sealVisable: false,//公章列表弹窗
uploadData: {},
sealData:{}
sealData: {},
editVisable:false,
editData:{}
};
},
created() {
this.getList(this.queryParams)
},
methods: {
// 删除
sealDelete(row){
this.$modal
.confirm("是否更改状态")
.then((res) => {
this.deleteSealFn({id:row.id})
})
},
// 删除接口
deleteSealFn(data){
deleteSeal(data).then(res=>{
this.$modal.msgSuccess("删除成功!");
this.getList(this.queryParams);
})
},
// 公章管理
sealManage(row){
sealManage(row) {
this.sealVisable = true;
this.sealData = row;
},
cancelSeal(){
cancelSeal() {
this.sealVisable = false;
},
// 上传公章
@@ -110,6 +134,14 @@ export default {
addInstitution() {
this.operateVisable = true;
},
// 编辑
eidtSeal(row){
this.editVisable = true;
this.editData = row;
},
cancelEdit(){
this.editVisable = false;
},
// 启用认证按钮
changeStatus(row) {
this.$modal.confirm('是否进行启用?')