Przeglądaj źródła

纸质文件记录上传修改

shenqilong 1 rok temu
rodzic
commit
1ea470403b

+ 5 - 2
src/views/platform/bpmn/bpmInstHis/oldFilesUploadList.vue

@@ -219,7 +219,10 @@ export default {
     created () {
         this.loadData()
         // this.getConfig() //获取配置的报表
-        this.listConfig.toolbars.push({ key: 'remove' })
+        const pageName = this.$route.name
+        if (pageName === 'ywyxjlsc') {
+            this.listConfig.toolbars.push({ key: 'remove' })
+        }
         this.listConfig.toolbars.push({ key: 'export' })
         this.selection = true
     },
@@ -635,7 +638,7 @@ export default {
             })
             const pageName = this.$route.name
 
-            if (state.length === 0) {
+            if (state.length === 0 && this.depth !== 0 && pageName === 'ywyxjlsc') {
                 const chongfu = this.listConfig.toolbars.filter((el) => {
                     return el.key === 'add'
                 })