| | |
| | | <template> |
| | | <a-card |
| | | title="维修工单" |
| | | title="维修" |
| | | :bordered="false" |
| | | > |
| | | <div class="table-page-search-wrapper"> |
| | |
| | | layout="inline" |
| | | @keyup.enter.native="searchQuery" |
| | | > |
| | | <a-row :gutter="24" style="margin-bottom: 1%;"> |
| | | <a-col |
| | | :xl="24" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="统一编号群"> |
| | | <a-textarea |
| | | placeholder="请输入所有统一编码,须用“,”隔开,否则可能查询出错误信息" |
| | | v-model="queryParam.nums" |
| | | :auto-size="{ minRows: 2, maxRows:2 }" |
| | | ></a-textarea> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col |
| | | :xl="6" |
| | |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="设备编码"> |
| | | <a-form-item label="统一编码"> |
| | | <a-input |
| | | placeholder="请输入设备编码" |
| | | placeholder="请输入统一编码" |
| | | v-model="queryParam.equipmentNum" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="3"> |
| | | <!-- <a-col :span="3"> |
| | | <span |
| | | style="float: left;overflow: hidden;" |
| | | class="table-page-search-submitButtons" |
| | |
| | | <a-icon :type="toggleSearchStatus ? 'up' : 'down'" /> |
| | | </a> |
| | | </span> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <template v-if="toggleSearchStatus"> |
| | | <a-row :gutter="24"> |
| | | <a-col |
| | | </a-col> --> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | |
| | | :sm="24" |
| | | > |
| | | <a-form-item |
| | | label="车间" |
| | | label="工区" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择资车间" |
| | | placeholder="请选择资工区" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_factory_model,name,id,del_flag!='1'" |
| | | dictCode="mom_base_area,name,id,del_flag!='1'" |
| | | v-model="queryParam.factoryModelId" |
| | | /> |
| | | </a-form-item> |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> --> |
| | | </template> |
| | | </a-form> |
| | | </div> |
| | | <!-- 操作按钮区域 --> |
| | |
| | | <span slot="jell" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="8" /> |
| | | </span> |
| | | <span |
| | | slot="specificEquipment" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon type="check" style="color: chartreuse;" v-if="text==='0'" /> |
| | | <a-icon type="close" v-else style="color:red;"/> |
| | | </span> |
| | | <span |
| | | slot="num" |
| | | slot-scope="text, record" |
| | |
| | | import EquipmentDocumentList from './RepairOrderEquipmentDocumentList' |
| | | import '@/assets/less/TableExpand.less' |
| | | import { putAction } from '../../api/manage' |
| | | import RepairOrderAssignTask from './modules/repairorder/RepairOrderAssignTask.vue' |
| | | import RepairOrderExcuteDrawer from './modules/repairorder/repairOrderExcuteDrawer.vue' |
| | | import RepairOrderAssignTask from './modules/repairorder/RepairOrderAssignTask' |
| | | import RepairOrderExcuteDrawer from './modules/repairorder/repairOrderExcuteDrawer' |
| | | import FaultDescriptionList from './FaultDescriptionList' |
| | | import FaultReportRepair from './modules/repairorder/moudles/select/FaultReportRepair.vue' |
| | | import store from '@/store' |
| | | import { |
| | | ACCESS_TOKEN, |
| | | USER_NAME, |
| | | USER_INFO, |
| | | USER_AUTH, |
| | | SYS_BUTTON_AUTH, |
| | | UI_CACHE_DB_DICT_DATA, |
| | | TENANT_ID, |
| | | CACHE_INCLUDED_ROUTES |
| | | } from '@/store/mutation-types' |
| | | export default { |
| | | name: "RepairOrderList", |
| | | mixins: [JeecgListMixin], |
| | |
| | | RepairOrderAssignTask, |
| | | RepairOrderExcuteDrawer, |
| | | FaultDescriptionList, |
| | | FaultReportRepair |
| | | FaultReportRepair, |
| | | store |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | customRender: function (t, r, index) { |
| | | return parseInt(index) + 1; |
| | | } |
| | | }, |
| | | { |
| | | title: '关键设备?', |
| | | align: "center", |
| | | dataIndex: 'specificEquipment', |
| | | scopedSlots: { customRender: 'specificEquipment' } |
| | | }, |
| | | { |
| | | title: '状态', |
| | |
| | | // dataIndex: 'businessType_dictText' |
| | | // }, |
| | | { |
| | | title: '设备编码', |
| | | title: '统一编码', |
| | | align: "center", |
| | | dataIndex: 'equipmentNum' |
| | | }, |
| | |
| | | } |
| | | this.onClearSelected() |
| | | this.queryParam.repairOrderType = 0; |
| | | this.queryParam.userId = store.getters.userInfo.id |
| | | var params = this.getQueryParams();//查询条件 |
| | | this.loading = true; |
| | | getAction(this.url.list, params).then((res) => { |