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