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: {
...mapMutations(['setToken', 'getFinanceUser']),
...mapActions(['getUserInfo']),
...mapMutations(['setToken']),
...mapActions(['getUserInfo', 'getFinanceUser']),
getToken(params) {
if (params.access_token) {
this.setToken([params.token_type, params.access_token].join(' '))

View File

@@ -135,11 +135,11 @@ export default {
})
},
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) {
this.detailObj = res.data
}
}).finally(() => this.loaded = true)
}).finally(() => this.loaded = true) : this.loaded = true
},
getStepIcon(rowIndex) {
if (rowIndex < this.activeStep) return "iconfont iconSteps_Finished"

View File

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