art: 设备管理-设备台账-列表、表单优化,无用字段删除
| | |
| | | <span slot="mdcFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否"/> |
| | | </span> |
| | | <span slot="processParametersFlag" slot-scope="text"> |
| | | <!-- <span slot="processParametersFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="有" un-checked-children="无"/> |
| | | </span> |
| | | <span slot="precisionParametersFlag" slot-scope="text"> |
| | | </span>--> |
| | | <!-- <span slot="precisionParametersFlag" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="有" un-checked-children="无"/> |
| | | </span> |
| | | <span slot="specialEquipment" slot-scope="text"> |
| | | </span>--> |
| | | <!-- <span slot="specialEquipment" slot-scope="text"> |
| | | <lx-switch v-model="text" disabled checked-children="是" un-checked-children="否"/> |
| | | </span> |
| | | </span>--> |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click.stop="handleEdit(record)">编辑</a> |
| | | |
| | |
| | | dataIndex: 'mdcFlag', |
| | | scopedSlots: { customRender: 'mdcFlag' } |
| | | }, |
| | | { |
| | | title: '有无工艺参数', |
| | | align: 'center', |
| | | width: 120, |
| | | dataIndex: 'processParametersFlag', |
| | | scopedSlots: { customRender: 'processParametersFlag' } |
| | | }, |
| | | { |
| | | title: '有无精度参数', |
| | | align: 'center', |
| | | width: 120, |
| | | dataIndex: 'precisionParametersFlag', |
| | | scopedSlots: { customRender: 'precisionParametersFlag' } |
| | | }, |
| | | { |
| | | title: '是否为特种设备', |
| | | align: 'center', |
| | | width: 120, |
| | | dataIndex: 'specialEquipment', |
| | | scopedSlots: { customRender: 'specialEquipment' } |
| | | }, |
| | | { |
| | | title: '重量', |
| | | align: 'center', |
| | | dataIndex: 'equipmentWeight' |
| | | }, |
| | | { |
| | | title: '设备端口', |
| | | align: 'center', |
| | | dataIndex: 'equipmentPort' |
| | | }, |
| | | { |
| | | title: '坐标数量', |
| | | align: 'center', |
| | | dataIndex: 'coordinateNum' |
| | | }, |
| | | // { |
| | | // title: '有无工艺参数', |
| | | // align: 'center', |
| | | // width: 120, |
| | | // dataIndex: 'processParametersFlag', |
| | | // scopedSlots: { customRender: 'processParametersFlag' } |
| | | // }, |
| | | // { |
| | | // title: '有无精度参数', |
| | | // align: 'center', |
| | | // width: 120, |
| | | // dataIndex: 'precisionParametersFlag', |
| | | // scopedSlots: { customRender: 'precisionParametersFlag' } |
| | | // }, |
| | | // { |
| | | // title: '是否为特种设备', |
| | | // align: 'center', |
| | | // width: 120, |
| | | // dataIndex: 'specialEquipment', |
| | | // scopedSlots: { customRender: 'specialEquipment' } |
| | | // }, |
| | | // { |
| | | // title: '重量', |
| | | // align: 'center', |
| | | // dataIndex: 'equipmentWeight' |
| | | // }, |
| | | // { |
| | | // title: '设备端口', |
| | | // align: 'center', |
| | | // dataIndex: 'equipmentPort' |
| | | // }, |
| | | // { |
| | | // title: '坐标数量', |
| | | // align: 'center', |
| | | // dataIndex: 'coordinateNum' |
| | | // }, |
| | | { |
| | | title: '创建人', |
| | | align: 'center', |
| | |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="equipmentWeight" label="重量"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入重量'" v-model="model.equipmentWeight" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="equipmentPort" label="设备端口"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入设备端口'" v-model="model.equipmentPort" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="coordinateNum" label="坐标数量"> |
| | | <a-input-number :placeholder="disableSubmit?'':'请输入坐标数量'" v-model="model.coordinateNum" style="width: 100%" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="assetStatus" label="资产状态"> |
| | | <j-dict-select-tag dict-code="asset_status" v-model="model.assetStatus" |
| | | disabled/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 出厂信息 |
| | | </a-divider> |
| | | |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="processParametersFlag" label="有无工艺参数"> |
| | | <lx-switch checked-children='有' un-checked-children='无' v-model="model.processParametersFlag" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="precisionParametersFlag" label="有无精度参数"> |
| | | <lx-switch checked-children='有' un-checked-children='无' v-model="model.precisionParametersFlag" :disabled="disableSubmit"/> |
| | | <a-form-model-item prop="assetStatus" label="资产状态"> |
| | | <j-dict-select-tag dict-code="asset_status" v-model="model.assetStatus" |
| | | disabled/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |