diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/views/resource/outsideService/consumable/applyDetail.vue b/src/views/resource/outsideService/consumable/applyDetail.vue index 0950cc1..65d27dd 100644 --- a/src/views/resource/outsideService/consumable/applyDetail.vue +++ b/src/views/resource/outsideService/consumable/applyDetail.vue @@ -638,7 +638,7 @@ - 增加行 + 批量增加 删除行 diff --git a/src/api/resource/questionnaire.ts b/src/api/resource/questionnaire.ts index f40c875..9e55dc7 100644 --- a/src/api/resource/questionnaire.ts +++ b/src/api/resource/questionnaire.ts @@ -17,3 +17,22 @@ data, }) } + +// 发送 +export function send(data: { ids: string[] }) { + return request({ + url: `${prefix}/questionnaire/send`, + method: 'post', + data, + }) +} + +remindWorker +// 催办 +export function remindWorker(data: { id: string }) { + return request({ + url: `${prefix}/questionnaire/remindWorker`, + method: 'post', + data, + }) +} diff --git a/src/views/resource/common/filterConsumableCheck.vue b/src/views/resource/common/filterConsumableCheck.vue new file mode 100644 index 0000000..14f6d0a --- /dev/null +++ b/src/views/resource/common/filterConsumableCheck.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/views/resource/outsideService/consumable/applyDetail.vue b/src/views/resource/outsideService/consumable/applyDetail.vue index 0950cc1..65d27dd 100644 --- a/src/views/resource/outsideService/consumable/applyDetail.vue +++ b/src/views/resource/outsideService/consumable/applyDetail.vue @@ -638,7 +638,7 @@ - 增加行 + 批量增加 删除行 diff --git a/src/views/resource/outsideService/consumable/checkDetail.vue b/src/views/resource/outsideService/consumable/checkDetail.vue index bbc7a1b..1caccd0 100644 --- a/src/views/resource/outsideService/consumable/checkDetail.vue +++ b/src/views/resource/outsideService/consumable/checkDetail.vue @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/views/resource/outsideService/consumable/applyDetail.vue b/src/views/resource/outsideService/consumable/applyDetail.vue index 0950cc1..65d27dd 100644 --- a/src/views/resource/outsideService/consumable/applyDetail.vue +++ b/src/views/resource/outsideService/consumable/applyDetail.vue @@ -638,7 +638,7 @@ - 增加行 + 批量增加 删除行 diff --git a/src/views/resource/outsideService/consumable/checkDetail.vue b/src/views/resource/outsideService/consumable/checkDetail.vue index bbc7a1b..1caccd0 100644 --- a/src/views/resource/outsideService/consumable/checkDetail.vue +++ b/src/views/resource/outsideService/consumable/checkDetail.vue @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/views/resource/outsideService/consumable/applyDetail.vue b/src/views/resource/outsideService/consumable/applyDetail.vue index 0950cc1..65d27dd 100644 --- a/src/views/resource/outsideService/consumable/applyDetail.vue +++ b/src/views/resource/outsideService/consumable/applyDetail.vue @@ -638,7 +638,7 @@ - 增加行 + 批量增加 删除行 diff --git a/src/views/resource/outsideService/consumable/checkDetail.vue b/src/views/resource/outsideService/consumable/checkDetail.vue index bbc7a1b..1caccd0 100644 --- a/src/views/resource/outsideService/consumable/checkDetail.vue +++ b/src/views/resource/outsideService/consumable/checkDetail.vue @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/views/resource/outsideService/consumable/applyDetail.vue b/src/views/resource/outsideService/consumable/applyDetail.vue index 0950cc1..65d27dd 100644 --- a/src/views/resource/outsideService/consumable/applyDetail.vue +++ b/src/views/resource/outsideService/consumable/applyDetail.vue @@ -638,7 +638,7 @@ - 增加行 + 批量增加 删除行 diff --git a/src/views/resource/outsideService/consumable/checkDetail.vue b/src/views/resource/outsideService/consumable/checkDetail.vue index bbc7a1b..1caccd0 100644 --- a/src/views/resource/outsideService/consumable/checkDetail.vue +++ b/src/views/resource/outsideService/consumable/checkDetail.vue @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }} + + + + + + + + 选定 + + + + + + + + + + + 取消 + + + + + + + diff --git a/src/views/resource/common/filterCustomerStaff.vue b/src/views/resource/common/filterCustomerStaff.vue index 610bf51..fd40e61 100644 --- a/src/views/resource/common/filterCustomerStaff.vue +++ b/src/views/resource/common/filterCustomerStaff.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/resource/environment/require/detail.vue b/src/views/resource/environment/require/detail.vue index a5508b4..9066757 100644 --- a/src/views/resource/environment/require/detail.vue +++ b/src/views/resource/environment/require/detail.vue @@ -456,7 +456,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { diff --git a/src/views/resource/environment/voltage/edit.vue b/src/views/resource/environment/voltage/edit.vue index b8a9290..ad03b80 100644 --- a/src/views/resource/environment/voltage/edit.vue +++ b/src/views/resource/environment/voltage/edit.vue @@ -58,6 +58,8 @@ testUseEquipment: '', // 测试所用设备 testUseEquipmentId: '', // 测试所用设备id + model: '', // 型号 + manufactureNo: '', // 出厂编号 labCode: '', // 实验室 labCodeName: '', // 实验室名称 groupCode: '', // 部门 @@ -417,6 +419,8 @@ if (list && list.length) { recordForm.value.testUseEquipment = list[0].equipmentName // 测试所用设备 recordForm.value.testUseEquipmentId = list[0].id // 测试所用设备id + recordForm.value.model = list[0].model // 型号 + recordForm.value.manufactureNo = list[0].manufactureNo // 出厂编号 } } @@ -463,8 +467,7 @@ // 从路由中获取参数 type.value = params.type id.value = params.id !== undefined ? params.id : '' - status.value = params.status !== undefined ? params.status : '' - + status.value = params.status // 默认显示第一个tab内容 current.value = radioItems.value[0].value currentLabel.value = radioItems.value[0].name @@ -517,7 +520,6 @@ if (radioItems.value[radioItems.value.length - 1].value === 'voltage-approval') { radioItems.value.pop() } - console.log(radioItems.value) } else { // 非全部和草稿箱把审批详情加上 if (radioItems.value[radioItems.value.length - 1].value !== 'voltage-approval') { @@ -541,7 +543,7 @@ locationName: '', // 地点名称 locationNo: '', // 地点编号 labName: lab, // 所属实验室 - limit: 20, + limit: 999999, offset: 1, } getLocationList(params).then((response) => { @@ -618,6 +620,20 @@ + + + + + + + + + + + + + + @@ -651,7 +667,7 @@ - + + + + + + + + + + - - - - - - - - - - - - - - diff --git a/src/views/resource/environment/voltage/list.vue b/src/views/resource/environment/voltage/list.vue index 001a6d6..bce6ec9 100644 --- a/src/views/resource/environment/voltage/list.vue +++ b/src/views/resource/environment/voltage/list.vue @@ -52,33 +52,35 @@ // 表头 const columns = ref([ { text: '测试时间', value: 'testTime', align: 'center', width: '120' }, - { text: '测试地点', value: 'testLocation', align: 'center', width: '200' }, - { text: '实验室', value: 'labCodeName', align: 'center' }, - { text: '部门', value: 'groupCodeName', align: 'center' }, - { text: '测试所用设备', value: 'testUseEquipment', align: 'center', width: '200' }, - { text: '测试依据', value: 'testBasis', align: 'center' }, + { text: '测试地点', value: 'testLocation', align: 'center' }, + { text: '实验室', value: 'labCodeName', align: 'center', width: '120' }, + { text: '部门', value: 'groupCodeName', align: 'center', width: '120' }, + { text: '测试所用设备', value: 'testUseEquipment', align: 'center' }, + { text: '型号', value: 'model', align: 'center' }, + { text: '出厂编号', value: 'manufactureNo', align: 'center' }, + { text: '测试依据', value: 'testBasis', align: 'center', width: '220' }, { text: '电源电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'powerVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'powerVoltageLoad', align: 'center', width: '120' }, ], }, { text: '零地电压(V)', value: '', align: 'center', - width: '120', + width: '220', children: [ - { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '60' }, - { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '60' }, + { text: '空载', value: 'zeroVoltageNoLoad', align: 'center', width: '120' }, + { text: '加载', value: 'zeroVoltageLoad', align: 'center', width: '120' }, ], }, - { text: '结论', value: 'conclusion', align: 'center', width: '160' }, - { text: '测试人', value: 'createUserName', align: 'center', width: '120' }, + { text: '结论', value: 'conclusion', align: 'center' }, + { text: '测试人', value: 'createUserName', align: 'center' }, { text: '审批状态', value: 'approvalStatusName', align: 'center', width: '100' }, ]) const list = ref>([]) // 表格数据 diff --git a/src/views/resource/environment/voltage/voltage-interface.ts b/src/views/resource/environment/voltage/voltage-interface.ts index 5afb1fe..cd7c137 100644 --- a/src/views/resource/environment/voltage/voltage-interface.ts +++ b/src/views/resource/environment/voltage/voltage-interface.ts @@ -36,6 +36,8 @@ testUseEquipment: string // 测试所用设备 testUseEquipmentId: string // 测试所用设备id + model: string // 型号 + manufactureNo: string // 出厂编号 labCode: string // 实验室 labCodeName: string // 实验室名称 groupCode: string // 部门 diff --git a/src/views/resource/outsideService/consumable/applyDetail.vue b/src/views/resource/outsideService/consumable/applyDetail.vue index 0950cc1..65d27dd 100644 --- a/src/views/resource/outsideService/consumable/applyDetail.vue +++ b/src/views/resource/outsideService/consumable/applyDetail.vue @@ -638,7 +638,7 @@ - 增加行 + 批量增加 删除行 diff --git a/src/views/resource/outsideService/consumable/checkDetail.vue b/src/views/resource/outsideService/consumable/checkDetail.vue index bbc7a1b..1caccd0 100644 --- a/src/views/resource/outsideService/consumable/checkDetail.vue +++ b/src/views/resource/outsideService/consumable/checkDetail.vue @@ -1,7 +1,7 @@