diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/applyList.vue b/src/views/device/standardEquipment/components/applyList.vue
index 37839c3..80c43cb 100644
--- a/src/views/device/standardEquipment/components/applyList.vue
+++ b/src/views/device/standardEquipment/components/applyList.vue
@@ -1,4 +1,4 @@
-
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/applyList.vue b/src/views/device/standardEquipment/components/applyList.vue
index 37839c3..80c43cb 100644
--- a/src/views/device/standardEquipment/components/applyList.vue
+++ b/src/views/device/standardEquipment/components/applyList.vue
@@ -1,4 +1,4 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/applyList.vue b/src/views/device/standardEquipment/components/applyList.vue
index 37839c3..80c43cb 100644
--- a/src/views/device/standardEquipment/components/applyList.vue
+++ b/src/views/device/standardEquipment/components/applyList.vue
@@ -1,4 +1,4 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/applyList.vue b/src/views/device/standardEquipment/components/applyList.vue
index 37839c3..80c43cb 100644
--- a/src/views/device/standardEquipment/components/applyList.vue
+++ b/src/views/device/standardEquipment/components/applyList.vue
@@ -1,4 +1,4 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/views/device/standardEquipment/components/listApply/notPass.vue b/src/views/device/standardEquipment/components/listApply/notPass.vue
index bf1d8ac..bd03c93 100644
--- a/src/views/device/standardEquipment/components/listApply/notPass.vue
+++ b/src/views/device/standardEquipment/components/listApply/notPass.vue
@@ -2,9 +2,12 @@
-
+
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/applyList.vue b/src/views/device/standardEquipment/components/applyList.vue
index 37839c3..80c43cb 100644
--- a/src/views/device/standardEquipment/components/applyList.vue
+++ b/src/views/device/standardEquipment/components/applyList.vue
@@ -1,4 +1,4 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/views/device/standardEquipment/components/listApply/notPass.vue b/src/views/device/standardEquipment/components/listApply/notPass.vue
index bf1d8ac..bd03c93 100644
--- a/src/views/device/standardEquipment/components/listApply/notPass.vue
+++ b/src/views/device/standardEquipment/components/listApply/notPass.vue
@@ -2,9 +2,12 @@
-
+
diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue
index e7a7e25..052487c 100644
--- a/src/views/device/standardEquipment/expirationRemind.vue
+++ b/src/views/device/standardEquipment/expirationRemind.vue
@@ -377,8 +377,8 @@
range-separator="到"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
- start-placeholder="到期开始日期"
- end-placeholder="到期结束日期"
+ start-placeholder="有效日期起始"
+ end-placeholder="有效日期结束"
/>
diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts
index 3a8447f..63f09d2 100644
--- a/src/api/device/standard.ts
+++ b/src/api/device/standard.ts
@@ -127,7 +127,7 @@
})
}
-// 申请编辑
+// 申请编辑--草稿箱、已取消
export function updateStandardEquipmentApply(data: object) {
return request({
url: '/standard/updateStandardEquipmentApply',
@@ -136,6 +136,15 @@
})
}
+// 申请编辑--未通过-驳回
+export function failUpdateStandardEquipmentApply(data: object) {
+ return request({
+ url: '/standard/failUpdate',
+ method: 'post',
+ data,
+ })
+}
+
// 批量添加标准装置底部计量人员
export function setBatchAdd(data: object) {
return request({
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 85dc752..eff72d0 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -171,7 +171,7 @@
text-align: center;
line-height: 20px;
border-radius: 50%;
- background: rgb(0 0 0 / 30%);
- color: #fff;
+ background: #f5f7fa;
+ color: #bbabb2;
cursor: pointer;
}
diff --git a/src/views/business/schedule/certPrint/certList.vue b/src/views/business/schedule/certPrint/certList.vue
index 510917f..35ae777 100644
--- a/src/views/business/schedule/certPrint/certList.vue
+++ b/src/views/business/schedule/certPrint/certList.vue
@@ -231,6 +231,9 @@
// 打印
const bindLabel = (row: ICerPrintList) => {
// 判断状态第一次可以直接打印,之后的打印需要审批
+ console.log('oooooo')
+ console.log(row)
+
if (row.printNum == 0) {
ElMessageBox.confirm(
'确定要打印吗?',
@@ -241,6 +244,9 @@
type: 'warning',
},
).then(() => {
+ console.log('-----------')
+
+ console.log(row)
exportCert({ orderId: row.orderId, reason: row.reason, sampleId: row.sampleId, status: row.status }).then((res) => {
console.log(res)
})
diff --git a/src/views/customer/bench/bench.vue b/src/views/customer/bench/bench.vue
index 3b8f274..5e7d1d8 100644
--- a/src/views/customer/bench/bench.vue
+++ b/src/views/customer/bench/bench.vue
@@ -205,6 +205,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -260,6 +261,7 @@
align="center"
:label="item.text"
:width="item.width"
+ show-overflow-tooltip
/>
@@ -294,6 +296,7 @@
:prop="item.value"
align="center"
:label="item.text"
+ show-overflow-tooltip
/>
diff --git a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
index 319f2c7..5b7e7c7 100644
--- a/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
+++ b/src/views/device/deviceMaintenance/components/listApprovalAdd.vue
@@ -3,6 +3,7 @@
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, UploadProps, UploadUserFile } from 'element-plus'
+import dayjs from 'dayjs'
import type { IColumnsType, IlistApprovalAddTypes, dictType } from '../checkList_interface'
import checkList from './checkList.vue'
import { acceptanceCheckInfo, addAcceptanceCheck, equipmentApplyInfo, failUpdateAcceptanceCheckInfo, submitAcceptanceCheck, updateAcceptanceCheckInfo } from '@/api/device/checkList'
@@ -11,10 +12,11 @@
import showPhoto from '@/views/system/tool/showPhoto.vue'
import { getDictByCode } from '@/api/system/dict'
import { SCHEDULE } from '@/utils/scheduleDict'
-
+import useUserStore from '@/store/modules/user'
const infoId = ref('') // id
const approvalStatusName = ref('') // 审批状态名称
const pageType = ref('add') // 页面类型: add,edit, detail
+const user = useUserStore() // 用户信息
const textMap: { [key: string]: string } = {
add: '新建',
edit: '编辑',
@@ -348,6 +350,8 @@
}
onMounted(async () => {
formInline.value.processId = $route.params.processId as string // 任务id
+ formInline.value.overhaulPerson = user.name
+ formInline.value.checkDate = dayjs().format('YYYY-MM-DD')
// 编辑和详情页面获取详情信息
if (pageType.value !== 'add') {
getInfo() // 获取详情信息
@@ -385,7 +389,7 @@
@@ -404,7 +408,7 @@
@@ -496,7 +500,7 @@
v-if="item.text === '检修结果'"
v-model="scope.row[item.value]"
clearable
- placeholder="请选择计划编号"
+ placeholder="请选择检修结果"
size="default"
:disabled="pageType === 'detail'"
>
diff --git a/src/views/device/receive/solve/solveList.vue b/src/views/device/receive/solve/solveList.vue
index 207db34..109e0a7 100644
--- a/src/views/device/receive/solve/solveList.vue
+++ b/src/views/device/receive/solve/solveList.vue
@@ -377,7 +377,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/applyList.vue b/src/views/device/standardEquipment/components/applyList.vue
index 37839c3..80c43cb 100644
--- a/src/views/device/standardEquipment/components/applyList.vue
+++ b/src/views/device/standardEquipment/components/applyList.vue
@@ -1,4 +1,4 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/views/device/standardEquipment/components/listApply/notPass.vue b/src/views/device/standardEquipment/components/listApply/notPass.vue
index bf1d8ac..bd03c93 100644
--- a/src/views/device/standardEquipment/components/listApply/notPass.vue
+++ b/src/views/device/standardEquipment/components/listApply/notPass.vue
@@ -2,9 +2,12 @@
-
+
diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue
index e7a7e25..052487c 100644
--- a/src/views/device/standardEquipment/expirationRemind.vue
+++ b/src/views/device/standardEquipment/expirationRemind.vue
@@ -377,8 +377,8 @@
range-separator="到"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
- start-placeholder="到期开始日期"
- end-placeholder="到期结束日期"
+ start-placeholder="有效日期起始"
+ end-placeholder="有效日期结束"
/>
diff --git a/src/views/device/standardEquipment/pauseApply.vue b/src/views/device/standardEquipment/pauseApply.vue
index 189fbdc..c49b84c 100644
--- a/src/views/device/standardEquipment/pauseApply.vue
+++ b/src/views/device/standardEquipment/pauseApply.vue
@@ -1,4 +1,5 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/views/device/standardEquipment/components/listApply/notPass.vue b/src/views/device/standardEquipment/components/listApply/notPass.vue
index bf1d8ac..bd03c93 100644
--- a/src/views/device/standardEquipment/components/listApply/notPass.vue
+++ b/src/views/device/standardEquipment/components/listApply/notPass.vue
@@ -2,9 +2,12 @@
-
+
diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue
index e7a7e25..052487c 100644
--- a/src/views/device/standardEquipment/expirationRemind.vue
+++ b/src/views/device/standardEquipment/expirationRemind.vue
@@ -377,8 +377,8 @@
range-separator="到"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
- start-placeholder="到期开始日期"
- end-placeholder="到期结束日期"
+ start-placeholder="有效日期起始"
+ end-placeholder="有效日期结束"
/>
diff --git a/src/views/device/standardEquipment/pauseApply.vue b/src/views/device/standardEquipment/pauseApply.vue
index 189fbdc..c49b84c 100644
--- a/src/views/device/standardEquipment/pauseApply.vue
+++ b/src/views/device/standardEquipment/pauseApply.vue
@@ -1,4 +1,5 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/views/device/standardEquipment/components/listApply/notPass.vue b/src/views/device/standardEquipment/components/listApply/notPass.vue
index bf1d8ac..bd03c93 100644
--- a/src/views/device/standardEquipment/components/listApply/notPass.vue
+++ b/src/views/device/standardEquipment/components/listApply/notPass.vue
@@ -2,9 +2,12 @@
-
+
diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue
index e7a7e25..052487c 100644
--- a/src/views/device/standardEquipment/expirationRemind.vue
+++ b/src/views/device/standardEquipment/expirationRemind.vue
@@ -377,8 +377,8 @@
range-separator="到"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
- start-placeholder="到期开始日期"
- end-placeholder="到期结束日期"
+ start-placeholder="有效日期起始"
+ end-placeholder="有效日期结束"
/>
diff --git a/src/views/device/standardEquipment/pauseApply.vue b/src/views/device/standardEquipment/pauseApply.vue
index 189fbdc..c49b84c 100644
--- a/src/views/device/standardEquipment/pauseApply.vue
+++ b/src/views/device/standardEquipment/pauseApply.vue
@@ -1,4 +1,5 @@
-
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 9e49e4e..4b0f2c1 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -1,4 +1,4 @@
-
@@ -436,13 +423,13 @@
clearable
/>
-
+
+
+
+
-
+
+
+
+ {{ (listQuery.offset - 1) * listQuery.limit + scope.$index + 1 }}
+
+
+
-
+
同意
驳回
拒绝
取消
-
删除
diff --git a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
index 7f48051..12e69ec 100644
--- a/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPageAdd.vue
@@ -1,6 +1,7 @@
+
@@ -717,13 +705,11 @@
-
- {{ item }}
+
+ 提交
+
+
+ 保存
关闭
@@ -738,12 +724,62 @@
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -901,7 +937,7 @@
-
+
-
+
-
+
增加行
-
+
删除行
@@ -1162,6 +1193,7 @@
:prop="item.value"
:label="item.text"
align="center"
+ :width="item.width"
>
*{{ item.text }}
@@ -1189,83 +1221,10 @@
-
-
-
- 增加行
-
-
- 删除行
-
-
-
-
-
-
-
- *{{ item.text }}
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
+
+
+
-
diff --git a/src/views/device/standardEquipment/components/listApply/notPass.vue b/src/views/device/standardEquipment/components/listApply/notPass.vue
index bf1d8ac..bd03c93 100644
--- a/src/views/device/standardEquipment/components/listApply/notPass.vue
+++ b/src/views/device/standardEquipment/components/listApply/notPass.vue
@@ -2,9 +2,12 @@
-
+
diff --git a/src/views/device/standardEquipment/expirationRemind.vue b/src/views/device/standardEquipment/expirationRemind.vue
index e7a7e25..052487c 100644
--- a/src/views/device/standardEquipment/expirationRemind.vue
+++ b/src/views/device/standardEquipment/expirationRemind.vue
@@ -377,8 +377,8 @@
range-separator="到"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
- start-placeholder="到期开始日期"
- end-placeholder="到期结束日期"
+ start-placeholder="有效日期起始"
+ end-placeholder="有效日期结束"
/>
diff --git a/src/views/device/standardEquipment/pauseApply.vue b/src/views/device/standardEquipment/pauseApply.vue
index 189fbdc..c49b84c 100644
--- a/src/views/device/standardEquipment/pauseApply.vue
+++ b/src/views/device/standardEquipment/pauseApply.vue
@@ -1,4 +1,5 @@
-