diff --git a/src/views/corpInfo/information/info/components/corpEdit.vue b/src/views/corpInfo/information/info/components/corpEdit.vue index 7f87fc6..5a77c38 100644 --- a/src/views/corpInfo/information/info/components/corpEdit.vue +++ b/src/views/corpInfo/information/info/components/corpEdit.vue @@ -206,17 +206,17 @@ - - - - - - - - - - - + + + + + + + +
@@ -258,7 +258,7 @@
- + {{ form.FFILE.name }} @@ -1077,14 +1077,7 @@ export default { // map.addOverlay(marker) // 将标注添加到地图中 }, goBack() { - this.$confirm('确定要退出吗?', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - this.$parent.activeName = 'corpView' - }).catch(() => { - }) + this.$parent.activeName = 'corpView' }, handleChangeIMGFour(file, fileList) { const types = ['image/jpeg', 'image/jpg', 'image/png'] diff --git a/src/views/hidden/major/confirmationperson/components/detail.vue b/src/views/hidden/major/confirmationperson/components/detail.vue index 6257b4b..714d758 100644 --- a/src/views/hidden/major/confirmationperson/components/detail.vue +++ b/src/views/hidden/major/confirmationperson/components/detail.vue @@ -142,7 +142,7 @@ - + 整改期限 @@ -150,7 +150,7 @@ - + 整改负责人 @@ -175,7 +175,7 @@ 隐患确认人 {{ pd.conUserName }} - + 隐患确认时间 diff --git a/src/views/safetyenvironmental/inspection/components/add.vue b/src/views/safetyenvironmental/inspection/components/add.vue index 93ee2ed..37b6a8e 100644 --- a/src/views/safetyenvironmental/inspection/components/add.vue +++ b/src/views/safetyenvironmental/inspection/components/add.vue @@ -957,15 +957,8 @@ export default { }, goBack() { - this.$confirm('确定要退出吗', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - this.$parent.INSPECTION_ID = '' - this.$parent.activeName = 'List' - }).catch(() => { - }) + this.$parent.INSPECTION_ID = '' + this.$parent.activeName = 'List' }, // 获取整改人列表 getUserList(DEPARTMENT_ID) { diff --git a/src/views/safetyenvironmental/inspection/components/edit.vue b/src/views/safetyenvironmental/inspection/components/edit.vue index f09e271..c229158 100644 --- a/src/views/safetyenvironmental/inspection/components/edit.vue +++ b/src/views/safetyenvironmental/inspection/components/edit.vue @@ -964,15 +964,8 @@ export default { }, goBack() { - this.$confirm(('确定要退出吗?'), { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - this.$parent.INSPECTION_ID = '' - this.$parent.activeName = 'List' - }).catch(() => { - }) + this.$parent.INSPECTION_ID = '' + this.$parent.activeName = 'List' }, // 获取整改人列表 getUserList(DEPARTMENT_ID) { diff --git a/src/views/safetyenvironmental/inspection/components/list.vue b/src/views/safetyenvironmental/inspection/components/list.vue index 652549d..7d38400 100644 --- a/src/views/safetyenvironmental/inspection/components/list.vue +++ b/src/views/safetyenvironmental/inspection/components/list.vue @@ -149,7 +149,7 @@ 查看 流程图 - - @@ -142,39 +140,32 @@ 本年隐患 - -
-
- 待处理 -
-
- {{hdCount.yearUncheck}} -
+
+
+ 待处理
- - -
-
- 已处理 -
-
- {{hdCount.yearChecked}} -
+
+ {{hdCount.yearUncheck}}
- - - -
-
- 隐患整改率 -
-
+
+
+
+ 已处理 +
+
+ {{hdCount.yearChecked}} +
+
+
+
+ 隐患整改率 +
+
{{hdCount.yearTotal==0?0:((hdCount.yearChecked/hdCount.yearTotal*100).toFixed(2))}} - % -
+ %
- +
@@ -185,38 +176,32 @@ 本季隐患
- -
-
- 待处理 -
-
- {{hdCount.quarterUncheck}} -
+
+
+ 待处理
- - -
-
- 已处理 -
-
- {{hdCount.quarterChecked}} -
+
+ {{hdCount.quarterUncheck}}
- - -
-
- 隐患整改率 -
-
- {{hdCount.quarterTotal==0?0:((hdCount.quarterChecked/hdCount.quarterTotal*100).toFixed(2))}} - % -
+
+
+
+ 已处理
- +
+ {{hdCount.quarterChecked}} +
+
+
+
+ 隐患整改率 +
+
+ {{hdCount.quarterTotal==0?0:((hdCount.quarterChecked/hdCount.quarterTotal*100).toFixed(2))}} + % +
+
@@ -227,38 +212,32 @@ 本月隐患
- -
-
- 待处理 -
-
- {{hdCount.monthUncheck}} -
+
+
+ 待处理
- - -
-
- 已处理 -
-
- {{hdCount.monthChecked}} -
+
+ {{hdCount.monthUncheck}}
- - -
-
- 隐患整改率 -
-
- {{hdCount.monthTotal==0?0:((hdCount.monthChecked/hdCount.monthTotal*100).toFixed(2))}} - % -
+
+
+
+ 已处理
- +
+ {{hdCount.monthChecked}} +
+
+
+
+ 隐患整改率 +
+
+ {{hdCount.monthTotal==0?0:((hdCount.monthChecked/hdCount.monthTotal*100).toFixed(2))}} + % +
+
@@ -271,38 +250,32 @@ 本旬隐患
- -
-
- 待处理 -
-
- {{hdCount.xunUncheck}} -
+
+
+ 待处理
- - -
-
- 已处理 -
-
- {{hdCount.xunChecked}} -
+
+ {{hdCount.xunUncheck}}
- - -
-
- 隐患整改率 -
-
- {{hdCount.xunTotal==0?0:((hdCount.xunChecked/hdCount.xunTotal*100).toFixed(2))}} - % -
+
+
+
+ 已处理
- +
+ {{hdCount.xunChecked}} +
+
+
+
+ 隐患整改率 +
+
+ {{hdCount.xunTotal==0?0:((hdCount.xunChecked/hdCount.xunTotal*100).toFixed(2))}} + % +
+
@@ -313,38 +286,32 @@ 本周隐患
- -
-
- 待处理 -
-
- {{hdCount.weekUncheck}} -
+
+
+ 待处理
- - -
-
- 已处理 -
-
- {{hdCount.weekChecked}} -
+
+ {{hdCount.weekUncheck}}
- - -
-
- 隐患整改率 -
-
- {{hdCount.weekTotal==0?0:((hdCount.weekChecked/hdCount.weekTotal*100).toFixed(2))}} - % -
+
+
+
+ 已处理
- +
+ {{hdCount.weekChecked}} +
+
+
+
+ 隐患整改率 +
+
+ {{hdCount.weekTotal==0?0:((hdCount.weekChecked/hdCount.weekTotal*100).toFixed(2))}} + % +
+
@@ -355,38 +322,32 @@ 本日隐患
- -
-
- 待处理 -
-
- {{hdCount.dayUncheck}} -
+
+
+ 待处理
- - -
-
- 已处理 -
-
- {{hdCount.dayChecked}} -
+
+ {{hdCount.dayUncheck}}
- - -
-
- 隐患整改率 -
-
- {{hdCount.dayTotal==0?0:((hdCount.dayChecked/hdCount.dayTotal*100).toFixed(2))}} - % -
+
+
+
+ 已处理
- +
+ {{hdCount.dayChecked}} +
+
+
+
+ 隐患整改率 +
+
+ {{hdCount.dayTotal==0?0:((hdCount.dayChecked/hdCount.dayTotal*100).toFixed(2))}} + % +
+
@@ -1860,135 +1821,135 @@ var vm = new Vue({ }, 2000) }) // 周检查 - // $.ajax({ - // xhrFields: { - // withCredentials: true - // }, - // type: 'POST', - // url: config.httpurl + 'checkrecord/goBiListCount', - // data: { - // COUNTTYPE: 'week', - // tm: new Date().getTime() - // }, - // dataType: 'json', - // success: function(data) { - // if (data.result == 'success') { - // _this.listCountWeek = data.all - // vm.$forceUpdate() // 强制刷新 - // } else if (data.result == 'exception') { - // showException('系统首页', '数据异常') // 显示异常 - // } - // } - // }).done().fail(function() { - // swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') - // setTimeout(function() { - // window.location.href = config.weburl + '#/login' - // }, 2000) - // }) + $.ajax({ + xhrFields: { + withCredentials: true + }, + type: 'POST', + url: config.httpurl + 'checkrecord/goBiListCount', + data: { + COUNTTYPE: 'week', + tm: new Date().getTime() + }, + dataType: 'json', + success: function(data) { + if (data.result == 'success') { + _this.listCountWeek = data.all + vm.$forceUpdate() // 强制刷新 + } else if (data.result == 'exception') { + showException('系统首页', '数据异常') // 显示异常 + } + } + }).done().fail(function() { + swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') + setTimeout(function() { + window.location.href = config.weburl + '#/login' + }, 2000) + }) // 旬检查 - // $.ajax({ - // xhrFields: { - // withCredentials: true - // }, - // type: 'POST', - // url: config.httpurl + 'checkrecord/goBiListCount', - // data: { - // COUNTTYPE: 'xun', - // tm: new Date().getTime() - // }, - // dataType: 'json', - // success: function(data) { - // if (data.result == 'success') { - // _this.listCountXun = data.all - // vm.$forceUpdate() // 强制刷新 - // } else if (data.result == 'exception') { - // showException('系统首页', '数据异常') // 显示异常 - // } - // } - // }).done().fail(function() { - // swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') - // setTimeout(function() { - // window.location.href = config.weburl + '#/login' - // }, 2000) - // }) + $.ajax({ + xhrFields: { + withCredentials: true + }, + type: 'POST', + url: config.httpurl + 'checkrecord/goBiListCount', + data: { + COUNTTYPE: 'xun', + tm: new Date().getTime() + }, + dataType: 'json', + success: function(data) { + if (data.result == 'success') { + _this.listCountXun = data.all + vm.$forceUpdate() // 强制刷新 + } else if (data.result == 'exception') { + showException('系统首页', '数据异常') // 显示异常 + } + } + }).done().fail(function() { + swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') + setTimeout(function() { + window.location.href = config.weburl + '#/login' + }, 2000) + }) // 月检查 - // $.ajax({ - // xhrFields: { - // withCredentials: true - // }, - // type: 'POST', - // url: config.httpurl + 'checkrecord/goBiListCount', - // data: { - // COUNTTYPE: 'month', - // tm: new Date().getTime() - // }, - // dataType: 'json', - // success: function(data) { - // if (data.result == 'success') { - // _this.listCountMonth = data.all - // vm.$forceUpdate() // 强制刷新 - // } else if (data.result == 'exception') { - // showException('系统首页', '数据异常') // 显示异常 - // } - // } - // }).done().fail(function() { - // swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') - // setTimeout(function() { - // window.location.href = config.weburl + '#/login' - // }, 2000) - // }) + $.ajax({ + xhrFields: { + withCredentials: true + }, + type: 'POST', + url: config.httpurl + 'checkrecord/goBiListCount', + data: { + COUNTTYPE: 'month', + tm: new Date().getTime() + }, + dataType: 'json', + success: function(data) { + if (data.result == 'success') { + _this.listCountMonth = data.all + vm.$forceUpdate() // 强制刷新 + } else if (data.result == 'exception') { + showException('系统首页', '数据异常') // 显示异常 + } + } + }).done().fail(function() { + swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') + setTimeout(function() { + window.location.href = config.weburl + '#/login' + }, 2000) + }) // 季检查 - // $.ajax({ - // xhrFields: { - // withCredentials: true - // }, - // type: 'POST', - // url: config.httpurl + 'checkrecord/goBiListCount', - // data: { - // COUNTTYPE: 'quarter', - // tm: new Date().getTime() - // }, - // dataType: 'json', - // success: function(data) { - // if (data.result == 'success') { - // _this.listCountQuarter = data.all - // vm.$forceUpdate() // 强制刷新 - // } else if (data.result == 'exception') { - // showException('系统首页', '数据异常') // 显示异常 - // } - // } - // }).done().fail(function() { - // swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') - // setTimeout(function() { - // window.location.href = config.weburl + '#/login' - // }, 2000) - // }) + $.ajax({ + xhrFields: { + withCredentials: true + }, + type: 'POST', + url: config.httpurl + 'checkrecord/goBiListCount', + data: { + COUNTTYPE: 'quarter', + tm: new Date().getTime() + }, + dataType: 'json', + success: function(data) { + if (data.result == 'success') { + _this.listCountQuarter = data.all + vm.$forceUpdate() // 强制刷新 + } else if (data.result == 'exception') { + showException('系统首页', '数据异常') // 显示异常 + } + } + }).done().fail(function() { + swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') + setTimeout(function() { + window.location.href = config.weburl + '#/login' + }, 2000) + }) // 年检查 - // $.ajax({ - // xhrFields: { - // withCredentials: true - // }, - // type: 'POST', - // url: config.httpurl + 'checkrecord/goBiListCount', - // data: { - // COUNTTYPE: 'year', - // tm: new Date().getTime() - // }, - // dataType: 'json', - // success: function(data) { - // if (data.result == 'success') { - // _this.listCountYear = data.all - // vm.$forceUpdate() // 强制刷新 - // } else if (data.result == 'exception') { - // showException('系统首页', '数据异常') // 显示异常 - // } - // } - // }).done().fail(function() { - // swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') - // setTimeout(function() { - // window.location.href = config.weburl + '#/login' - // }, 2000) - // }) + $.ajax({ + xhrFields: { + withCredentials: true + }, + type: 'POST', + url: config.httpurl + 'checkrecord/goBiListCount', + data: { + COUNTTYPE: 'year', + tm: new Date().getTime() + }, + dataType: 'json', + success: function(data) { + if (data.result == 'success') { + _this.listCountYear = data.all + vm.$forceUpdate() // 强制刷新 + } else if (data.result == 'exception') { + showException('系统首页', '数据异常') // 显示异常 + } + } + }).done().fail(function() { + swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') + setTimeout(function() { + window.location.href = config.weburl + '#/login' + }, 2000) + }) }, // 退出系统