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

页面修改

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