Commit bc6ac4b9 authored by 黄奎's avatar 黄奎

页面修改

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