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) {