| | |
| | | <div>
|
| | | <el-button @click="visible = true">测试</el-button>
|
| | | <el-button @click="visible1 = true">相似项查询</el-button>
|
| | | <el-button @click="visible2 = true">附件管理dialog</el-button> |
| | | <FormTemplateDialog
|
| | | :visible.sync="visible"
|
| | | :type="this.type"
|
| | |
| | | :codeClassifyOid="this.codeClassifyOid"
|
| | | :codeRuleOid="this.codeRuleOid"
|
| | | ></ResembleQueryDialog>
|
| | | <fileInHtml :options="{}"></fileInHtml> |
| | | <fileinDialog |
| | | :visible="visible2" |
| | | :options="{}" |
| | | @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'; |
| | | export default {
|
| | | name: "FormTempalteTest",
|
| | | components: { ResembleQueryDialog },
|
| | | components: { ResembleQueryDialog ,fileInHtml ,fileinDialog}, |
| | | data() {
|
| | | return {
|
| | | visible: false,
|
| | | visible1: false,
|
| | | visible2: false, |
| | | // 默认禁用的表元素
|
| | | disabledProp: ["id", 'lcstatus'],
|
| | | // 表单类型
|
| | | type: "add",
|
| | | templateOid: "A12826E4-2B66-6D56-DE30-92BB1D7F607F",
|
| | | codeClassifyOid: "D9CF223F-317D-71EB-BD11-433A94CAD9F3",
|
| | | templateOid: "78B8C7C5-A042-0B96-FE6D-65421451782A", |
| | | codeClassifyOid: "4524E801-6CC6-92E8-1AC3-2AB9604E8F96", |
| | | codeRuleOid: "B95872A6-9CEA-D490-8F1B-9D26548CAF96",
|
| | | rowOid: '6EF696C3-CD87-0E7C-1EA1-8DE3913A95C9'
|
| | | };
|