Commit 1c2741cc authored by 仇晓婷's avatar 仇晓婷

优化文档审核

parent 0807d4ed
......@@ -269,7 +269,7 @@ export default {
},
//将schameId转为type1、2、3....
returnType(schemaId) {
console.log(schemaId)
console.log(schemaId);
let types = 1;
switch (schemaId) {
case "123327da-42b3-41f6-b785-cf933f137a95": //订单送审
......@@ -311,11 +311,8 @@ export default {
case "b6303ddc-8b5e-40a3-a51b-294657d1d913": //物料审批
types = 13;
break;
case "04d67b82-91aa-47a7-b9e3-28cdeec4537e": //文档审批
types = 14;
break;
default:
types = 1;
types = 14;
break;
}
return types;
......
......@@ -354,9 +354,9 @@ export default {
this.$emit("on-close");
},
template() {
// alert(this.treeId);
Api.getcategorytemplate({ cat: this.treeId }).then((r) => {
if (r.result) {
console.log(r.result);
let url = r.result[0].url;
window.open(fileUrlDown + url, "_blank");
}
......@@ -411,14 +411,12 @@ export default {
cursor: pointer;
}
}
.document-add {
.xia-zai {
position: relative;
.a-xiazai {
position: absolute;
top: 7px;
left: 260px;
}
.xia-zai {
position: relative;
.a-xiazai {
position: absolute;
top: 7px;
left: 260px;
}
}
</style>
\ No newline at end of file
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