diff --git a/sgzb-ui/src/views/repairTest/repair/index.vue b/sgzb-ui/src/views/repairTest/repair/index.vue index 2ca0cfc3..17787ba7 100644 --- a/sgzb-ui/src/views/repairTest/repair/index.vue +++ b/sgzb-ui/src/views/repairTest/repair/index.vue @@ -366,6 +366,11 @@ width="55" align="center" v-if="repairTitle === '维修'" + :selectable=" + (row) => { + return row.status == 1 + } + " /> - - - - - {{ data[treeProps.label] }} - - - - + + + {{ data[treeProps.label] }} + + + + - diff --git a/sgzb-ui/src/views/repairTest/repairScrap/index.vue b/sgzb-ui/src/views/repairTest/repairScrap/index.vue index a495d911..66a6cad9 100644 --- a/sgzb-ui/src/views/repairTest/repairScrap/index.vue +++ b/sgzb-ui/src/views/repairTest/repairScrap/index.vue @@ -377,6 +377,11 @@ type="selection" width="55" align="center" + :selectable=" + (row) => { + return row.status == 1 + } + " v-if="repairTitle === '维修'" /> - - - - - {{ data[treeProps.label] }} - - - - + + + {{ data[treeProps.label] }} + + + + - diff --git a/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue b/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue index fabc08ce..560ebb18 100644 --- a/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue +++ b/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue @@ -124,6 +124,14 @@ 查看 + 查看 @@ -345,6 +353,11 @@ export default { ) console.log('数据导出', data) }, + fileTypeJudge(url) { + const file = url.split('.')[1] + const docList = ['doc', 'docx', 'xls', 'xlsx'] + return docList.some((e) => e === file) + }, }, } diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/component/fileView.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/component/fileView.vue index 0e49bd32..7e4e45af 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/component/fileView.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/component/fileView.vue @@ -5,9 +5,20 @@ @@ -50,6 +61,13 @@ export default { return tableList || [] }, }, + methods: { + fileTypeJudge(url) { + const file = url.split('.')[1] + const docList = ['doc', 'docx'] + return docList.some((e) => e === file) + }, + }, } diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/codingTools.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/codingTools.vue index 893569c0..f6c60e4b 100644 --- a/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/codingTools.vue +++ b/sgzb-ui/src/views/warehouseManage/newPurchase/toolsAcceptance/component/codingTools.vue @@ -297,7 +297,11 @@