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