fujunling
2023-06-02 33c8db885ab2b5117c064d064f6e7c7eb0357a1c
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: "78B8C7C5-A042-0B96-FE6D-65421451782A",
      codeClassifyOid: "4524E801-6CC6-92E8-1AC3-2AB9604E8F96",
    };
  },
};
</script>