Browse Source

社区教育—兴趣爱好群管理增加群信息修改功能

feature/yujt_analysis_pc
zhangyuan 5 years ago
parent
commit
47167515e1
  1. 6
      src/views/modules/activity/group-add-or-update.vue
  2. 3
      src/views/modules/activity/group.vue
  3. 2
      src/views/modules/police/police-add-or-update.vue

6
src/views/modules/activity/group-add-or-update.vue

@ -38,7 +38,7 @@
prop="deptId">
<el-cascader v-model="dataForm.deptId" style="width: 100%"
:options="options"
:disabled="dataForm.id"
:disabled="dataForm.id != null"
:props="{ checkStrictly: true }"
ref="grid"
@change="deptHandleChange"
@ -89,7 +89,7 @@ export default {
categoryOptions: [],
options: [],
loading: false,
disabled:false,
disabled: false,
uploadUrl: ''
}
},
@ -188,7 +188,7 @@ export default {
},
//
getInfo () {
this.$http.get(`//group/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/property/group/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

3
src/views/modules/activity/group.vue

@ -90,6 +90,9 @@
type="text"
size="small"
@click="handDisband(scope.row.id)">{{ $t('disband') }}</el-button>
<el-button v-if="$hasPermission('activity:group:update')" type="text" size="small"
@click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}
</el-button>
</template>
</el-table-column>
</el-table>

2
src/views/modules/police/police-add-or-update.vue

@ -32,7 +32,7 @@
prop="deptId">
<el-cascader v-model="dataForm.deptId" style="width: 100%"
:options="options"
:disabled="dataForm.id"
:disabled="dataForm.id != null"
ref="grid"
@change="deptHandleChange"
filterable

Loading…
Cancel
Save