企业端安全环保检查确认时退出验证已关闭、其他页面二次退出验证也已经关闭

2024年2月1日V1.0.53
limingyu 2024-02-05 16:09:28 +08:00
parent d12840b2f7
commit b371d51094
6 changed files with 282 additions and 342 deletions

View File

@ -206,17 +206,17 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- <el-row>--> <el-row>
<!-- <el-col :span="12">--> <el-col :span="12">
<!-- <el-form-item label="四色图类型">--> <el-form-item label="四色图类型">
<!-- <template>--> <template>
<!-- <el-radio v-model="form.FOURTYPE" label="1"></el-radio>--> <el-radio v-model="form.FOURTYPE" label="1"></el-radio>
<!-- <el-radio v-model="form.FOURTYPE" label="2">3D</el-radio>--> <el-radio v-model="form.FOURTYPE" label="2">3D</el-radio>
<!-- </template>--> </template>
<!-- </el-form-item>--> </el-form-item>
<!-- </el-col>--> </el-col>
<!-- </el-row>--> </el-row>
<el-row v-if="form.FOURTYPE==='1'"> <el-row v-if="form.FOURTYPE=='1'">
<el-col :span="24"> <el-col :span="24">
<div class="lh-1"> <div class="lh-1">
<el-form-item label="四色图"> <el-form-item label="四色图">
@ -258,7 +258,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-else-if="form.FOURTYPE==='2'"> <el-row v-else-if="form.FOURTYPE=='2'">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="四色图"> <el-form-item label="四色图">
<span v-if="form.FFILE">{{ form.FFILE.name }}</span> <span v-if="form.FFILE">{{ form.FFILE.name }}</span>
@ -1077,14 +1077,7 @@ export default {
// map.addOverlay(marker) // // map.addOverlay(marker) //
}, },
goBack() { goBack() {
this.$confirm('确定要退出吗?', { this.$parent.activeName = 'corpView'
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$parent.activeName = 'corpView'
}).catch(() => {
})
}, },
handleChangeIMGFour(file, fileList) { handleChangeIMGFour(file, fileList) {
const types = ['image/jpeg', 'image/jpg', 'image/png'] const types = ['image/jpeg', 'image/jpg', 'image/png']

View File

@ -142,7 +142,7 @@
</el-col> </el-col>
</td> </td>
</tr> </tr>
<tr v-if="HIDDENLEVEL !='jdyh001' && HIDDENLEVEL !='hiddenLevel2002' && HIDDENLEVEL != '' && HIDDENLEVEL != 'hiddenLevel1001'"> <tr v-if="HIDDENLEVEL !='jdyh001' && HIDDENLEVEL !='hiddenLevel2002' && HIDDENLEVEL != '' ">
<td class="tbg">整改期限</td> <td class="tbg">整改期限</td>
<td> <td>
<el-col :span="24"> <el-col :span="24">
@ -150,7 +150,7 @@
</el-col> </el-col>
</td> </td>
</tr> </tr>
<tr v-if="HIDDENLEVEL !='jdyh001' && HIDDENLEVEL !='hiddenLevel2002' && HIDDENLEVEL != '' && HIDDENLEVEL != 'hiddenLevel1001'"> <tr v-if="HIDDENLEVEL !='jdyh001' && HIDDENLEVEL !='hiddenLevel2002' && HIDDENLEVEL != ''">
<td class="tbg">整改负责人</td> <td class="tbg">整改负责人</td>
<td> <td>
<el-col :span="12"> <el-col :span="12">
@ -175,7 +175,7 @@
<td class="tbg">隐患确认人</td> <td class="tbg">隐患确认人</td>
<td>{{ pd.conUserName }}</td> <td>{{ pd.conUserName }}</td>
</tr> </tr>
<tr v-if="HIDDENLEVEL != 'hiddenLevel1001'"> <tr>
<td class="tbg">隐患确认时间</td> <td class="tbg">隐患确认时间</td>
<td> <td>
<el-col :span="24"> <el-col :span="24">

View File

@ -957,15 +957,8 @@ export default {
}, },
goBack() { goBack() {
this.$confirm('确定要退出吗', { this.$parent.INSPECTION_ID = ''
confirmButtonText: '确定', this.$parent.activeName = 'List'
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$parent.INSPECTION_ID = ''
this.$parent.activeName = 'List'
}).catch(() => {
})
}, },
// //
getUserList(DEPARTMENT_ID) { getUserList(DEPARTMENT_ID) {

View File

@ -964,15 +964,8 @@ export default {
}, },
goBack() { goBack() {
this.$confirm(('确定要退出吗?'), { this.$parent.INSPECTION_ID = ''
confirmButtonText: '确定', this.$parent.activeName = 'List'
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$parent.INSPECTION_ID = ''
this.$parent.activeName = 'List'
}).catch(() => {
})
}, },
// //
getUserList(DEPARTMENT_ID) { getUserList(DEPARTMENT_ID) {

View File

@ -149,7 +149,7 @@
<el-button icon="el-icon-view" size="mini" @click="goDetail(row)"></el-button> <el-button icon="el-icon-view" size="mini" @click="goDetail(row)"></el-button>
<el-button type="success" icon="el-icon-view" size="mini" @click="checkFlow(row)"></el-button> <el-button type="success" icon="el-icon-view" size="mini" @click="checkFlow(row)"></el-button>
<el-button <el-button
v-show="edit && ( row.INSPECTION_STATUS == '-1') && loginUserId == row.INSPECTION_ORIGINATOR_ID" v-show="edit && ( row.INSPECTION_STATUS == '-1')"
type="primary" type="primary"
icon="el-icon-edit" icon="el-icon-edit"
size="mini" size="mini"

View File

@ -13,8 +13,6 @@
<script src="./js/ezuikit.js"></script> <script src="./js/ezuikit.js"></script>
<script src="./swiper-master/package/swiper-bundle.min.js"></script> <script src="./swiper-master/package/swiper-bundle.min.js"></script>
<script src="https://statics.ys7.com/openweb/common/scripts/jquery-39b5fb0510.cookie.js"></script> <script src="https://statics.ys7.com/openweb/common/scripts/jquery-39b5fb0510.cookie.js"></script>
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/dist/echarts.min.js"></script> <!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/dist/echarts.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl@1/dist/echarts-gl.min.js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl@1/dist/echarts-gl.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat@1/dist/ecStat.min.js"></script> --> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat@1/dist/ecStat.min.js"></script> -->
@ -142,39 +140,32 @@
本年隐患 本年隐患
</div> </div>
</div> </div>
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 待处理
待处理
</div>
<div class="color-blue f22">
{{hdCount.yearUncheck}}
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top"> {{hdCount.yearUncheck}}
<div class="task-text">
<div class="title">
已处理
</div>
<div class="color-blue f22">
{{hdCount.yearChecked}}
</div>
</div> </div>
</el-tooltip> </div>
<div class="task-text">
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top"> <div class="title">
<div class="task-text"> 已处理
<div class="title"> </div>
隐患整改率 <div class="color-blue f22">
</div> {{hdCount.yearChecked}}
<div class="color-org"> </div>
</div>
<div class="task-text">
<div class="title">
隐患整改率
</div>
<div class="color-org">
<span <span
class="f22">{{hdCount.yearTotal==0?0:((hdCount.yearChecked/hdCount.yearTotal*100).toFixed(2))}}</span> class="f22">{{hdCount.yearTotal==0?0:((hdCount.yearChecked/hdCount.yearTotal*100).toFixed(2))}}</span>
<span class="f14">%</span> <span class="f14">%</span>
</div>
</div> </div>
</el-tooltip> </div>
</div> </div>
<div class="task-item"> <div class="task-item">
<div class="task-textsp"> <div class="task-textsp">
@ -185,38 +176,32 @@
本季隐患 本季隐患
</div> </div>
</div> </div>
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 待处理
待处理
</div>
<div class="color-blue f22">
{{hdCount.quarterUncheck}}
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top"> {{hdCount.quarterUncheck}}
<div class="task-text">
<div class="title">
已处理
</div>
<div class="color-blue f22">
{{hdCount.quarterChecked}}
</div>
</div> </div>
</el-tooltip> </div>
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 已处理
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.quarterTotal==0?0:((hdCount.quarterChecked/hdCount.quarterTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
{{hdCount.quarterChecked}}
</div>
</div>
<div class="task-text">
<div class="title">
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.quarterTotal==0?0:((hdCount.quarterChecked/hdCount.quarterTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div>
</div> </div>
<div class="task-item"> <div class="task-item">
<div class="task-textsp"> <div class="task-textsp">
@ -227,38 +212,32 @@
本月隐患 本月隐患
</div> </div>
</div> </div>
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 待处理
待处理
</div>
<div class="color-blue f22">
{{hdCount.monthUncheck}}
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top"> {{hdCount.monthUncheck}}
<div class="task-text">
<div class="title">
已处理
</div>
<div class="color-blue f22">
{{hdCount.monthChecked}}
</div>
</div> </div>
</el-tooltip> </div>
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 已处理
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.monthTotal==0?0:((hdCount.monthChecked/hdCount.monthTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
{{hdCount.monthChecked}}
</div>
</div>
<div class="task-text">
<div class="title">
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.monthTotal==0?0:((hdCount.monthChecked/hdCount.monthTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
@ -271,38 +250,32 @@
本旬隐患 本旬隐患
</div> </div>
</div> </div>
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 待处理
待处理
</div>
<div class="color-blue f22">
{{hdCount.xunUncheck}}
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top"> {{hdCount.xunUncheck}}
<div class="task-text">
<div class="title">
已处理
</div>
<div class="color-blue f22">
{{hdCount.xunChecked}}
</div>
</div> </div>
</el-tooltip> </div>
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 已处理
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.xunTotal==0?0:((hdCount.xunChecked/hdCount.xunTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
{{hdCount.xunChecked}}
</div>
</div>
<div class="task-text">
<div class="title">
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.xunTotal==0?0:((hdCount.xunChecked/hdCount.xunTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div>
</div> </div>
<div class="task-item"> <div class="task-item">
<div class="task-textsp"> <div class="task-textsp">
@ -313,38 +286,32 @@
本周隐患 本周隐患
</div> </div>
</div> </div>
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 待处理
待处理
</div>
<div class="color-blue f22">
{{hdCount.weekUncheck}}
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top"> {{hdCount.weekUncheck}}
<div class="task-text">
<div class="title">
已处理
</div>
<div class="color-blue f22">
{{hdCount.weekChecked}}
</div>
</div> </div>
</el-tooltip> </div>
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 已处理
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.weekTotal==0?0:((hdCount.weekChecked/hdCount.weekTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
{{hdCount.weekChecked}}
</div>
</div>
<div class="task-text">
<div class="title">
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.weekTotal==0?0:((hdCount.weekChecked/hdCount.weekTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div>
</div> </div>
<div class="task-item"> <div class="task-item">
<div class="task-textsp"> <div class="task-textsp">
@ -355,38 +322,32 @@
本日隐患 本日隐患
</div> </div>
</div> </div>
<el-tooltip class="item" effect="dark" content="本周期除已验收、已归档的重大隐患、忽略隐患及重大隐患以外的数量" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 待处理
待处理
</div>
<div class="color-blue f22">
{{hdCount.dayUncheck}}
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
<el-tooltip class="item" effect="dark" content="本周期已验收、已归档的重大隐患、忽略隐患及重大隐患的数量" placement="top"> {{hdCount.dayUncheck}}
<div class="task-text">
<div class="title">
已处理
</div>
<div class="color-blue f22">
{{hdCount.dayChecked}}
</div>
</div> </div>
</el-tooltip> </div>
<el-tooltip class="item" effect="dark" content="(本周期已处理/(本周期待处理+本周期已处理))*100%" placement="top"> <div class="task-text">
<div class="task-text"> <div class="title">
<div class="title"> 已处理
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.dayTotal==0?0:((hdCount.dayChecked/hdCount.dayTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div> </div>
</el-tooltip> <div class="color-blue f22">
{{hdCount.dayChecked}}
</div>
</div>
<div class="task-text">
<div class="title">
隐患整改率
</div>
<div class="color-org">
<span
class="f22">{{hdCount.dayTotal==0?0:((hdCount.dayChecked/hdCount.dayTotal*100).toFixed(2))}}</span>
<span class="f14">%</span>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -1860,135 +1821,135 @@ var vm = new Vue({
}, 2000) }, 2000)
}) })
// 周检查 // 周检查
// $.ajax({ $.ajax({
// xhrFields: { xhrFields: {
// withCredentials: true withCredentials: true
// }, },
// type: 'POST', type: 'POST',
// url: config.httpurl + 'checkrecord/goBiListCount', url: config.httpurl + 'checkrecord/goBiListCount',
// data: { data: {
// COUNTTYPE: 'week', COUNTTYPE: 'week',
// tm: new Date().getTime() tm: new Date().getTime()
// }, },
// dataType: 'json', dataType: 'json',
// success: function(data) { success: function(data) {
// if (data.result == 'success') { if (data.result == 'success') {
// _this.listCountWeek = data.all _this.listCountWeek = data.all
// vm.$forceUpdate() // 强制刷新 vm.$forceUpdate() // 强制刷新
// } else if (data.result == 'exception') { } else if (data.result == 'exception') {
// showException('系统首页', '数据异常') // 显示异常 showException('系统首页', '数据异常') // 显示异常
// } }
// } }
// }).done().fail(function() { }).done().fail(function() {
// swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') swal('登录失效!', '请求服务器无响应,稍后再试', 'warning')
// setTimeout(function() { setTimeout(function() {
// window.location.href = config.weburl + '#/login' window.location.href = config.weburl + '#/login'
// }, 2000) }, 2000)
// }) })
// 旬检查 // 旬检查
// $.ajax({ $.ajax({
// xhrFields: { xhrFields: {
// withCredentials: true withCredentials: true
// }, },
// type: 'POST', type: 'POST',
// url: config.httpurl + 'checkrecord/goBiListCount', url: config.httpurl + 'checkrecord/goBiListCount',
// data: { data: {
// COUNTTYPE: 'xun', COUNTTYPE: 'xun',
// tm: new Date().getTime() tm: new Date().getTime()
// }, },
// dataType: 'json', dataType: 'json',
// success: function(data) { success: function(data) {
// if (data.result == 'success') { if (data.result == 'success') {
// _this.listCountXun = data.all _this.listCountXun = data.all
// vm.$forceUpdate() // 强制刷新 vm.$forceUpdate() // 强制刷新
// } else if (data.result == 'exception') { } else if (data.result == 'exception') {
// showException('系统首页', '数据异常') // 显示异常 showException('系统首页', '数据异常') // 显示异常
// } }
// } }
// }).done().fail(function() { }).done().fail(function() {
// swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') swal('登录失效!', '请求服务器无响应,稍后再试', 'warning')
// setTimeout(function() { setTimeout(function() {
// window.location.href = config.weburl + '#/login' window.location.href = config.weburl + '#/login'
// }, 2000) }, 2000)
// }) })
// 月检查 // 月检查
// $.ajax({ $.ajax({
// xhrFields: { xhrFields: {
// withCredentials: true withCredentials: true
// }, },
// type: 'POST', type: 'POST',
// url: config.httpurl + 'checkrecord/goBiListCount', url: config.httpurl + 'checkrecord/goBiListCount',
// data: { data: {
// COUNTTYPE: 'month', COUNTTYPE: 'month',
// tm: new Date().getTime() tm: new Date().getTime()
// }, },
// dataType: 'json', dataType: 'json',
// success: function(data) { success: function(data) {
// if (data.result == 'success') { if (data.result == 'success') {
// _this.listCountMonth = data.all _this.listCountMonth = data.all
// vm.$forceUpdate() // 强制刷新 vm.$forceUpdate() // 强制刷新
// } else if (data.result == 'exception') { } else if (data.result == 'exception') {
// showException('系统首页', '数据异常') // 显示异常 showException('系统首页', '数据异常') // 显示异常
// } }
// } }
// }).done().fail(function() { }).done().fail(function() {
// swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') swal('登录失效!', '请求服务器无响应,稍后再试', 'warning')
// setTimeout(function() { setTimeout(function() {
// window.location.href = config.weburl + '#/login' window.location.href = config.weburl + '#/login'
// }, 2000) }, 2000)
// }) })
// 季检查 // 季检查
// $.ajax({ $.ajax({
// xhrFields: { xhrFields: {
// withCredentials: true withCredentials: true
// }, },
// type: 'POST', type: 'POST',
// url: config.httpurl + 'checkrecord/goBiListCount', url: config.httpurl + 'checkrecord/goBiListCount',
// data: { data: {
// COUNTTYPE: 'quarter', COUNTTYPE: 'quarter',
// tm: new Date().getTime() tm: new Date().getTime()
// }, },
// dataType: 'json', dataType: 'json',
// success: function(data) { success: function(data) {
// if (data.result == 'success') { if (data.result == 'success') {
// _this.listCountQuarter = data.all _this.listCountQuarter = data.all
// vm.$forceUpdate() // 强制刷新 vm.$forceUpdate() // 强制刷新
// } else if (data.result == 'exception') { } else if (data.result == 'exception') {
// showException('系统首页', '数据异常') // 显示异常 showException('系统首页', '数据异常') // 显示异常
// } }
// } }
// }).done().fail(function() { }).done().fail(function() {
// swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') swal('登录失效!', '请求服务器无响应,稍后再试', 'warning')
// setTimeout(function() { setTimeout(function() {
// window.location.href = config.weburl + '#/login' window.location.href = config.weburl + '#/login'
// }, 2000) }, 2000)
// }) })
// 年检查 // 年检查
// $.ajax({ $.ajax({
// xhrFields: { xhrFields: {
// withCredentials: true withCredentials: true
// }, },
// type: 'POST', type: 'POST',
// url: config.httpurl + 'checkrecord/goBiListCount', url: config.httpurl + 'checkrecord/goBiListCount',
// data: { data: {
// COUNTTYPE: 'year', COUNTTYPE: 'year',
// tm: new Date().getTime() tm: new Date().getTime()
// }, },
// dataType: 'json', dataType: 'json',
// success: function(data) { success: function(data) {
// if (data.result == 'success') { if (data.result == 'success') {
// _this.listCountYear = data.all _this.listCountYear = data.all
// vm.$forceUpdate() // 强制刷新 vm.$forceUpdate() // 强制刷新
// } else if (data.result == 'exception') { } else if (data.result == 'exception') {
// showException('系统首页', '数据异常') // 显示异常 showException('系统首页', '数据异常') // 显示异常
// } }
// } }
// }).done().fail(function() { }).done().fail(function() {
// swal('登录失效!', '请求服务器无响应,稍后再试', 'warning') swal('登录失效!', '请求服务器无响应,稍后再试', 'warning')
// setTimeout(function() { setTimeout(function() {
// window.location.href = config.weburl + '#/login' window.location.href = config.weburl + '#/login'
// }, 2000) }, 2000)
// }) })
}, },
// 退出系统 // 退出系统