【修改】 修改流程中心(未完成)
This commit is contained in:
@@ -51,7 +51,6 @@ instance.interceptors.response.use(function (response) {
|
|||||||
// Message.error(response.data.message)
|
// Message.error(response.data.message)
|
||||||
// if (response.data.status == 401) {
|
// if (response.data.status == 401) {
|
||||||
store.commit('savePathUrl', null)
|
store.commit('savePathUrl', null)
|
||||||
store.commit('setHandleProcess', null)
|
|
||||||
// router.push('/login')
|
// router.push('/login')
|
||||||
Message.error(response.data.message)
|
Message.error(response.data.message)
|
||||||
// window.open(BASE_URL.BASE_CHANGAN + "/logout?service=" + BASE_URL.BASE_LOCAL + "/login?loginType=1", '_self');
|
// window.open(BASE_URL.BASE_CHANGAN + "/logout?service=" + BASE_URL.BASE_LOCAL + "/login?loginType=1", '_self');
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
debugger
|
||||||
this.taskId=this.$store.getters.handleProcess.taskId
|
this.taskId=this.$store.getters.handleProcess.taskId
|
||||||
this.prcNum=this.$store.getters.handleProcess.prcNum
|
this.prcNum=this.$store.getters.handleProcess.prcNum
|
||||||
this.prcId=this.$store.getters.handleProcess.prcId
|
this.prcId=this.$store.getters.handleProcess.prcId
|
||||||
|
|||||||
@@ -32,9 +32,9 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<el-row class="agreeBtn">
|
<el-row class="agreeBtn" v-if="isShowbtn">
|
||||||
<el-button @click="permissionApp">批量同意</el-button>
|
<el-button @click="allAgree('yes')">批量同意</el-button>
|
||||||
<el-button @click="permissionApp">批量不同意</el-button>
|
<el-button @click="allAgree('no')">批量不同意</el-button>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
@@ -58,7 +58,7 @@ import tabs from '../userCenter/processCenter/tabs.vue'
|
|||||||
prcNum:'',
|
prcNum:'',
|
||||||
prcName:''
|
prcName:''
|
||||||
},
|
},
|
||||||
|
isShowbtn:this.$store.getters.activeTab =='first'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
@@ -68,16 +68,25 @@ import tabs from '../userCenter/processCenter/tabs.vue'
|
|||||||
this.$bus.$on('clearForm',()=>{
|
this.$bus.$on('clearForm',()=>{
|
||||||
this.form={}
|
this.form={}
|
||||||
});
|
});
|
||||||
|
this.$bus.$on('handleClick',(data)=>{
|
||||||
|
console.log(data)
|
||||||
|
console.log("jjjjdata")
|
||||||
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//查询
|
//查询
|
||||||
search() {
|
search() {
|
||||||
console.log(this.form)
|
console.log(this.form)
|
||||||
this.$bus.$emit('getSearchItem',this.form)
|
this.$bus.$emit('getSearchItem',this.form)
|
||||||
// this.$api.processCenter.search({})
|
// this.$api.processCenter.search({})
|
||||||
},
|
},
|
||||||
//重置
|
//重置
|
||||||
reset(){
|
reset(name){
|
||||||
|
if(name=='first'){
|
||||||
|
this.isShowbtn=true
|
||||||
|
}else{
|
||||||
|
this.isShowbtn=false
|
||||||
|
}
|
||||||
this.form= {
|
this.form= {
|
||||||
prcNum:'',
|
prcNum:'',
|
||||||
prcName:''
|
prcName:''
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleClick(tab, event) {
|
handleClick(tab, event) {
|
||||||
this.$emit('clearForm')
|
this.$emit('clearForm',this.activeName)
|
||||||
this.$store.commit('setActiveTabIndex','')
|
this.$store.commit('setActiveTabIndex','')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user