[代码更新](pet)

safetyenvironmental相关接口更新为V2版本
hyx_2024-9-9_prevention
huangyuxuan 2024-08-19 17:03:34 +08:00
parent 1bc847fea9
commit 5c21788daf
6 changed files with 7 additions and 6 deletions

View File

@ -309,6 +309,7 @@ export default {
}
},
setShowModel(model) {
console.log("test===========================")
this.$store.dispatch('permission/setShowModel', model)
},
toggleSideBar() {

View File

@ -340,7 +340,7 @@ export default {
})
this.listLoading = true
requestFN(
'/hidden/assign',
'/safetyenvironmental/V2/assign',
{ ...this.form,
HIDDEN_STATUS: this.$parent.HIDDEN_STATUS,
INSPECTION_ID: this.$parent.INSPECTION_ID

View File

@ -243,7 +243,7 @@ export default {
getData() {
return new Promise((resolve) => {
requestFN(
'/safetyenvironmental/goShow',
'/safetyenvironmental/V2/goShow',
{
INSPECTION_ID: this.$parent.INSPECTION_ID
}

View File

@ -436,7 +436,7 @@ export default {
})
this.listLoading = true
requestFN(
'/hidden/assign',
'/safetyenvironmental/V2/assign',
{ ...this.form,
HIDDEN_STATUS: this.$parent.HIDDEN_STATUS,
INSPECTION_ID: this.$parent.INSPECTION_ID

View File

@ -306,7 +306,7 @@ export default {
getData() {
return new Promise((resolve) => {
requestFN(
'/safetyenvironmental/goShow',
'/safetyenvironmental/V2/goShow',
{
INSPECTION_ID: this.$parent.INSPECTION_ID
}

View File

@ -357,7 +357,7 @@ export default {
getList() {
this.listLoading = true
requestFN(
'/safetyenvironmental/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
'/safetyenvironmental/V2/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
{
...this.search,
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
@ -471,7 +471,7 @@ export default {
}).then(() => {
this.listLoading = true
requestFN(
'/safetyenvironmental/hide',
'/safetyenvironmental/V2/hide',
{
INSPECTION_ID: id,
hide: '1'