Browse Source

名称修改

feature/dev_worklog
zhangyuan 3 years ago
parent
commit
3678f109e1
  1. 8
      src/views/modules/worklog/icworklog-add-or-update.vue

8
src/views/modules/worklog/icworklog-add-or-update.vue

@ -10,9 +10,9 @@
>
<el-option
v-for="item in optionsG"
:key="item.value"
:label="item.label"
:value="item.value"
:key="item.gridId"
:label="item.gridName"
:value="item.gridId"
:disabled="item.disabled"
>
</el-option>
@ -170,7 +170,7 @@ export default {
const grid = this.optionsG.filter(item => item.value === res.data.gridId)
if (grid.length < 1) {
this.gridState = false
this.optionsG.push({label:res.data.gridName, value:res.data.gridId, disabled: true})
this.optionsG.push({gridName:res.data.gridName, gridId:res.data.gridId, disabled: true})
} else {
this.gridState = true
}

Loading…
Cancel
Save