Commit bc6ac4b9 authored by 黄奎's avatar 黄奎

页面修改

parent 34b4d1c6
......@@ -11,6 +11,7 @@
padding: 0 3px;
min-height: 0 !important;
}
</style>
<template>
<div class="page-body">
......@@ -34,8 +35,8 @@
v-model="msg.Post_Id" ref="Post_Id" :options="PostList" label="岗位" :dense="false" emit-value map-options />
</div>
<div class="col-3">
<q-select filled @input="resetSearch" stack-label option-value="Id" option-label="Name"
v-model="msg.IsLeave " :options="LeaveStatusList" label="在职状态" :dense="false" emit-value map-options />
<q-select filled @input="resetSearch" stack-label option-value="Id" option-label="Name" v-model="msg.IsLeave "
:options="LeaveStatusList" label="在职状态" :dense="false" emit-value map-options />
</div>
<div class="col-3 Sysuser_Date">
<q-field filled>
......@@ -53,7 +54,11 @@
</template>
</q-field>
</div>
<div class="col-3 Sysuser_Date">
<div class="col-3">
<q-select filled stack-label option-value="Id" option-label="Name" v-model="msg.AccountUserType" @input="resetSearch()"
:options="AccountUserTypeList" label="员工类型" :dense="false" emit-value map-options />
</div>
<!-- <div class="col-3 Sysuser_Date">
<q-field filled class="col-6">
<template v-slot:control>
<el-date-picker v-model="dateListTwo" @change="resetSearch()" format="MM-dd"  value-format="yyyy-MM-dd"
......@@ -61,7 +66,7 @@
 end-placeholder="生日结束时间" />
</template>
</q-field>
</div>
</div> -->
</div>
</div>
<div class="page-content">
......@@ -433,7 +438,17 @@
StartBirthDate: "", //开始生日
EndBirthDate: "", //结束生日
EmployeeName: "", //员工姓名电话
AccountUserType: 1, //员工类型(1-甲鹤员工,2-旅游员工)
},
AccountUserTypeList: [{
Id: 1,
Name: "甲鹤员工"
},
{
Id: 2,
Name: "旅游员工"
},
],
pageCount: 0,
managerOption: null,
schoolList: [], //校区数组
......@@ -470,15 +485,15 @@
Employeelist: [],
AllEmployeelist: [],
DeptEmpEnable: 0, //是否显示企业微信信息 1 显示
orderIsDetails:false,//离职人员订单交接
orderHandoverMsg:{
UserId:"",//原跟进成员的userid
ReceiveId:"",//接替成员的userid
TypeIds:0,//类型 1 订单转交 2学员转交
CustomerTransfer:"1",//是否订单转移
ChannelTransfer:"1",//是否渠道码人员转移
},//离职人员订单交接数据
orderloading:false,
orderIsDetails: false, //离职人员订单交接
orderHandoverMsg: {
UserId: "", //原跟进成员的userid
ReceiveId: "", //接替成员的userid
TypeIds: 0, //类型 1 订单转交 2学员转交
CustomerTransfer: "1", //是否订单转移
ChannelTransfer: "1", //是否渠道码人员转移
}, //离职人员订单交接数据
orderloading: false,
}
},
mounted() {
......@@ -492,7 +507,7 @@
},
methods: {
// 订单交接
orderHandover(row){
orderHandover(row) {
this.orderHandoverMsg.UserId = row.EmAccountId
this.orderIsDetails = true
},
......@@ -521,18 +536,18 @@
})
return
}
if(this.orderHandoverMsg.CustomerTransfer==1&&this.orderHandoverMsg.ChannelTransfer!=1){
this.orderHandoverMsg.TypeIds="1"
}else if(this.orderHandoverMsg.CustomerTransfer!=1&&this.orderHandoverMsg.ChannelTransfer==1){
this.orderHandoverMsg.TypeIds="2"
}else if(this.orderHandoverMsg.CustomerTransfer==1&&this.orderHandoverMsg.ChannelTransfer==1){
this.orderHandoverMsg.TypeIds="1,2"
if (this.orderHandoverMsg.CustomerTransfer == 1 && this.orderHandoverMsg.ChannelTransfer != 1) {
this.orderHandoverMsg.TypeIds = "1"
} else if (this.orderHandoverMsg.CustomerTransfer != 1 && this.orderHandoverMsg.ChannelTransfer == 1) {
this.orderHandoverMsg.TypeIds = "2"
} else if (this.orderHandoverMsg.CustomerTransfer == 1 && this.orderHandoverMsg.ChannelTransfer == 1) {
this.orderHandoverMsg.TypeIds = "1,2"
}
this.orderloading = true
let msg = {
UserId:this.orderHandoverMsg.UserId,
ReceiveId:this.orderHandoverMsg.ReceiveId,
TypeIds:this.orderHandoverMsg.TypeIds
UserId: this.orderHandoverMsg.UserId,
ReceiveId: this.orderHandoverMsg.ReceiveId,
TypeIds: this.orderHandoverMsg.TypeIds
}
SetUserLeaveOrderCareOf(msg).then(res => {
if (res.Code == 1)
......@@ -971,7 +986,9 @@
}
},
}
</script>
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
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