fujunling
2023-06-01 2210c590f886d75bc760fa08caa18dd0181026b5
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
<template>
  <div>
    <el-button @click="visible = true">测试</el-button>
    <FormTemplateDialog
      :visible.sync="visible"
      :FormTemplateProp="FormTemplateProp"
      :type="this.type"
      :editForm="editForm"
      :templateOid="this.templateOid"
      :codeClassifyOid="this.codeClassifyOid"
      :disabledProp="disabledProp"
    ></FormTemplateDialog>
  </div>
</template>
codeClassifyOid
 
<script>
export default {
  name: "FormTempalteTest",
  data() {
    return {
      visible: false,
      // 默认禁用的表元素
      disabledProp: ["id"],
      // 修改回显的数据
      editForm: {},
      // 表单类型
      type: "add",
      templateOid: "D32FC682-4376-A148-DF8D-6261206E6412",
      codeClassifyOid: "91E05D2B-FEB2-6D41-5CE5-5B489615A29C",
    };
  },
};
</script>