| | |
| | | <div> |
| | | <avue-form v-model="loneTreeNewForm" :option="option" v-if="flag == 'renonly'"> |
| | | </avue-form> |
| | | <avue-form v-model="loneTreeNewForm" :option="options" @submit="submits" v-else-if="flag == 'edit'"> |
| | | <avue-form v-model="loneTreeNewForm" :option="this.options" @submit="submits" v-else-if="flag == 'edit'"> |
| | | </avue-form> |
| | | <div> |
| | | <!-- 编码规则--> |
| | |
| | | </div> |
| | | </el-dialog> |
| | | <!-- 存储的业务类型--> |
| | | <el-dialog :visible.sync="BtmdialogVisible" title="为【相似项查询规则】选取值" append-to-body> |
| | | <el-dialog :visible.sync="BtmdialogVisible" title="为【业务类型】选取值" append-to-body> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px !important;"> |
| | | <el-option |
| | |
| | | import {TreeEditSave} from '@/api/template/templateAttr' |
| | | export default { |
| | | name: "classifyTreeform.vue", |
| | | props: ['loneTreeNewForm','flag','Editclose'], |
| | | props: ['loneTreeNewForm','flag','Editclose','TreeFlag','nodeClickList'], |
| | | data() { |
| | | return { |
| | | SelectFInd:"", |
| | |
| | | }, |
| | | ] |
| | | }, |
| | | options: { |
| | | column: [ |
| | | { |
| | | label: '主题库/分类编号', |
| | | prop: 'id', |
| | | labelWidth:128, |
| | | rules: [{ |
| | | required: true, |
| | | message: "主题库/分类编号", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label: '主题库/分类名称', |
| | | prop: 'name', |
| | | labelWidth:128, |
| | | rules: [{ |
| | | required: true, |
| | | message: "主题库/分类名称", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label:"描述", |
| | | prop:"description", |
| | | labelWidth:128, |
| | | }, |
| | | { |
| | | label: '存储的业务类型', |
| | | prop: 'btmtypename', |
| | | labelWidth:128, |
| | | focus:this.btmFoucus, |
| | | readonly: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "存储的业务类型", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label:"编码规则", |
| | | prop:"coderuleoidName", |
| | | labelWidth:128, |
| | | focus:this.CodeFoucus, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label:"关键属性查询规则", |
| | | prop:"codekeyattrrepeatoidName", |
| | | labelWidth:128, |
| | | focus:this.Keyfouce, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label:"相似查询规则", |
| | | prop:"codeResembleRuleOidName", |
| | | labelWidth:128, |
| | | focus: this.simFouce, |
| | | readonly: true, |
| | | }, |
| | | |
| | | ] |
| | | }, |
| | | FormList: {}, |
| | | masterSelectList:[], |
| | | KeySelectLIst:[], |
| | |
| | | btmSelectList:[] |
| | | } |
| | | }, |
| | | computed:{ |
| | | options(){ |
| | | return{ |
| | | column: [ |
| | | { |
| | | label: '主题库/分类编号', |
| | | prop: 'id', |
| | | labelWidth:128, |
| | | rules: [{ |
| | | required: true, |
| | | message: "主题库/分类编号", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label: '主题库/分类名称', |
| | | prop: 'name', |
| | | labelWidth:128, |
| | | rules: [{ |
| | | required: true, |
| | | message: "主题库/分类名称", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label:"描述", |
| | | prop:"description", |
| | | labelWidth:128, |
| | | }, |
| | | { |
| | | label: '存储的业务类型', |
| | | prop: 'btmtypename', |
| | | labelWidth:128, |
| | | focus:this.btmFoucus, |
| | | // readonly: true, |
| | | display:this.TreeFlag, |
| | | rules: [{ |
| | | required: true, |
| | | message: "存储的业务类型", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label:"编码规则", |
| | | prop:"coderuleoidName", |
| | | labelWidth:128, |
| | | focus:this.CodeFoucus, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label:"关键属性查询规则", |
| | | prop:"codekeyattrrepeatoidName", |
| | | labelWidth:128, |
| | | focus:this.Keyfouce, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label:"相似查询规则", |
| | | prop:"codeResembleRuleOidName", |
| | | labelWidth:128, |
| | | focus: this.simFouce, |
| | | readonly: true, |
| | | }, |
| | | |
| | | ] |
| | | |
| | | } |
| | | } |
| | | }, |
| | | watch:{ |
| | | nodeClickList:{ |
| | | handler(newval,oldval){ |
| | | console.log('newVal',newval,oldval) |
| | | }, |
| | | deep:true, |
| | | immediate:true |
| | | }, |
| | | TreeFlag:{ |
| | | handler(newval,oldval){ |
| | | console.log('树状态',newval,oldval) |
| | | }, |
| | | deep:true, |
| | | immediate:true |
| | | } |
| | | }, |
| | | created() { |
| | | }, |
| | | methods: { |