Merge remote-tracking branch 'origin/master'
| | |
| | | (formItem.secType == "codeattrsec" ? this.add : null) || (this.status === "apply" && formItem.field === "codeStandardEditType" ? "1" : null) || |
| | | (this.status === "amend" && formItem.field === "codeStandardEditType" ? "2" : null) || |
| | | //父组件如果是参照数据会将selectRow置空,selectRow不为空就说明不是参照要回填源标准号数据 |
| | | (this.status === "amend" && this.selectRow && (formItem.field === "oldcode" ? this.selectValue : null)), |
| | | (this.status === "amend" ? (this.selectRow && (formItem.field === "oldcode" ? this.selectValue : null)) : null), |
| | | placeholder: formItem.inputTip, |
| | | comboxKey: formItem.comboxKey, |
| | | tip: formItem.tooltips, |
| | |
| | | :selfColumnType="selfColumnType" |
| | | :type="type" |
| | | :status="status" |
| | | :selectRow="selectRow" |
| | | data-key="codeApplyForm" |
| | | secDTOListv-bind="$attrs" |
| | | @attrList="attrListForm" |
| | |
| | | if (newval.find(item => item.prop === 'id')) { |
| | | this.CodeArray.push(newval.find(item => item.prop === 'id')); |
| | | } else { |
| | | this.CodeArray.push([]); |
| | | // this.CodeArray.push([]); |
| | | this.CodeArray = []; |
| | | } |
| | | this.isCodeArrayPushed = true; |
| | | } |
| | |
| | | <template> |
| | | <template> |
| | | <el-dialog |
| | | title="业务类型" |
| | | :visible.sync="showSubmitDialog" |
| | |
| | | <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"></el-input> |
| | | <el-input v-model="btmType.id" :prefix-icon="icons.key" :disabled="true"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="中文名称" label-width="100px"> |
| | | <el-input v-model="btmType.name" :prefix-icon="icons.name"></el-input> |
| | |
| | | { |
| | | label: '英文名称', |
| | | prop: 'id', |
| | | align: 'center' |
| | | align: 'center', |
| | | disabled:true |
| | | }, { |
| | | label: '中文名称', |
| | | prop: 'name', |
| | |
| | | prop: 'id', |
| | | align: 'left', |
| | | search: true, |
| | | disabled:true, |
| | | width: 230 |
| | | }, { |
| | | label: '中文名称', |
| | |
| | | { |
| | | label: '英文名称', |
| | | prop: 'id', |
| | | disabled:true, |
| | | search: true |
| | | }, |
| | | { |
| | |
| | | { |
| | | label: '英文名称', |
| | | prop: 'id', |
| | | disabled:true, |
| | | search: true |
| | | }, |
| | | { |
| | |
| | | const nodes = res.data.data.nodes.map((item) => { |
| | | item.label = item.id; |
| | | item.index = item.indexNum; |
| | | item.x = Number(item.x); |
| | | item.y = Number(item.y); |
| | | return item; |
| | | }); |
| | | const edges = res.data.data.edges.map((item) => { |