diff --git a/src/api/officialSeal/officialSeal.js b/src/api/officialSeal/officialSeal.js index 6e74e67..55fd87a 100644 --- a/src/api/officialSeal/officialSeal.js +++ b/src/api/officialSeal/officialSeal.js @@ -25,3 +25,19 @@ export function selectDeptIndefiUrl(data) { data: data }) } +// 新增机构 +export function insert(data) { + return request({ + url: '/deptIdentify/insert', + method: 'post', + data: data + }) +} +// 查询公章列表 +export function sealList(data) { + return request({ + url: '/deptIdentify/sealList', + method: 'get', + params: data + }) +} diff --git a/src/views/officialSeal/components/addInstitution.vue b/src/views/officialSeal/components/addInstitution.vue new file mode 100644 index 0000000..68fe54a --- /dev/null +++ b/src/views/officialSeal/components/addInstitution.vue @@ -0,0 +1,89 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/sealManage.vue b/src/views/officialSeal/components/sealManage.vue new file mode 100644 index 0000000..547e9dd --- /dev/null +++ b/src/views/officialSeal/components/sealManage.vue @@ -0,0 +1,89 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/components/uploadSeal.vue b/src/views/officialSeal/components/uploadSeal.vue new file mode 100644 index 0000000..2af9860 --- /dev/null +++ b/src/views/officialSeal/components/uploadSeal.vue @@ -0,0 +1,107 @@ + + + + \ No newline at end of file diff --git a/src/views/officialSeal/officialSealList.vue b/src/views/officialSeal/officialSealList.vue index 156b943..7041d9c 100644 --- a/src/views/officialSeal/officialSealList.vue +++ b/src/views/officialSeal/officialSealList.vue @@ -1,5 +1,11 @@ - + + + + + + @@ -34,21 +48,25 @@ import { deptIdentifyList, enableDept, - selectDeptIndefiUrl + selectDeptIndefiUrl, } from "@/api/officialSeal/officialSeal.js"; -import { getDicts } from '@/api/system/dict/data.js' +import addInstitution from "./components/addInstitution"; +import uploadSeal from "./components/uploadSeal"; +import sealManage from "./components/sealManage"; export default { name: "paymentList", - dicts: ["case_status"], - components: {}, + components: { + addInstitution, + uploadSeal, + sealManage + }, data() { return { queryParams: { pageNum: 1, pageSize: 10, }, - caseStatus: [], // 遮罩层 loading: false, // 总条数 @@ -57,16 +75,41 @@ export default { form: {}, // 校验表单 rules: {}, - dataList: [], + dataList: [1], + operateVisable: false,//新增弹窗 + uploadVisable: false,//上传弹窗 + sealVisable:false,//公章列表弹窗 + uploadData: {}, + sealData:{} }; }, created() { - getDicts("case_status").then(res => { - this.caseStatus = res.data; - this.getList(this.queryParams); - }) + this.getList(this.queryParams) }, methods: { + // 公章管理 + sealManage(row){ + this.sealVisable = true; + this.sealData = row; + }, + cancelSeal(){ + this.sealVisable = false; + }, + // 上传公章 + uploadSeal(row) { + this.uploadVisable = true; + this.uploadData = row; + }, + cancelFilingreview() { + this.operateVisable = false; + }, + cancelUpload() { + this.uploadVisable = false; + }, + // 新增部门 + addInstitution() { + this.operateVisable = true; + }, // 启用认证按钮 changeStatus(row) { this.$modal.confirm('是否进行启用?') diff --git a/vue.config.js b/vue.config.js index 97c528c..32e1aed 100644 --- a/vue.config.js +++ b/vue.config.js @@ -11,8 +11,8 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页 const port = process.env.port || process.env.npm_config_port || 80 // 端口 -const API = 'http://121.40.189.20:9001' //生产 -// const API = 'http://121.40.189.20:8001' //测试 +// const API = 'http://121.40.189.20:9001' //生产 +const API = 'http://121.40.189.20:8001' //测试 // const API = 'http://192.168.3.18:9001' //B // const API = 'http://192.168.3.77:9001' //Q