From 73cb3ec2b1660610e3621d7614ad308f2c19331d Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 16 十一月 2023 17:19:38 +0800 Subject: [PATCH] 1.修改了综合风险模型表格数据的获取 2.修改了时间选择器 --- src/views/exception/SiteAuditAssistance.vue | 76 ++------------------------------------ 1 files changed, 4 insertions(+), 72 deletions(-) diff --git a/src/views/exception/SiteAuditAssistance.vue b/src/views/exception/SiteAuditAssistance.vue index 310bb40..e575a35 100644 --- a/src/views/exception/SiteAuditAssistance.vue +++ b/src/views/exception/SiteAuditAssistance.vue @@ -121,28 +121,6 @@ // 鐩戝惉 鍒ゆ柇鎸夐挳鏄惁鍙偣鍑� watch: { selectedRowIndex(newVaue) { - // // 澶勪簬琛ㄦ牸鐨勬渶鍚庝竴鏉℃暟鎹� 璁剧疆鈥樹笂涓�鏉♀�欐寜閽笉鍙偣 - // if (newVaue === this.displayData.length - 1) { - // this.dialog.isPreCantouch = true - // //鐢ㄦ埛鍏堢偣浜嗙涓�鏉★紝pre涓簍rue,鐒跺悗鐐瑰嚮鏈�鍚庝竴鏉�,next涓簍rue銆傛鏃朵袱涓寜閽兘琚皝閿� - // if (this.dialog.isNextCantouch == true) { - // this.dialog.isNextCantouch = false - // } - // } - // // 澶勪簬琛ㄦ牸绗竴鏉℃暟鎹� 璁剧疆鈥樹笅涓�鏉♀�欐寜閽笉鍙偣 - // else if (newVaue === 0) { - // this.dialog.isNextCantouch = true - // //鐢ㄦ埛鍏堢偣浜嗚〃鏍兼渶鍚庝竴鏉�,next涓簍rue,鐒跺悗鐐瑰嚮绗竴鏉★紝pre涓簍rue銆傛鏃朵袱涓寜閽兘琚皝閿� - // if (this.dialog.isPreCantouch == true) { - // this.dialog.isPreCantouch = false - // } - // } - // // 澶勪簬琛ㄦ牸鐨勪腑闂磋 灏嗘寜閽缃负鍙偣鍑荤姸鎬� - // else { - // this.dialog.isPreCantouch = false - // this.dialog.isNextCantouch = false - // } - // 澶勪簬琛ㄦ牸鐨勬渶鍚庝竴鏉℃暟鎹� 璁剧疆鈥樹笂涓�鏉♀�欐寜閽笉鍙偣 if (newVaue === 0) { this.dialog.isPreCantouch = true @@ -296,25 +274,7 @@ }) }, close() { - // if (this.auditDialog.checkerNotes || this.auditDialog.enterpriseNotes) { - // ElMessageBox.confirm('杩欏皢浼氾紝纭畾瑕佸叧闂悧', '鎻愮ず', - // { - // confirmButtonText: '纭畾', - // cancelButtonText: '鍙栨秷', - // type: 'warning', - // center :'true', - // icon: markRaw(Delete), - // draggable: true, - // }).then(() => { - // ElMessage({ - // type: 'success', - // message: '宸插叧闂�', - // }) - // this.auditDialog.visible = false - // }) - // }else{ - // this.auditDialog.visible = false - // } + this.auditDialog.visible = false }, // 琛ㄦ牸琛岀殑棰滆壊 @@ -1368,7 +1328,7 @@ <el-col> <div class="checknum"> <div class="checknum-text"> - <el-tag>搴斿鏍告暟</el-tag><span>{{ total }} ({{ checkedRate }}%)</span> + <el-tag>搴斿鏍告暟</el-tag><span >{{ total }} ({{ checkedRate }}%)</span> </div> <div class="checknum-text"> @@ -1554,17 +1514,7 @@ <div><span class="diag-head-text1">绔欑偣鍚嶇О锛�</span>{{ tableCurrentRowData.name }}</div> <div><span class="diag-head-text1">璁惧缂栧彿锛�</span>{{ tableCurrentRowData.mnCode }}</div> <div><span class="diag-head-text1">杩愮淮鍟嗭細</span>{{ tableCurrentRowData.dutyCompany }}</div> - <!-- <div> - <span class="diag-head-text1">寮傚父绫诲瀷锛�</span> - <span v-if="tableCurrentRowData.exceptionType == '0'">鏁版嵁缂哄け寮傚父</span> - <span v-else-if="tableCurrentRowData.exceptionType == '1'">鏁版嵁瓒呬綆</span> - <span v-else-if="tableCurrentRowData.exceptionType == '2'">瓒呮爣</span> - <span v-else-if="tableCurrentRowData.exceptionType == '3'">鏁版嵁闀挎椂闂存棤娉㈠姩</span> - <span v-else-if="tableCurrentRowData.exceptionType == '4'">閲忕骇绐佸彉寮傚父</span> - <span v-else-if="tableCurrentRowData.exceptionType == '5'">涓磋繎瓒呮爣寮傚父</span> - <span v-else-if="tableCurrentRowData.exceptionType == '6'">鍗曟棩瓒呮爣娆℃暟涓寸晫寮傚父</span> - <span v-else-if="tableCurrentRowData.exceptionType == '7'">婊戝姩骞冲潎鍊煎紓甯�</span> - </div> --> + <div> <span class="diag-head-text1">寮傚父鏃堕棿娈碉細</span>{{ tableCurrentRowData.beginTime }} ~ @@ -1572,22 +1522,6 @@ </div> </div> - <!-- <div class="chart-jump-button"> - <el-button - type="danger" - :loading="loading.preButton" - :disabled="dialog.isPreCantouch || flag.banTouch" - @click="getPreviousRowData" - >涓婃潯寮傚父</el-button - > - <el-button - type="danger" - :loading="loading.afterButton" - :disabled="dialog.isNextCantouch || flag.banTouch" - @click="getNextRowData" - >涓嬫潯寮傚父</el-button - > - </div> --> <div class="chart-jump-button"> <el-button type="danger" @@ -1626,9 +1560,7 @@ fixed :index="indexMethod2" ></el-table-column> - <!-- <el-table-column fixed prop="name" label="绔欑偣鍚嶇О" show-overflow-tooltip /> - <el-table-column prop="mnCode" label="璁惧缂栧彿" align="center" show-overflow-tooltip /> - <el-table-column prop="dutyCompany" label="杩愮淮鍟�" align="center" show-overflow-tooltip /> --> + <el-table-column prop="lst" label="閲囬泦鏃堕棿" align="center" show-overflow-tooltip /> <el-table-column prop="dustValue" -- Gitblit v1.9.3