| | |
| | | <el-dialog |
| | | title="业务类型" |
| | | :visible.sync="showSubmitDialog" |
| | | v-loading="loading" |
| | | append-to-body |
| | | @close="closeSubmitDialog" |
| | | width="70%" |
| | |
| | | <el-form ref="form" :model="btmType" show-message="true" inline size="medium" label-suffix=":" class="btmTypeForm" |
| | | :rules="rules" @resetFields="resetForm" status-icon="true"> |
| | | <el-form-item label="英文名称" label-width="100px" required="true" prop="id"> |
| | | <el-input v-model="btmType.id" :prefix-icon="icons.key" :disabled="type !== 'add'"></el-input> |
| | | <el-input v-model="btmType.id" :prefix-icon="icons.key" :disabled="false"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="中文名称" label-width="100px"> |
| | | <el-input v-model="btmType.name" :prefix-icon="icons.name"></el-input> |
| | |
| | | }, |
| | | type: { |
| | | type:String, |
| | | }, |
| | | btmEditType:{ |
| | | type:Object, |
| | | default: {} |
| | | } |
| | | }, |
| | | watch: { |
| | | type: { |
| | | handler(newval, oldval) { |
| | | // console.log('监听', newval) |
| | | }, |
| | | deep: true, |
| | | immediate: true |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | form: {}, |
| | | loading:false, |
| | | showSubmitDialog: false, |
| | | option: { |
| | | height: "330px", |
| | |
| | | // 关闭组件弹窗 |
| | | closeSubmitDialog() { |
| | | this.showSubmitDialog = false; |
| | | this.btmType.attributes = []; |
| | | this.btmType = {}; |
| | | this.attrRef.selectData = []; |
| | | this.attrRef.queryNotIn = null; |
| | | this.resetForm(); |
| | | // this.btmType.attributes = []; |
| | | // this.btmType = {}; |
| | | // this.attrRef.selectData = []; |
| | | // this.attrRef.queryNotIn = null; |
| | | // this.resetForm(); |
| | | }, |
| | | // 关闭属性池查询弹窗 |
| | | closeAttrDialog() { |