Commit 59c761c8 authored by 仇晓婷's avatar 仇晓婷

文档分类设置字典

parent f28c5af8
......@@ -69,7 +69,7 @@
<Input v-model="entity.templateId"></Input>
</FormItem>
</Col>-->
<Col :span="24" v-if="inherit==0">
<Col :span="24" v-if="inherit == 0">
<Divider orientation="left">扩展属性</Divider>
<Table :columns="columns" :data="checkList" border>
<template slot-scope="{ row, index }" slot="title">
......@@ -164,7 +164,7 @@ export default {
name: "Add",
data() {
return {
disabled: false,
codeList: [],
entity: {
creatorUserId: this.$store.state.userInfo.userId,
name: "",
......@@ -317,14 +317,19 @@ export default {
eid: Number,
},
mounted() {
// if (this.eid > 0) {
// this.load(this.eid);
// }
console.log(this.row);
this.tebleSet();
// console.log(this.row);
this.parms.eid = this.$u.guid();
this.$refs.refFile.intFiles();
},
methods: {
tebleSet() {
Api.getChildren({ id: 582 }).then((r) => {
if (r.result) {
this.codeList = r.result;
}
});
},
addNew() {
let maxId = 0;
this.checkList.map((u) => {
......
......@@ -24,5 +24,8 @@ export default {
list(params){
return Api.post(`${material}/documentpropertydefinition/list`,params);
},
getChildren(params){
return Api.get(`${systemUrl}/Dictionary/getChildren`,params); //字典
},
}
\ 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