BUG 30981

This commit is contained in:
aixianling
2022-08-29 11:16:25 +08:00
parent c09ead4515
commit bbdd34f0ec
3 changed files with 5 additions and 5 deletions

View File

@@ -43,8 +43,8 @@ export default {
} }
}, },
methods: { methods: {
...mapMutations(['setToken', 'getFinanceUser']), ...mapMutations(['setToken']),
...mapActions(['getUserInfo']), ...mapActions(['getUserInfo', 'getFinanceUser']),
getToken(params) { getToken(params) {
if (params.access_token) { if (params.access_token) {
this.setToken([params.token_type, params.access_token].join(' ')) this.setToken([params.token_type, params.access_token].join(' '))

View File

@@ -135,11 +135,11 @@ export default {
}) })
}, },
getDetail(id) { getDetail(id) {
this.instance.post(`/app/approval-process-def/info-id`, null, {params: {id}}).then(res => { id ? this.instance.post(`/app/approval-process-def/info-id`, null, {params: {id}}).then(res => {
if (res?.data) { if (res?.data) {
this.detailObj = res.data this.detailObj = res.data
} }
}).finally(() => this.loaded = true) }).finally(() => this.loaded = true) : this.loaded = true
}, },
getStepIcon(rowIndex) { getStepIcon(rowIndex) {
if (rowIndex < this.activeStep) return "iconfont iconSteps_Finished" if (rowIndex < this.activeStep) return "iconfont iconSteps_Finished"

View File

@@ -97,7 +97,7 @@ export default {
* 获取分类 * 获取分类
*/ */
getClassification() { getClassification() {
this.instance.post(`/zwspapprovalclassification/list`, null, { this.instance.post(`/app/zwspapprovalclassification/list`, null, {
current: 1, current: 1,
size: 9999 size: 9999
}).then(res => { }).then(res => {