|
|
|
@ -100,6 +100,7 @@ export default { |
|
|
|
|
currentPage: 1, |
|
|
|
|
systemId: this.$route.query.systemId, |
|
|
|
|
systemName: this.$route.query.systemName, |
|
|
|
|
isProcess: false, // 是否是流程类 |
|
|
|
|
multipleSelection:[], |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
@ -117,6 +118,7 @@ export default { |
|
|
|
|
console.log('当前地址=', location.host); |
|
|
|
|
console.log("token=", this.$route.query.token) |
|
|
|
|
console.log("systemId=", this.$route.query.systemId) |
|
|
|
|
this.isProcess = this.systemId == 11 || this.systemId == 12 |
|
|
|
|
// sessionStorage.setItem('token',this.$route.query.token) |
|
|
|
|
this.$route.query.token && this.$store.commit('setParam', { |
|
|
|
|
token: atob(decodeURI(this.$route.query.token)), |
|
|
|
@ -140,7 +142,7 @@ export default { |
|
|
|
|
pageSize: this.pageSize, |
|
|
|
|
systemId: this.systemId |
|
|
|
|
}; |
|
|
|
|
if (this.systemId == 11) { |
|
|
|
|
if (this.isProcess) { |
|
|
|
|
// (流程)交易类 |
|
|
|
|
this.getProcessClassData(params); |
|
|
|
|
} else { |
|
|
|
@ -186,7 +188,7 @@ export default { |
|
|
|
|
type: "warning", |
|
|
|
|
center: true |
|
|
|
|
}).then(() => { |
|
|
|
|
if (this.systemId == 11) { |
|
|
|
|
if (this.isProcess) { |
|
|
|
|
// 交易类 |
|
|
|
|
this.$post(`${this.api.deleteJudgmentPoint}?ids=${lcIdList}`).then(res => { |
|
|
|
|
if (res.status === 200) { |
|
|
|
@ -248,7 +250,7 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
HomepageJump() { //新增 |
|
|
|
|
if (this.systemId == 11) { |
|
|
|
|
if (this.isProcess) { |
|
|
|
|
// 交易类 |
|
|
|
|
this.$router.push(`Transaction?isAdd=true&systemId=${this.systemId}`); |
|
|
|
|
} else { |
|
|
|
@ -257,7 +259,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
handleEdit(row) { // 编辑 |
|
|
|
|
if (this.systemId == 11) { |
|
|
|
|
if (this.isProcess) { |
|
|
|
|
// 交易类 |
|
|
|
|
this.$router.push(`Transaction?isEdit=true&systemId=${this.systemId}&lcId=${row.lcId}`); |
|
|
|
|
} else { |
|
|
|
@ -272,7 +274,7 @@ export default { |
|
|
|
|
type: "warning", |
|
|
|
|
center: true |
|
|
|
|
}).then(() => { |
|
|
|
|
if (this.systemId == 11) { |
|
|
|
|
if (this.isProcess) { |
|
|
|
|
// 交易类 |
|
|
|
|
this.$post(`${this.api.deleteJudgmentPoint}?ids=${row.lcId}`).then(res => { |
|
|
|
|
if (res.status === 200) { |
|
|
|
@ -302,7 +304,7 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
changeSwitch(row) { // 更新是否启用 |
|
|
|
|
if (this.systemId == 11) { |
|
|
|
|
if (this.isProcess) { |
|
|
|
|
// 交易类 |
|
|
|
|
this.$get(`${this.api.updateIsOpen}?isOpen=${row.isOpen}&lcId=${row.lcId}`).then(res => { |
|
|
|
|
if (res.status === 200) { |
|
|
|
|