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