| | |
| | | <div> |
| | | <el-button @click="visible = true">测试</el-button> |
| | | <el-button @click="visible1 = true">相似项查询</el-button> |
| | | <el-button @click="visible3 = true">批量导入</el-button> |
| | | <el-button @click="visible2 = true">附件管理dialog</el-button> |
| | | <FormTemplateDialog |
| | | :visible.sync="visible" |
| | |
| | | :codeClassifyOid="this.codeClassifyOid" |
| | | :codeRuleOid="this.codeRuleOid" |
| | | ></ResembleQueryDialog> |
| | | <BatchImport |
| | | :visible="visible3" |
| | | type="historyImport" |
| | | :downloadTemplateFun="downloadTemplateFun" |
| | | ></BatchImport> |
| | | <fileInHtml :options="{}"></fileInHtml> |
| | | <fileinDialog |
| | | :visible="visible2" |
| | | :options="{}" |
| | | @close="visible2=false" |
| | | @close="visible2 = false" |
| | | ></fileinDialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ResembleQueryDialog from '@/components/FormTemplate/ResembleQueryDialog.vue'; |
| | | import fileInHtml from '@/components/file/inHtml.vue'; |
| | | import fileinDialog from '@/components/file/inDialog.vue'; |
| | | import ResembleQueryDialog from "@/components/FormTemplate/ResembleQueryDialog.vue"; |
| | | import fileInHtml from "@/components/file/inHtml.vue"; |
| | | import fileinDialog from "@/components/file/inDialog.vue"; |
| | | import BatchImport from "@/components/BatchImport"; |
| | | export default { |
| | | name: "FormTempalteTest", |
| | | components: { ResembleQueryDialog ,fileInHtml ,fileinDialog}, |
| | | components: { ResembleQueryDialog, fileInHtml, fileinDialog, BatchImport }, |
| | | data() { |
| | | return { |
| | | visible: false, |
| | | visible1: false, |
| | | visible2: false, |
| | | visible3: false, |
| | | // 默认禁用的表元素 |
| | | disabledProp: ["id", 'lcstatus'], |
| | | disabledProp: ["id", "lcstatus"], |
| | | // 表单类型 |
| | | type: "add", |
| | | templateOid: "78B8C7C5-A042-0B96-FE6D-65421451782A", |
| | | codeClassifyOid: "4524E801-6CC6-92E8-1AC3-2AB9604E8F96", |
| | | codeRuleOid: "B95872A6-9CEA-D490-8F1B-9D26548CAF96", |
| | | rowOid: '6EF696C3-CD87-0E7C-1EA1-8DE3913A95C9' |
| | | rowOid: "6EF696C3-CD87-0E7C-1EA1-8DE3913A95C9", |
| | | }; |
| | | }, |
| | | methods: { |
| | | submit(data) { |
| | | console.log(data); |
| | | }, |
| | | downloadTemplateFun() { |
| | | |
| | | } |
| | | } |
| | | }, |
| | | }; |
| | | </script> |