This commit is contained in:
姚宇浩 2024-12-16 10:10:48 +08:00
parent c81c061c2f
commit 09a47cff5a
2 changed files with 71 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import axios from "axios";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
import tools from "@/utils/tools"; import tools from "@/utils/tools";
import router from "../router"; import router from "../router";
// axios.defaults.baseURL = 'https://jzzf.longyou.gov.cn:998/' axios.defaults.baseURL = 'https://jzzf.longyou.gov.cn:998/'
axios.defaults.timeout = 120000; axios.defaults.timeout = 120000;

View File

@ -862,7 +862,68 @@ const columnsList = reactive({
width: "100", width: "100",
}, },
], ],
columns65: [
{
label: "序号",
property: "index",
width: "60",
fixed: "left",
}, },
{
label: "姓名",
property: "xm",
width: "70",
fixed: "left",
},
{
label: "身份证",
property: "sfzhm",
width: "170",
},
{
label: "低保证号",
property: "jzzh",
width: "210",
},
{
label: "联系电话",
property: "sjhm",
width: "120",
},
{
label: "乡镇(街道)",
property: "xzjd",
width: "100",
},
{
label: "村社",
property: "csq",
width: "100",
},
{
label: "地址",
property: "dz",
},
{
label: "救助日期",
property: "jzrq",
width: "100",
},
{
label: "残疾人护理金额",
property: "col1",
width: "100",
},
{
label: "操作",
property: "cz",
type: "slot",
width: "160",
},
],
},
//65
// : { // : {
// titleList: [ // titleList: [
// { // {
@ -1114,7 +1175,15 @@ onMounted(() => {
const query = routers.query; const query = routers.query;
Object.assign(data, { xh: query.xh, bm: query.bm, msgId: query.msgId }); Object.assign(data, { xh: query.xh, bm: query.bm, msgId: query.msgId });
const defaultTitle = columnsList["最低生活保障"].titleList[0]; const defaultTitle = columnsList["最低生活保障"].titleList[0];
if(query.bm == "65"){
console.log(columnsList["最低生活保障"].columns65);
data.columns = columnsList["最低生活保障"].columns65;
}else{
data.columns = columnsList["最低生活保障"][defaultTitle.col]; data.columns = columnsList["最低生活保障"][defaultTitle.col];
}
data.url = defaultTitle.url; data.url = defaultTitle.url;
titleList.splice(0, titleList.length, ...(data.xh === "59" titleList.splice(0, titleList.length, ...(data.xh === "59"