Commit f2068c4b authored by 仇晓婷's avatar 仇晓婷

物料流程判断修改

parent 226a292f
......@@ -32,7 +32,7 @@ export default {
batchstart(params) {
return Api.post(`${workflowUrl}/instance/batchstart`, params); //送审
},
getSchema(params) {
return Api.get(`${workflowUrl}/schema/get`, params); //流程
getbyid(params) {
return Api.get(`${workflowUrl}/schema/getbyid`, params); //流程
},
}
\ No newline at end of file
......@@ -207,7 +207,7 @@ export default {
} else {
this.initCols();
}
Api.getSchema({
Api.getbyid({
id: "b6303ddc-8b5e-40a3-a51b-294657d1d913"
}).then(r => {
this.status = r.result.status; //status为0的话为启用,有送审,为1的话,流程是禁用的,没有送审按钮
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment