BUG 30981
This commit is contained in:
@@ -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(' '))
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user