forked from qiushanhe/dm-manage-web
提交
This commit is contained in:
@@ -165,24 +165,31 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="所属报名点">
|
||||
<el-select v-model="form.officeId" placeholder="请选择">
|
||||
<el-option v-for="dict in officeOptions" :key="dict.officeId" :label="dict.officeName" :value="dict.officeId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="小程序权限">
|
||||
<el-radio-group v-model="form.hasStudent">
|
||||
<el-radio :label="true">开通</el-radio>
|
||||
<el-radio :label="false">关闭</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
</el-col> -->
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="管理系统权限">
|
||||
<el-radio-group v-model="form.hasSys">
|
||||
<el-radio :label="true">开通</el-radio>
|
||||
<el-radio :label="false">关闭</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
</el-col> -->
|
||||
</el-row>
|
||||
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
@@ -203,6 +210,7 @@
|
||||
|
||||
<script>
|
||||
import empAPi from '@/api/system/employee';
|
||||
import { listOffice } from "@/api/zs/office";
|
||||
import { deptTreeSelect } from '@/api/system/dept';
|
||||
import { getRoleOptions } from '@/api/system/role';
|
||||
import { resetUserPwd } from '@/api/system/user';
|
||||
@@ -296,7 +304,8 @@ export default {
|
||||
]
|
||||
},
|
||||
userOptions: [],
|
||||
areaOptions: []
|
||||
areaOptions: [],
|
||||
officeOptions: []
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -331,6 +340,7 @@ export default {
|
||||
// })
|
||||
}
|
||||
});
|
||||
this.getOffices();
|
||||
},
|
||||
methods: {
|
||||
/** 查询用户列表 */
|
||||
@@ -407,7 +417,8 @@ export default {
|
||||
checkin: true,
|
||||
areaList: [],
|
||||
weight: undefined,
|
||||
count: true
|
||||
count: true,
|
||||
officeId: undefined
|
||||
};
|
||||
this.resetForm('form');
|
||||
},
|
||||
@@ -468,7 +479,15 @@ export default {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
//查询报名点
|
||||
getOffices() {
|
||||
listOffice().then(resp => {
|
||||
if (resp.code == 200) {
|
||||
this.officeOptions = resp.rows
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user