This commit is contained in:
parent
734827bd08
commit
f9f4f8cdb0
|
@ -75,11 +75,10 @@
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
|
|
||||||
<!-- v-if="visibleIndex.value == scope.$index" -->
|
|
||||||
<el-popover
|
<el-popover
|
||||||
:visible="scope.row.index==chooseBfh"
|
:visible="scope.row.index == chooseBfh"
|
||||||
placement="right"
|
placement="right"
|
||||||
:width="220"
|
:width="240"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
@visible-change="handleVisibleChange"
|
@visible-change="handleVisibleChange"
|
||||||
>
|
>
|
||||||
|
@ -93,14 +92,21 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<div style="display: flex; justify-content: space-between">
|
||||||
|
<el-icon :size="16" color="#ff9900"
|
||||||
|
><QuestionFilled
|
||||||
|
/></el-icon>
|
||||||
<p>是否确定该人员不符合要求?</p>
|
<p>是否确定该人员不符合要求?</p>
|
||||||
|
</div>
|
||||||
<div style="text-align: right; margin: 0">
|
<div style="text-align: right; margin: 0">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="nonCompliance"
|
v-model="nonCompliance"
|
||||||
placeholder="请输入不符合原因"
|
placeholder="请输入不符合原因"
|
||||||
clearable
|
clearable
|
||||||
|
style="margin: 8px 0"
|
||||||
/>
|
/>
|
||||||
<el-button size="small" text @click="chooseBfh = 0"
|
<div style="display: flex; justify-content: space-evenly">
|
||||||
|
<el-button size="small" @click="chooseBfh = 0"
|
||||||
>取消</el-button
|
>取消</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -111,6 +117,7 @@
|
||||||
确认
|
确认
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
|
|
||||||
<!-- <el-popconfirm
|
<!-- <el-popconfirm
|
||||||
|
@ -474,7 +481,7 @@ import { useRouter, useRoute } from "vue-router";
|
||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
import http from "@/utils/request.js";
|
import http from "@/utils/request.js";
|
||||||
import { Search } from "@element-plus/icons-vue";
|
import { Search } from "@element-plus/icons-vue";
|
||||||
|
import { QuestionFilled } from "@element-plus/icons-vue";
|
||||||
import { useLoadingStore } from "@/stores/loading.js";
|
import { useLoadingStore } from "@/stores/loading.js";
|
||||||
import tools from "@/utils/tools";
|
import tools from "@/utils/tools";
|
||||||
|
|
||||||
|
@ -483,9 +490,8 @@ const router = useRouter();
|
||||||
const routers = useRoute();
|
const routers = useRoute();
|
||||||
const chooseTitle = ref(1);
|
const chooseTitle = ref(1);
|
||||||
const visible = ref(false); //提示确认框
|
const visible = ref(false); //提示确认框
|
||||||
const visibleIndex = ref(null); //提示确认框显示
|
|
||||||
const nonCompliance = ref(""); //不符合原因
|
const nonCompliance = ref(""); //不符合原因
|
||||||
const chooseBfh=ref(0);
|
const chooseBfh = ref(0);//提示确认框显示
|
||||||
const search1 = reactive({
|
const search1 = reactive({
|
||||||
name: "",
|
name: "",
|
||||||
date: "",
|
date: "",
|
||||||
|
@ -972,7 +978,6 @@ const personDetails = () => {
|
||||||
res.data.forEach((item, index) => {
|
res.data.forEach((item, index) => {
|
||||||
item.index = index + 1 + (currentPage - 1) * pageSize;
|
item.index = index + 1 + (currentPage - 1) * pageSize;
|
||||||
});
|
});
|
||||||
// console.log(2222222222, data.tableData1);
|
|
||||||
} else {
|
} else {
|
||||||
ElMessage.warning({
|
ElMessage.warning({
|
||||||
message: res.message,
|
message: res.message,
|
||||||
|
@ -1034,15 +1039,12 @@ const handleVisibleChange = (newVisible) => {
|
||||||
visible.value = newVisible;
|
visible.value = newVisible;
|
||||||
};
|
};
|
||||||
const inconsistent = (index, row, status) => {
|
const inconsistent = (index, row, status) => {
|
||||||
console.log(index, row, status);
|
// console.log(index, row, status);
|
||||||
// visible.value = true;
|
chooseBfh.value = row.index;
|
||||||
chooseBfh.value=row.index
|
|
||||||
visibleIndex.value = index;
|
|
||||||
};
|
};
|
||||||
const handleEdit = (index, row, status) => {
|
const handleEdit = (index, row, status) => {
|
||||||
console.log(index, row, status);
|
console.log(index, row, status);
|
||||||
// visible.value = true;
|
chooseBfh.value = 0;
|
||||||
chooseBfh.value=0;
|
|
||||||
pushStatus(row, status);
|
pushStatus(row, status);
|
||||||
};
|
};
|
||||||
const pushStatus = (val, status) => {
|
const pushStatus = (val, status) => {
|
||||||
|
|
Loading…
Reference in New Issue