diff --git a/.env.production b/.env.production index 06442a5..ff5a80a 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,7 @@ # 接口请求地址,会设置到 axios 的 baseURL 参数上 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.96:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/.env.production b/.env.production index 06442a5..ff5a80a 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,7 @@ # 接口请求地址,会设置到 axios 的 baseURL 参数上 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.96:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts index 31f6b25..3a8447f 100644 --- a/src/api/device/standard.ts +++ b/src/api/device/standard.ts @@ -189,6 +189,14 @@ data, }) } +// 删除检定规程 +export function delRegulationAdd(data: object) { + return request({ + url: '/meter/standard/regulation/delete', + method: 'post', + data, + }) +} // 标准装置-检定规程列表(分页) export function getRegulationListPage(data: object) { diff --git a/.env.production b/.env.production index 06442a5..ff5a80a 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,7 @@ # 接口请求地址,会设置到 axios 的 baseURL 参数上 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.96:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts index 31f6b25..3a8447f 100644 --- a/src/api/device/standard.ts +++ b/src/api/device/standard.ts @@ -189,6 +189,14 @@ data, }) } +// 删除检定规程 +export function delRegulationAdd(data: object) { + return request({ + url: '/meter/standard/regulation/delete', + method: 'post', + data, + }) +} // 标准装置-检定规程列表(分页) export function getRegulationListPage(data: object) { diff --git a/src/components.d.ts b/src/components.d.ts index 90f2dde..b39b99c 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -63,5 +63,6 @@ SystemInfo: typeof import('./components/SystemInfo/index.vue')['default'] TableContainer: typeof import('./components/TableContainer/index.vue')['default'] Trend: typeof import('./components/Trend/index.vue')['default'] + UploadMultiFiles: typeof import('./components/uploadMultiFiles/uploadMultiFiles.vue')['default'] } } diff --git a/.env.production b/.env.production index 06442a5..ff5a80a 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,7 @@ # 接口请求地址,会设置到 axios 的 baseURL 参数上 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.96:8085 # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 VITE_APP_DEBUG_TOOL = diff --git a/src/api/device/standard.ts b/src/api/device/standard.ts index 31f6b25..3a8447f 100644 --- a/src/api/device/standard.ts +++ b/src/api/device/standard.ts @@ -189,6 +189,14 @@ data, }) } +// 删除检定规程 +export function delRegulationAdd(data: object) { + return request({ + url: '/meter/standard/regulation/delete', + method: 'post', + data, + }) +} // 标准装置-检定规程列表(分页) export function getRegulationListPage(data: object) { diff --git a/src/components.d.ts b/src/components.d.ts index 90f2dde..b39b99c 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -63,5 +63,6 @@ SystemInfo: typeof import('./components/SystemInfo/index.vue')['default'] TableContainer: typeof import('./components/TableContainer/index.vue')['default'] Trend: typeof import('./components/Trend/index.vue')['default'] + UploadMultiFiles: typeof import('./components/uploadMultiFiles/uploadMultiFiles.vue')['default'] } } diff --git a/src/views/customer/sample/list/list.vue b/src/views/customer/sample/list/list.vue index abcada5..322a197 100644 --- a/src/views/customer/sample/list/list.vue +++ b/src/views/customer/sample/list/list.vue @@ -316,10 +316,10 @@ size="small" type="primary" link - :disabled="row.sampleSatusName !== ''" + :disabled="row.sampleSatusName" @click="handleEdit(row, 'edit')" > - 编辑 + 编辑{{ row.sampleSatusName }} - 编辑 + 编辑{{ row.sampleSatusName }} + +