1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
| <template>
| <avue-form v-model="TreeNewForm" :option="option" @submit="submit">
| </avue-form>
|
| </template>
|
| <script>
| export default {
| name: "classifyTreeform.vue",
| props: ["TreeNewForm"],
| data() {
| return {
| form: {
| name: "哈哈",
| sex: "男"
| },
| option: {
| column: [
| {
| label: '主题库/分类编号',
| prop: 'btmtypeid',
| labelWidth:128,
| readonly: true,
| rules: [{
| required: true,
| message: "主题库/分类编号",
| trigger: "blur"
| }]
| },
| {
| label: '主题库/分类名称',
| prop: 'name',
| readonly: true,
| labelWidth:128,
| rules: [{
| required: true,
| message: "主题库/分类名称",
| trigger: "blur"
| }]
| },
| {
| label:"描述",
| prop:"description"
| },
| {
| label: '存储的业务类型',
| prop: 'btmtypename',
| labelWidth:128,
| readonly: true,
| rules: [{
| required: true,
| message: "存储的业务类型",
| trigger: "blur"
| }]
| },
| {
| label:"编码规则",
| prop:"coderuleoidName"
| },
| {
| label:"忽略大小写查重",
| prop:"codekeyattrrepeatoidName",
| labelWidth:128,
| },
| {
| label:"相似查询规则",
| prop:"codeResembleRuleOidName",
| labelWidth:100,
| },
| ]
| },
| FormList: {}
| }
| },
| methods: {
| submit(form, done) {
| this.$message.success(JSON.stringify(form));
| done()
| },
| error(err) {
| this.$message.success('请查看控制台');
| console.log(err)
| }
| }
| }
| </script>
|
| <style scoped>
|
| </style>
|
|