Commit 0560aa6b authored by 黄奎's avatar 黄奎

新增页面

parent 8ad39b7c
......@@ -76,3 +76,16 @@ export function setDeptStatusInfo(data) {
data
});
}
/**
* 获取下级部门
* @param DeptId 上级部门编号
*/
export function getChildDepartment(DeptId)
{
return request({
url: '/User/RemoveDept',
method: 'post',
data:{DeptId:DeptId}
});
}
......@@ -9,7 +9,7 @@
<div class="row wrap">
<q-select filled stack-label option-value="SId" option-label="SName" v-model="objOption.School_Id"
ref="School_Id" :options="schoolList" label="所属校区" :dense="false" class="col-6 q-pr-lg q-pb-lg" emit-value
map-options :rules="[val => !!val || '请选择所属校区']" />
map-options />
<q-input filled stack-label maxlength="20" :dense="false" v-model="objOption.DeptName" ref="DeptName"
class="col-6 q-pr-lg q-pb-lg" label="部门名称" :rules="[val => !!val || '请填写部门名称']" />
<q-select filled stack-label option-value="value" option-label="label" v-model="objOption.DeptTier"
......
......@@ -10,7 +10,7 @@
<q-select @input="resetSearch" clearable filled stack-label option-value="SId" option-label="SName"
v-model="schoolTemp" ref="School_Id" :options="schoolList" label="所属校区" :dense="false" />
</div>
<div class="col-3">
<q-input @input="resetSearch" clearable standout="bg-primary text-white" v-model="msg.MTel" label="电话" />
</div>
......@@ -82,6 +82,7 @@
import {
resetPassword
} from '../../api/users/user.js'
import{getChildDepartment}from '../../api/system/dept.js'
import managerForm from '../../components/school/manager/manager-form'
export default {
meta: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment