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