|
@@ -479,14 +479,14 @@
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="condition">
|
|
<div class="condition">
|
|
|
- <span>身份证 : </span>
|
|
|
|
|
|
|
+ <span>手机号码 : </span>
|
|
|
<el-input
|
|
<el-input
|
|
|
@clear="searchBtn"
|
|
@clear="searchBtn"
|
|
|
@input="searchBtn"
|
|
@input="searchBtn"
|
|
|
clearable
|
|
clearable
|
|
|
- v-model="searchInput3.idCard"
|
|
|
|
|
|
|
+ v-model="searchInput3.phone"
|
|
|
class="w-50 m-2"
|
|
class="w-50 m-2"
|
|
|
- placeholder="请输入身份证"
|
|
|
|
|
|
|
+ placeholder="请输入手机号码"
|
|
|
style="width: 220px"
|
|
style="width: 220px"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
@@ -541,10 +541,16 @@
|
|
|
/>
|
|
/>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
align="center"
|
|
align="center"
|
|
|
|
|
+ prop="phone"
|
|
|
|
|
+ label="手机号码"
|
|
|
|
|
+ width="220"
|
|
|
|
|
+ />
|
|
|
|
|
+ <!-- <el-table-column
|
|
|
|
|
+ align="center"
|
|
|
prop="sfzh"
|
|
prop="sfzh"
|
|
|
label="身份证"
|
|
label="身份证"
|
|
|
width="220"
|
|
width="220"
|
|
|
- />
|
|
|
|
|
|
|
+ /> -->
|
|
|
|
|
|
|
|
<!-- <el-table-column align="center" label="操作" width="150">
|
|
<!-- <el-table-column align="center" label="操作" width="150">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
@@ -829,7 +835,7 @@ const searchInput3 = reactive({
|
|
|
college: "", // 部门学院
|
|
college: "", // 部门学院
|
|
|
name: "", // 姓名
|
|
name: "", // 姓名
|
|
|
schoolCard: "", // 微校卡号
|
|
schoolCard: "", // 微校卡号
|
|
|
- idCard: "", // 身份证
|
|
|
|
|
|
|
+ phone: "", // 手机号码
|
|
|
}); // 搜索按钮数据
|
|
}); // 搜索按钮数据
|
|
|
const currentPage3 = ref(1); // 当前页
|
|
const currentPage3 = ref(1); // 当前页
|
|
|
const pageSize3 = ref(10);
|
|
const pageSize3 = ref(10);
|
|
@@ -956,7 +962,7 @@ const getList = async (flag) => {
|
|
|
data.set("user_name", searchInput3.name); // 名字
|
|
data.set("user_name", searchInput3.name); // 名字
|
|
|
data.set("college", searchInput3.college); // 部门学院
|
|
data.set("college", searchInput3.college); // 部门学院
|
|
|
data.set("card_number", searchInput3.schoolCard); // 微校卡号
|
|
data.set("card_number", searchInput3.schoolCard); // 微校卡号
|
|
|
- data.set("sfzh", searchInput3.idCard); // 身份证
|
|
|
|
|
|
|
+ data.set("phone", searchInput3.phone); // 身份证
|
|
|
data.set("page", currentPage3.value);
|
|
data.set("page", currentPage3.value);
|
|
|
data.set("rows", pageSize3.value); //前面的key记得对应!
|
|
data.set("rows", pageSize3.value); //前面的key记得对应!
|
|
|
let res = await axios({
|
|
let res = await axios({
|
|
@@ -1050,7 +1056,7 @@ const importExcel = async () => {
|
|
|
data.set("user_name", searchInput3.name); // 名字
|
|
data.set("user_name", searchInput3.name); // 名字
|
|
|
data.set("college", searchInput3.college); // 部门学院
|
|
data.set("college", searchInput3.college); // 部门学院
|
|
|
data.set("card_number", searchInput3.schoolCard); // 微校卡号
|
|
data.set("card_number", searchInput3.schoolCard); // 微校卡号
|
|
|
- data.set("sfzh", searchInput3.idCard); // 身份证
|
|
|
|
|
|
|
+ data.set("phone", searchInput3.phone); // 身份证
|
|
|
let res = await axios({
|
|
let res = await axios({
|
|
|
method: "post",
|
|
method: "post",
|
|
|
url: api.value + "/reporttoExcel.action",
|
|
url: api.value + "/reporttoExcel.action",
|
|
@@ -1061,15 +1067,16 @@ const importExcel = async () => {
|
|
|
});
|
|
});
|
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
|
console.log(res, "导出账号");
|
|
console.log(res, "导出账号");
|
|
|
- const elt = document.createElement("a");
|
|
|
|
|
- elt.setAttribute(
|
|
|
|
|
- "href",
|
|
|
|
|
- "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl
|
|
|
|
|
- );
|
|
|
|
|
- elt.setAttribute("download", "file.png");
|
|
|
|
|
- elt.style.display = "none";
|
|
|
|
|
- document.body.appendChild(elt);
|
|
|
|
|
- elt.click();
|
|
|
|
|
|
|
+ // var downloadPath = "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl;
|
|
|
|
|
+ var downloadPath = "https://chtech.ncjti.edu.cn/testingServertomcat" + res.data.downurl;
|
|
|
|
|
+ console.log("获得地址数据:", downloadPath);
|
|
|
|
|
+ var downloadLink = document.createElement("a");
|
|
|
|
|
+ downloadLink.style.display = "none"; // 使其隐藏
|
|
|
|
|
+ downloadLink.href = downloadPath;
|
|
|
|
|
+ downloadLink.download = "";
|
|
|
|
|
+ downloadLink.click();
|
|
|
|
|
+ document.body.appendChild(downloadLink);
|
|
|
|
|
+ document.body.removeChild(downloadLink);
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
type: "success",
|
|
type: "success",
|
|
|
showClose: true,
|
|
showClose: true,
|
|
@@ -1406,6 +1413,8 @@ const tableRowClassName = ({ row, rowIndex }) => {
|
|
|
|
|
|
|
|
onBeforeMount(async () => {
|
|
onBeforeMount(async () => {
|
|
|
api.value = store.state.user.api;
|
|
api.value = store.state.user.api;
|
|
|
|
|
+ console.log(window.location.href,'路由地址')
|
|
|
|
|
+
|
|
|
busNum.list = JSON.parse(sessionStorage.getItem("busSelect"));
|
|
busNum.list = JSON.parse(sessionStorage.getItem("busSelect"));
|
|
|
let data = new FormData();
|
|
let data = new FormData();
|
|
|
data.set("page", 1);
|
|
data.set("page", 1);
|