| | |
| | | <template> |
| | | <el-dialog |
| | | :visible.sync="dialogVisible" |
| | | v-if="dialogVisible" |
| | | v-dialogDrag |
| | | top="0vh" |
| | | :title="title" |
| | |
| | | :visible="visible" |
| | | :type="type" |
| | | :rowOid="rowOid" |
| | | :templateOid="templateOid" |
| | | ref="FormTempalte" |
| | | @getFormData="getFormData" |
| | | ></FormTempalte> |
| | |
| | | v-if=" |
| | | type !== 'detail' && |
| | | dialogVisible && |
| | | (showCodeApply || showResembleQuery) |
| | | (showCodeApply || showResembleQuery) && |
| | | type !== 'preview' |
| | | " |
| | | > |
| | | <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick"> |
| | |
| | | <div class="avue-dialog__footer" v-if="type !== 'detail'"> |
| | | <el-button @click="close()">取 消</el-button> |
| | | <el-button @click="submit()" type="primary" :loading="submitBtnLoading" |
| | | >确 定</el-button |
| | | >{{ submitText }}</el-button |
| | | > |
| | | <el-button |
| | | @click="resembleQuerySubmit" |
| | |
| | | type: String, |
| | | default: "", |
| | | }, |
| | | submitText: { |
| | | type: String, |
| | | default: '确 定' |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | methods: { |
| | | openDialog() { |
| | | this.getFormTemplate(); |
| | | this.getCodeRule(); |
| | | if (this.type === 'add') { |
| | | this.getCodeRule(); |
| | | } |
| | | }, |
| | | close() { |
| | | this.dialogVisible = false; |