diff --git a/.env.production b/.env.production index 2b78f8d..06442a5 100644 --- a/.env.production +++ b/.env.production @@ -3,9 +3,9 @@ # 页面标题 VITE_APP_TITLE = 计量业务系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 -# VITE_APP_API_BASEURL = http://111.198.10.15:21609 +VITE_APP_API_BASEURL = http://111.198.10.15:21609 # VITE_APP_API_BASEURL = http://192.168.83.213:8085 -VITE_APP_API_BASEURL = http://192.168.2.6:8085 +# VITE_APP_API_BASEURL = http://192.168.2.6:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/.env.production b/.env.production index 2b78f8d..06442a5 100644 --- a/.env.production +++ b/.env.production @@ -3,9 +3,9 @@ # 页面标题 VITE_APP_TITLE = 计量业务系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 -# VITE_APP_API_BASEURL = http://111.198.10.15:21609 +VITE_APP_API_BASEURL = http://111.198.10.15:21609 # VITE_APP_API_BASEURL = http://192.168.83.213:8085 -VITE_APP_API_BASEURL = http://192.168.2.6:8085 +# VITE_APP_API_BASEURL = http://192.168.2.6:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/jl.zip b/jl.zip deleted file mode 100644 index 40d750d..0000000 --- a/jl.zip +++ /dev/null Binary files differ diff --git a/.env.production b/.env.production index 2b78f8d..06442a5 100644 --- a/.env.production +++ b/.env.production @@ -3,9 +3,9 @@ # 页面标题 VITE_APP_TITLE = 计量业务系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 -# VITE_APP_API_BASEURL = http://111.198.10.15:21609 +VITE_APP_API_BASEURL = http://111.198.10.15:21609 # VITE_APP_API_BASEURL = http://192.168.83.213:8085 -VITE_APP_API_BASEURL = http://192.168.2.6:8085 +# VITE_APP_API_BASEURL = http://192.168.2.6:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/jl.zip b/jl.zip deleted file mode 100644 index 40d750d..0000000 --- a/jl.zip +++ /dev/null Binary files differ diff --git a/src/api/device/checkList.ts b/src/api/device/checkList.ts index f12a3bd..fcae32e 100644 --- a/src/api/device/checkList.ts +++ b/src/api/device/checkList.ts @@ -28,6 +28,16 @@ }) } +// 保养验收单导出 +export function exportCheckList(data: object) { + return request({ + url: '/acceptanceCheck/exportList', + method: 'post', + responseType: 'blob', + data, + }) +} + // 获取详情数据 export function getselectCheckInfo(data: object) { return request({ @@ -134,7 +144,7 @@ }) } -// 设备检修保养验收单编辑 +// 设备检修保养验收单编辑--草稿箱、已取消 export function updateAcceptanceCheckInfo(data: object) { return request({ url: '/acceptanceCheck/updateAcceptanceCheckInfo', @@ -142,6 +152,14 @@ data, }) } +// 设备检修保养验收单编辑--未通过-驳回 +export function failUpdateAcceptanceCheckInfo(data: object) { + return request({ + url: '/acceptanceCheck/failUpdate', + method: 'post', + data, + }) +} // 设备检修保养验收单详情信息 export function acceptanceCheckInfo(data: object) { diff --git a/.env.production b/.env.production index 2b78f8d..06442a5 100644 --- a/.env.production +++ b/.env.production @@ -3,9 +3,9 @@ # 页面标题 VITE_APP_TITLE = 计量业务系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 -# VITE_APP_API_BASEURL = http://111.198.10.15:21609 +VITE_APP_API_BASEURL = http://111.198.10.15:21609 # VITE_APP_API_BASEURL = http://192.168.83.213:8085 -VITE_APP_API_BASEURL = http://192.168.2.6:8085 +# VITE_APP_API_BASEURL = http://192.168.2.6:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/jl.zip b/jl.zip deleted file mode 100644 index 40d750d..0000000 --- a/jl.zip +++ /dev/null Binary files differ diff --git a/src/api/device/checkList.ts b/src/api/device/checkList.ts index f12a3bd..fcae32e 100644 --- a/src/api/device/checkList.ts +++ b/src/api/device/checkList.ts @@ -28,6 +28,16 @@ }) } +// 保养验收单导出 +export function exportCheckList(data: object) { + return request({ + url: '/acceptanceCheck/exportList', + method: 'post', + responseType: 'blob', + data, + }) +} + // 获取详情数据 export function getselectCheckInfo(data: object) { return request({ @@ -134,7 +144,7 @@ }) } -// 设备检修保养验收单编辑 +// 设备检修保养验收单编辑--草稿箱、已取消 export function updateAcceptanceCheckInfo(data: object) { return request({ url: '/acceptanceCheck/updateAcceptanceCheckInfo', @@ -142,6 +152,14 @@ data, }) } +// 设备检修保养验收单编辑--未通过-驳回 +export function failUpdateAcceptanceCheckInfo(data: object) { + return request({ + url: '/acceptanceCheck/failUpdate', + method: 'post', + data, + }) +} // 设备检修保养验收单详情信息 export function acceptanceCheckInfo(data: object) { diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index fbf0b2f..047d441 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -109,6 +109,10 @@ } } +.el-input-group__append { + color: #3d7eff; +} + .el-button.is-link { .el-button__text--expand { letter-spacing: 0.1em; diff --git a/.env.production b/.env.production index 2b78f8d..06442a5 100644 --- a/.env.production +++ b/.env.production @@ -3,9 +3,9 @@ # 页面标题 VITE_APP_TITLE = 计量业务系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 -# VITE_APP_API_BASEURL = http://111.198.10.15:21609 +VITE_APP_API_BASEURL = http://111.198.10.15:21609 # VITE_APP_API_BASEURL = http://192.168.83.213:8085 -VITE_APP_API_BASEURL = http://192.168.2.6:8085 +# VITE_APP_API_BASEURL = http://192.168.2.6:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/jl.zip b/jl.zip deleted file mode 100644 index 40d750d..0000000 --- a/jl.zip +++ /dev/null Binary files differ diff --git a/src/api/device/checkList.ts b/src/api/device/checkList.ts index f12a3bd..fcae32e 100644 --- a/src/api/device/checkList.ts +++ b/src/api/device/checkList.ts @@ -28,6 +28,16 @@ }) } +// 保养验收单导出 +export function exportCheckList(data: object) { + return request({ + url: '/acceptanceCheck/exportList', + method: 'post', + responseType: 'blob', + data, + }) +} + // 获取详情数据 export function getselectCheckInfo(data: object) { return request({ @@ -134,7 +144,7 @@ }) } -// 设备检修保养验收单编辑 +// 设备检修保养验收单编辑--草稿箱、已取消 export function updateAcceptanceCheckInfo(data: object) { return request({ url: '/acceptanceCheck/updateAcceptanceCheckInfo', @@ -142,6 +152,14 @@ data, }) } +// 设备检修保养验收单编辑--未通过-驳回 +export function failUpdateAcceptanceCheckInfo(data: object) { + return request({ + url: '/acceptanceCheck/failUpdate', + method: 'post', + data, + }) +} // 设备检修保养验收单详情信息 export function acceptanceCheckInfo(data: object) { diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index fbf0b2f..047d441 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -109,6 +109,10 @@ } } +.el-input-group__append { + color: #3d7eff; +} + .el-button.is-link { .el-button__text--expand { letter-spacing: 0.1em; diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 985d230..81b49b4 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -196,7 +196,7 @@ @select="selectClick" @row-click="rowClick" > - +