【修改】提交
This commit is contained in:
@@ -87,6 +87,7 @@ export default {
|
|||||||
this.$store.commit('saveUserInfo', null)
|
this.$store.commit('saveUserInfo', null)
|
||||||
this.$store.commit('setHandleProcess', null)
|
this.$store.commit('setHandleProcess', null)
|
||||||
this.$store.commit('savePathUrl', null)
|
this.$store.commit('savePathUrl', null)
|
||||||
|
this.$store.commit('activeTab', null)
|
||||||
this.$store.commit('removeDicts', null)
|
this.$store.commit('removeDicts', null)
|
||||||
localStorage.removeItem('cookie')
|
localStorage.removeItem('cookie')
|
||||||
// var sevice = "http://"+window.location.host+"/";
|
// var sevice = "http://"+window.location.host+"/";
|
||||||
|
|||||||
@@ -1104,7 +1104,6 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
visible (val) {
|
visible (val) {
|
||||||
debugger
|
|
||||||
this.isVisible = val
|
this.isVisible = val
|
||||||
this.tableChecked = null
|
this.tableChecked = null
|
||||||
if (this.maxSelected === 1) {
|
if (this.maxSelected === 1) {
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ instance.interceptors.response.use(function (response) {
|
|||||||
store.commit('savePathUrl', null)
|
store.commit('savePathUrl', null)
|
||||||
store.commit('setHandleProcess', null)
|
store.commit('setHandleProcess', null)
|
||||||
store.commit('removeDicts', null)
|
store.commit('removeDicts', null)
|
||||||
|
store.commit('activeTab', null)
|
||||||
localStorage.removeItem('cookie')
|
localStorage.removeItem('cookie')
|
||||||
router.push('/login')
|
router.push('/login')
|
||||||
Message.error('登录超时过期')
|
Message.error('登录超时过期')
|
||||||
@@ -98,6 +99,7 @@ instance.interceptors.response.use(function (response) {
|
|||||||
store.commit('savePathUrl', null)
|
store.commit('savePathUrl', null)
|
||||||
store.commit('setHandleProcess', null)
|
store.commit('setHandleProcess', null)
|
||||||
store.commit('removeDicts', null)
|
store.commit('removeDicts', null)
|
||||||
|
store.commit('activeTab', null)
|
||||||
localStorage.removeItem('cookie')
|
localStorage.removeItem('cookie')
|
||||||
router.push('/login')
|
router.push('/login')
|
||||||
Message.error('登录超时过期')
|
Message.error('登录超时过期')
|
||||||
|
|||||||
@@ -124,6 +124,7 @@ export default {
|
|||||||
this.$message.warning('暂无权限,请联系管理员授权')
|
this.$message.warning('暂无权限,请联系管理员授权')
|
||||||
this.$store.commit('saveUserInfo', null)
|
this.$store.commit('saveUserInfo', null)
|
||||||
this.$store.commit('setHandleProcess', null)
|
this.$store.commit('setHandleProcess', null)
|
||||||
|
this.$store.commit('activeTab', null)
|
||||||
this.$store.commit('savePathUrl', null)
|
this.$store.commit('savePathUrl', null)
|
||||||
this.$store.commit('removeDicts', null)
|
this.$store.commit('removeDicts', null)
|
||||||
// var sevice = "http://"+window.location.host+"/";
|
// var sevice = "http://"+window.location.host+"/";
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ export default {
|
|||||||
this.$message.warning('暂无权限,请联系管理员授权')
|
this.$message.warning('暂无权限,请联系管理员授权')
|
||||||
this.$store.commit('saveUserInfo', null)
|
this.$store.commit('saveUserInfo', null)
|
||||||
this.$store.commit('setHandleProcess', null)
|
this.$store.commit('setHandleProcess', null)
|
||||||
|
this.$store.commit('activeTab', null)
|
||||||
this.$store.commit('savePathUrl', null)
|
this.$store.commit('savePathUrl', null)
|
||||||
this.$store.commit('removeDicts', null)
|
this.$store.commit('removeDicts', null)
|
||||||
// var sevice = "http://"+window.location.host+"/";
|
// var sevice = "http://"+window.location.host+"/";
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ export default {
|
|||||||
}
|
}
|
||||||
item.reportId = item['id']
|
item.reportId = item['id']
|
||||||
delete item['id']
|
delete item['id']
|
||||||
item.power=''
|
item.power='2'
|
||||||
templateL.push(item)
|
templateL.push(item)
|
||||||
})
|
})
|
||||||
this.tableData=templateL
|
this.tableData=templateL
|
||||||
@@ -315,7 +315,6 @@ export default {
|
|||||||
twoApproveName:item.twoApproveName,
|
twoApproveName:item.twoApproveName,
|
||||||
userId:this.userId,
|
userId:this.userId,
|
||||||
}
|
}
|
||||||
debugger
|
|
||||||
delete item['oneApprove']
|
delete item['oneApprove']
|
||||||
delete item['oneApproveName']
|
delete item['oneApproveName']
|
||||||
delete item['twoApprove']
|
delete item['twoApprove']
|
||||||
@@ -332,7 +331,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 保存
|
// 保存
|
||||||
handleSave(){
|
handleSave(){
|
||||||
debugger
|
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
if(this.tableData.length==0){
|
if(this.tableData.length==0){
|
||||||
this.$message.warning('至少需要选择一条报告数据')
|
this.$message.warning('至少需要选择一条报告数据')
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ import tabs from '../userCenter/processCenter/tabs.vue'
|
|||||||
console.log(data)
|
console.log(data)
|
||||||
this.checkList=data
|
this.checkList=data
|
||||||
});
|
});
|
||||||
|
|
||||||
let name=this.controlNode('RXXTU4A5YN')?'first':''
|
let name=this.controlNode('RXXTU4A5YN')?'first':''
|
||||||
|
|
||||||
this.isShowbtn= name =='first'?true:false
|
this.isShowbtn= name =='first'?true:false
|
||||||
|
|||||||
@@ -55,9 +55,14 @@ export default {
|
|||||||
this.form = JSON.parse(JSON.stringify(data))
|
this.form = JSON.parse(JSON.stringify(data))
|
||||||
console.log(this.form,"hhh")
|
console.log(this.form,"hhh")
|
||||||
})
|
})
|
||||||
let name=this.controlNode('RXXTU4A5YN')?'first':(this.controlNode('NXQ54Q9QP4')?'fourth':'five')
|
if(this.$store.getters.activeTab == ''){
|
||||||
this.$store.commit('setActiveTabIndex',name)
|
let name=this.controlNode('RXXTU4A5YN')?'first':(this.controlNode('NXQ54Q9QP4')?'fourth':'five')
|
||||||
this.activeName=this.$store.getters.activeTab ?this.$store.getters.activeTab:name
|
this.$store.commit('setActiveTabIndex',name)
|
||||||
|
this.activeName=this.$store.getters.activeTab ?this.$store.getters.activeTab:name
|
||||||
|
}else{
|
||||||
|
this.activeName=this.$store.getters.activeTab ?this.$store.getters.activeTab:name
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
controlNode(node) {
|
controlNode(node) {
|
||||||
|
|||||||
Reference in New Issue
Block a user