diff --git a/project/shandong10086/apps/shandong/AppDispatchManagement/components/Detail.vue b/project/shandong10086/apps/shandong/AppDispatchManagement/components/Detail.vue index 50a4424c..b736543e 100644 --- a/project/shandong10086/apps/shandong/AppDispatchManagement/components/Detail.vue +++ b/project/shandong10086/apps/shandong/AppDispatchManagement/components/Detail.vue @@ -4,7 +4,7 @@ @@ -220,9 +220,9 @@ export default { this.showDetail = true this.isAdd = false this.getDetail() - + }, - methods: { + methods: { remove (id) { if(this.form.flowUsers.length<=1){ return this.$message.error("至少留一个流转对象!"); @@ -560,4 +560,4 @@ export default { } } } - \ No newline at end of file + diff --git a/project/shandong10086/apps/shandong/AppDispatchManagement/components/List.vue b/project/shandong10086/apps/shandong/AppDispatchManagement/components/List.vue index 27337adf..dccacc5e 100644 --- a/project/shandong10086/apps/shandong/AppDispatchManagement/components/List.vue +++ b/project/shandong10086/apps/shandong/AppDispatchManagement/components/List.vue @@ -80,6 +80,7 @@ :size.sync="page.size" @getList="getList" @selection-change="handleSelectionChange" + :dict="dict" > @@ -142,24 +143,21 @@ export default { label: "公文类型", width: 120, align: "center", - formart: (documentType) => - this.$dict.getLabel("officialDocumentName", documentType), + dict: "officialDocumentName" }, { prop: "readType", label: "阅示类型", width: 120, align: "center", - formart: (readType) => - this.$dict.getLabel("officialDocumentReadType", readType), + dict: "officialDocumentReadType" }, { prop: "confidentialityLevel", label: "保密等级", width: 120, align: "center", - formart: (confidentialityLevel) => - this.$dict.getLabel("officialDocumentConfidentialityLevel", confidentialityLevel), + dict: "officialDocumentConfidentialityLevel" }, { prop: "flowUserName", @@ -192,7 +190,7 @@ export default { ]; }, }, - mounted() { + created() { this.dict.load('officialDocumentName', 'officialDocumentConfidentialityLevel', 'officialDocumentReadType', 'documentStatus').then(() => { this.$nextTick(() => this.getList()) })