【修改】 修改流程中心(未完成)

This commit is contained in:
zhoulingpo
2023-05-09 18:25:42 +08:00
parent 4c177849d6
commit 4f7f73c5a2
4 changed files with 17 additions and 8 deletions
-1
View File
@@ -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');
+1
View File
@@ -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
+15 -6
View File
@@ -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:''
+1 -1
View File
@@ -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','')
} }
}, },