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

优化文档审核

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