Commit 88ebb97f authored by 黄奎's avatar 黄奎

页面修改

parent 16d7325b
......@@ -73,13 +73,16 @@
<div class="col-6 q-pb-lg" style="margin-top:20px;">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.UserIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="头像" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails>
@rejected="onRejected" label="头像" accept=".jpg, image/*" auto-upload :factory="uploadFile" no-thumbnails>
</q-uploader>
</div>
<q-select filled stack-label :disable="objOption.AccountId==0?false:true" option-value="Id"
option-label="Value" ref="ID" v-model="objOption.AccountType" :options="AccountTypeList" label="用户类型"
:dense="false" class="col-6 q-pr-lg q-pb-lg" emit-value map-options />
<q-select filled stack-label option-value="Id" option-label="Value" ref="ID" v-model="objOption.DirectSupervisor"
:options="AccountTypeList" label="直属上级" :dense="false" class="col-6 q-pr-lg q-pb-lg" emit-value
map-options />
</div>
</q-card-section>
<q-separator />
......@@ -320,8 +323,8 @@
this.persistent = false
},
setStudent() {
if(this.objOption.AccountId==0){
if(this.objOption.Dept_Id==''){
if (this.objOption.AccountId == 0) {
if (this.objOption.Dept_Id == '') {
this.$q.notify({
type: 'negative',
position: "top",
......@@ -329,7 +332,7 @@
})
return;
}
if(this.objOption.Post_Id==0){
if (this.objOption.Post_Id == 0) {
this.$q.notify({
type: 'negative',
position: "top",
......@@ -337,7 +340,7 @@
})
return;
}
if(this.objOption.Password==''){
if (this.objOption.Password == '') {
this.$q.notify({
type: 'negative',
position: "top",
......@@ -346,7 +349,7 @@
return;
}
}
if(this.objOption.EmployeeName==''){
if (this.objOption.EmployeeName == '') {
this.$q.notify({
type: 'negative',
position: "top",
......@@ -354,7 +357,7 @@
})
return;
}
if(this.objOption.Account==''){
if (this.objOption.Account == '') {
this.$q.notify({
type: 'negative',
position: "top",
......
......@@ -195,7 +195,6 @@
getPostList
} from '../../api/system/post'
import {
getChildDepartment,
getDeptTree
} from '../../api/system/dept.js'
import managerForm from '../../components/school/manager/manager-form'
......
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