Commit d065249a authored by zhengke's avatar zhengke

修改

parent 507ba137
...@@ -118,17 +118,17 @@ ...@@ -118,17 +118,17 @@
</div> </div>
</div> </div>
<div class="row" style="margin-top:20px;" v-if="deptObj.schoolType==1"> <div class="row" style="margin-top:20px;" v-if="deptObj.schoolType==1">
<div class="col-6"> <div class="col-12">
<q-select filled stack-label @input="getDepartList()" option-value="SId" option-label="SName" <q-select filled stack-label @input="getDepartList()" option-value="SId" option-label="SName"
class="col-6 q-pr-lg q-pb-lg" v-model="deptObj.School_Id" ref="School_Id" :options="schoolList" class="q-pb-lg" v-model="deptObj.School_Id" ref="School_Id" :options="schoolList"
label="所属校区" :dense="false" emit-value map-options /> label="所属校区" :dense="false" emit-value map-options />
</div> </div>
</div> </div>
<div class="row" style="margin-top:20px;"> <div class="row" style="margin-top:15px;">
<div class="col-6"> <div class="col-12">
<selectTree :treeData='DeptList' :defaultArray="returnString" nodeKey="DeptId" :multiple="false" <selectTree :treeData='DeptList' :defaultArray="returnString" nodeKey="DeptId" :multiple="false"
labelKey="DeptName" childrenKey="ChildList" tipText="选择部门" @getChild="getChild" labelKey="DeptName" childrenKey="ChildList" tipText="选择部门" @getChild="getChild"
classStr="col-6 q-pr-lg q-pb-lg"></selectTree> classStr="col-12 q-pb-lg"></selectTree>
</div> </div>
</div> </div>
</div> </div>
...@@ -139,9 +139,9 @@ ...@@ -139,9 +139,9 @@
<div>修改岗位</div> <div>修改岗位</div>
</div> </div>
<div class="row" style="margin-top:20px;"> <div class="row" style="margin-top:20px;">
<div class="col-6"> <div class="col-12">
<q-select filled stack-label option-value="PostId" option-label="PostName" v-model="Post_Id" ref="Post_Id" <q-select filled stack-label option-value="PostId" option-label="PostName" v-model="Post_Id" ref="Post_Id"
:options="PostList" label="岗位" :dense="false" class="col-6 q-pr-lg q-pb-lg" emit-value map-options /> :options="PostList" label="岗位" :dense="false" class="q-pb-lg" emit-value map-options />
</div> </div>
</div> </div>
</div> </div>
...@@ -167,20 +167,20 @@ ...@@ -167,20 +167,20 @@
</div> </div>
</div> </div>
<div class="row" style="margin-top:20px;"> <div class="row" style="margin-top:20px;">
<div class="col-6"> <div class="col-12">
<q-select filled stack-label option-value="Id" option-label="Name" v-model="changeTypeMsg.TargetAccountType" <q-select filled stack-label option-value="Id" option-label="Name" v-model="changeTypeMsg.TargetAccountType"
ref="AccountType" :options="accountTypeList" label="目标职能" :dense="false" class="col-6 q-pr-lg q-pb-lg" ref="AccountType" :options="accountTypeList" label="目标职能" :dense="false" class="col-6 q-pb-lg"
emit-value map-options /> emit-value map-options />
</div> </div>
</div> </div>
<div class="row" style="margin-top:20px;"> <div class="row">
<div class="col-6"> <div class="col-12">
<q-input v-model="changeTypeMsg.Remark" label="调整原因" filled type="textarea" class="col-6 q-pr-lg q-pb-lg" <q-input v-model="changeTypeMsg.Remark" label="调整原因" filled type="textarea" class="col-6 q-pb-lg"
maxlength="100" /> maxlength="100" />
</div> </div>
</div> </div>
</div> </div>
<div style="text-align:left;margin-left:20px;"> <div style="text-align:right;margin-right:20px;">
<q-btn color="primary" label="确定" @click="saveReuslt()" style="width:300px;" /> <q-btn color="primary" label="确定" @click="saveReuslt()" style="width:300px;" />
</div> </div>
</q-card> </q-card>
...@@ -294,11 +294,6 @@ ...@@ -294,11 +294,6 @@
getSchool() { getSchool() {
getSchoolDropdown({}).then(res => { getSchoolDropdown({}).then(res => {
this.schoolList = res.Data; this.schoolList = res.Data;
var obj = {
SName: '总部',
SId: 0
}
this.schoolList.unshift(obj);
}) })
}, },
closeShenheForm() { closeShenheForm() {
...@@ -369,7 +364,14 @@ ...@@ -369,7 +364,14 @@
UpdateEmployeeLeave(Msg).then(res => { UpdateEmployeeLeave(Msg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$emit('success'); this.$emit('success');
this.$emit('close') this.$emit('close');
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '保存成功!',
position: 'top'
})
} }
}) })
} }
...@@ -394,7 +396,14 @@ ...@@ -394,7 +396,14 @@
UpdateEmployeeDept(obj).then(res => { UpdateEmployeeDept(obj).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$emit('success'); this.$emit('success');
this.$emit('close') this.$emit('close');
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '保存成功!',
position: 'top'
})
} }
}) })
} }
...@@ -417,7 +426,14 @@ ...@@ -417,7 +426,14 @@
UpdateEmployeePost(obj).then(res => { UpdateEmployeePost(obj).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$emit('success'); this.$emit('success');
this.$emit('close') this.$emit('close');
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '保存成功!',
position: 'top'
})
} }
}) })
} }
...@@ -425,6 +441,13 @@ ...@@ -425,6 +441,13 @@
if (this.setingObj.type == 5) { if (this.setingObj.type == 5) {
UpdateEmployeeType(this.changeTypeMsg).then(res => { UpdateEmployeeType(this.changeTypeMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '保存成功!',
position: 'top'
})
this.$emit('success'); this.$emit('success');
this.$emit('close') this.$emit('close')
} }
......
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