Commit 0c83d14c authored by 黄奎's avatar 黄奎

转学员

parent 62d9d999
......@@ -55,8 +55,8 @@
</q-field>
</div>
<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 />
<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">
......@@ -281,11 +281,11 @@
</q-dialog>
<!-- 协助老师交接 -->
<q-dialog v-model="teacherIsDetails">
<!-- 协助老师交接 -->
<q-dialog v-model="teacherIsDetails">
<q-card style="width: 450px;">
<q-card-section class="row items-center q-pb-none">
<div class="text-h6">协助人员交接</div>
<div class="text-h6">【{{teacherHandoverMsg.EmployeeName}}】协助人员交接</div>
<q-space />
<q-btn icon="close" flat round dense v-close-popup />
</q-card-section>
......@@ -296,12 +296,13 @@
v-model="teacherHandoverMsg.ReceiveId" @filter="filterFn" ref="Id" :options="Employeelist" label="交接人员"
:dense="false" emit-value map-options />
</div>
</q-card-section>
<q-separator />
<q-card-actions align="right" class="bg-white">
<q-btn class="q-mr-md" label="取消" @click="teacherIsDetails=false" />
<q-btn color="accent" class="q-mr-md" label="确定" @click="saveTeacherHandoverInfo()" :loading="teacherloading" />
<q-btn color="accent" class="q-mr-md" label="确定" @click="saveTeacherHandoverInfo()"
:loading="teacherloading" />
</q-card-actions>
</q-card>
......@@ -530,6 +531,7 @@
teacherHandoverMsg: {
UserId: "", //原跟进成员的userid
ReceiveId: "", //接替成员的userid
EmployeeName: "", //员工姓名
}, //离职人员订单交接数据
teacherloading: false,
teacherIsDetails: false, //离职人员协助老师交接
......@@ -551,9 +553,11 @@
this.orderIsDetails = true
},
// 协助老师交接
teacherHandover(row) {
this.teacherHandoverMsg.UserId = row.EmAccountId
// 协助老师交接
teacherHandover(row) {
console.log("row", row);
this.teacherHandoverMsg.UserId = row.EmAccountId;
this.teacherHandoverMsg.EmployeeName=row.EmployeeName;
this.teacherIsDetails = true
},
saveOrderHandoverInfo() { //保存
......@@ -629,7 +633,7 @@
})
return
}
this.teacherloading = true
let msg = {
UserId: this.teacherHandoverMsg.UserId,
......
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