Compare commits

...

2 Commits

Author SHA1 Message Date
huangyuxuan d5edfcdaf7 [代码更新](pet)
safetyenvironmental相关接口更新为V2版本
2024-08-19 17:04:49 +08:00
huangyuxuan 5c21788daf [代码更新](pet)
safetyenvironmental相关接口更新为V2版本
2024-08-19 17:03:34 +08:00
8 changed files with 9 additions and 8 deletions

View File

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

View File

@ -595,7 +595,7 @@ export default {
this.$refs.form.validate(valid => { this.$refs.form.validate(valid => {
if (valid) { if (valid) {
requestFN( requestFN(
'/hidden/finalcheck', '/safetyenvironmental/V2/finalcheck',
{ {
HIDDEN_ID: this.HIDDEN_ID, HIDDEN_ID: this.HIDDEN_ID,
FINAL_CHECKDESCR: this.form.FINAL_CHECKDESCR, FINAL_CHECKDESCR: this.form.FINAL_CHECKDESCR,

View File

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

View File

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

View File

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

View File

@ -330,7 +330,7 @@ export default {
hiddenCount(INSPECTION_ID) { hiddenCount(INSPECTION_ID) {
this.listLoading = true this.listLoading = true
requestFN( requestFN(
'/safetyenvironmentalexplain/hiddencount', '/safetyenvironmental/V2/hiddencount',
{ {
INSPECTION_ID: INSPECTION_ID INSPECTION_ID: INSPECTION_ID
} }

View File

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

View File

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