diff --git a/src/views/modules/sys/deptmacode-optimize.vue b/src/views/modules/sys/deptmacode-optimize.vue index fcd3022..4162af4 100644 --- a/src/views/modules/sys/deptmacode-optimize.vue +++ b/src/views/modules/sys/deptmacode-optimize.vue @@ -146,7 +146,8 @@ export default { gridList: [], maCodeCategorys: [ { id: '0', name: '群众注册码' }, - { id: '1', name: '网格长注册码' } + { id: '1', name: '网格长注册码' }, + { id: '2', name: '网格党支部注册码' } ] } }, @@ -327,7 +328,7 @@ export default { ) .then(() => { this.$http - .post(`/sys/optimize/deptmacode/gridBranchparty`) + .post(`/sys/deptmacode/createGridBranchParty`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg)