Browse Source

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

feature/yujt_analysis_pc
zhangyuan 5 years ago
parent
commit
47167515e1
  1. 4
      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

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

@ -38,7 +38,7 @@
prop="deptId"> prop="deptId">
<el-cascader v-model="dataForm.deptId" style="width: 100%" <el-cascader v-model="dataForm.deptId" style="width: 100%"
:options="options" :options="options"
:disabled="dataForm.id" :disabled="dataForm.id != null"
:props="{ checkStrictly: true }" :props="{ checkStrictly: true }"
ref="grid" ref="grid"
@change="deptHandleChange" @change="deptHandleChange"
@ -188,7 +188,7 @@ export default {
}, },
// //
getInfo () { 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) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }

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

@ -90,6 +90,9 @@
type="text" type="text"
size="small" size="small"
@click="handDisband(scope.row.id)">{{ $t('disband') }}</el-button> @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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

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

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

Loading…
Cancel
Save