1
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
<el-table-column prop="phone" label="手机号" align="center" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="操作" width="200" align="center">
|
||||
<template #default="scope">
|
||||
<el-button type="primary" size="small" @click="showSkill(scope.row)">技能矩阵</el-button>
|
||||
<!-- <el-button type="primary" size="small" @click="showSkill(scope.row)">技能矩阵</el-button> -->
|
||||
<el-button type="success" size="small" @click="handleGroupAddPersion(scope.row)">绑定</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -212,7 +212,6 @@ const { proxy } = getCurrentInstance()
|
||||
const groupOptions = ref([])
|
||||
function getGroupOptionsDict() {
|
||||
getGroupOptions().then((res) => {
|
||||
|
||||
groupOptions.value = res.data.map((item) => {
|
||||
return {
|
||||
id: item.id,
|
||||
@@ -402,7 +401,7 @@ function getBindPersionList(row) {
|
||||
persionBindLoading.value = true
|
||||
const parmas = {
|
||||
schedule_date: proxy.$dayjs(selectDate.value).format('YYYY-MM-DD hh:mm:ss'),
|
||||
group_code:ChouseRowGroupCode.value
|
||||
group_code: ChouseRowGroupCode.value
|
||||
}
|
||||
SearchPersonBindGroup(parmas).then((res) => {
|
||||
const { code, data } = res
|
||||
@@ -420,7 +419,7 @@ function handlePersionDelete(row) {
|
||||
// 解绑
|
||||
const parms = {
|
||||
schedule_date: proxy.$dayjs(selectDate.value).format('YYYY-MM-DD hh:mm:ss'),
|
||||
group_code:ChouseRowGroupCode.value,
|
||||
group_code: ChouseRowGroupCode.value,
|
||||
group_schedule_id: selectGroupScheduleId.value,
|
||||
person_id: row.id
|
||||
}
|
||||
@@ -447,7 +446,7 @@ function addBindPersion() {
|
||||
function getNotBindPersionList() {
|
||||
persionNotBindLoading.value = true
|
||||
queryNotBindPersionParams.value.group_code = ChouseRowGroupCode.value
|
||||
queryNotBindPersionParams.value.schedule_date = proxy.$dayjs(selectDate.value).format('YYYY-MM-DD hh:mm:ss')
|
||||
queryNotBindPersionParams.value.scheduleDate = proxy.$dayjs(selectDate.value).format('YYYY-MM-DD hh:mm:ss')
|
||||
SearchPersonNotBindGroup(queryNotBindPersionParams.value).then((res) => {
|
||||
const { code, data } = res
|
||||
if (code == 200) {
|
||||
@@ -469,8 +468,8 @@ function resetNotBindPersionParamsQuery() {
|
||||
}
|
||||
function handleGroupAddPersion(row) {
|
||||
const parms = {
|
||||
schedule_date:proxy.$dayjs(selectDate.value).format('YYYY-MM-DD hh:mm:ss'),
|
||||
group_code:ChouseRowGroupCode.value,
|
||||
schedule_date: proxy.$dayjs(selectDate.value).format('YYYY-MM-DD hh:mm:ss'),
|
||||
group_code: ChouseRowGroupCode.value,
|
||||
group_schedule_id: selectGroupScheduleId.value,
|
||||
person_id: row.id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user