Browse Source

嗯嗯嗯

shibei_master
13176889840 4 years ago
parent
commit
6d6514b184
  1. 5
      src/views/components/editResi.vue
  2. 2
      src/views/components/resiSearch.vue

5
src/views/components/editResi.vue

@ -680,8 +680,11 @@ export default {
}, },
getGridList () { getGridList () {
const { user } = this.$store.state const { user } = this.$store.state
let purpose = 'query'
if (this.disabled) purpose = 'query'
else purpose = 'addorupdate'
this.$http this.$http
.post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId }) .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId, purpose })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)

2
src/views/components/resiSearch.vue

@ -455,7 +455,7 @@ export default {
getGridList() { getGridList() {
const { user } = this.$store.state const { user } = this.$store.state
this.$http this.$http
.post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId }) .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId, purpose: 'query' })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)

Loading…
Cancel
Save