From c255bb14d15fcf6d672ef76d339b7eb7fa865c33 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Mon, 15 Aug 2022 13:34:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/worklog/icworklog-add-or-update.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/modules/worklog/icworklog-add-or-update.vue b/src/views/modules/worklog/icworklog-add-or-update.vue index acbc195fc..c0af91597 100644 --- a/src/views/modules/worklog/icworklog-add-or-update.vue +++ b/src/views/modules/worklog/icworklog-add-or-update.vue @@ -202,9 +202,8 @@ export default { }, getGridList() { this.optionsG = [] - const { user } = this.$store.state this.$http - .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId, purpose: 'query' }) + .post('/gov/mine/agency/getmygrids') .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -333,6 +332,8 @@ export default { // 表单提交 dataFormSubmitHandle: debounce(function () { if (!this.gridState) { + this.dataForm.gridId = '' + this.gridState = true return this.$message.error("请重新选择网格") } if (this.dataForm.content.length < 70) {