Commit 0807d4ed authored by 仇晓婷's avatar 仇晓婷

优化文档审核

parent b6825556
......@@ -76,27 +76,37 @@ export default {
entity: {
state: "",
},
avatorPath: "",
downUrl: fileUrlDown,
parms: {
app: "material",
eid: null,
name: "",
field: "",
},
fileds: [],
};
},
created() {
this.parms.eid = this.$u.guid();
this.dataImmut = [];
this.dataMut = [];
Api.get({ Id: this.idVal }).then((r) => {
console.log(r);
// console.log(r);
if (r.success) {
let farmData = {};
farmData = JSON.parse(r.result.formData);
console.log(farmData);
// console.log(farmData);
this.entity = farmData;
this.parms.eid = farmData.filePath;
this.avatorPath = farmData.img;
Api.listbyid({
categoryId: farmData.categoryId,
}).then((r) => {
if (r.result) {
let result = [];
result = r.result.definie.concat(r.result.inherit);
console.log(result);
// console.log(result);
this.fileds = result.filter(function (item) {
item.span = 6;
if (item.dataType > 4) {
......@@ -132,29 +142,6 @@ export default {
};
</script>
<style lang="less">
// .top-title {
// // margin: 10px;
// background: #fff;
// box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
// position: relative;
// border-radius: 5px;
// .row-left {
// width: 1000px;
// }
// ul {
// display: -webkit-inline-box;
// display: inline-box;
// position: absolute;
// bottom: 5px;
// right: 0px;
// li {
// width: 70px;
// span {
// color: #e0e0e0;
// }
// }
// }
// }
.body-document {
margin: 0 20px;
background: #fff;
......@@ -190,7 +177,4 @@ export default {
}
}
}
// .detail-document {
// background-color: #f5f7f9 !important;
// }
</style>
\ No newline at end of file
......@@ -269,6 +269,7 @@ export default {
},
//将schameId转为type1、2、3....
returnType(schemaId) {
console.log(schemaId)
let types = 1;
switch (schemaId) {
case "123327da-42b3-41f6-b785-cf933f137a95": //订单送审
......
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