This commit is contained in:
parent
ddfaeac828
commit
147c830917
|
@ -68,7 +68,6 @@
|
|||
<template v-for="item in data.columns" :key="item.label">
|
||||
<el-table-column
|
||||
v-if="item.type === 'slot'"
|
||||
|
||||
:label="item.label"
|
||||
:property="item.property"
|
||||
:width="item.width || ''"
|
||||
|
@ -145,7 +144,7 @@ import lamp7 from "../../assets/sy-table/lampGreen3.png";
|
|||
import lamp8 from "../../assets/sy-table/lampRed3.png";
|
||||
import lamp9 from "../../assets/sy-table/lampYellow3.png";
|
||||
import { ElMessage } from "element-plus";
|
||||
|
||||
import http from "@/utils/request.js";
|
||||
const router = useRouter();
|
||||
const routers = useRoute();
|
||||
|
||||
|
@ -206,12 +205,26 @@ const escalation = () => {
|
|||
console.log(clicked.value);
|
||||
};
|
||||
const confirmEvent = () => {
|
||||
console.log("confirm!");
|
||||
ElMessage.success({
|
||||
message: `上报成功`,
|
||||
offset: 100, // 距离窗口顶部的偏移量
|
||||
console.log("confirm!", data.character);
|
||||
let ReportedDto = {
|
||||
name: data.character.xm,
|
||||
address: data.character.dz,
|
||||
phone: "",
|
||||
type: "ggdw_mz_db",
|
||||
};
|
||||
http.post(`/api/ggfwyth/pg/reported`, ReportedDto).then((res) => {
|
||||
if (res.code == 200) {
|
||||
ElMessage.success({
|
||||
message: `上报成功`,
|
||||
});
|
||||
clicked.value = false;
|
||||
}else{
|
||||
ElMessage.error({
|
||||
message: res.message,
|
||||
});
|
||||
clicked.value = false;
|
||||
}
|
||||
});
|
||||
clicked.value = false;
|
||||
};
|
||||
const cancelEvent = () => {
|
||||
clicked.value = false;
|
||||
|
|
|
@ -2666,7 +2666,7 @@ const updateFormDataAndTable = (formDataName, tableData) => {
|
|||
data.column_2 = tableData.column_2;
|
||||
data.tableData = tableData.tableData1; //列表1
|
||||
data.tableData1 = tableData.tableData2; //列表2
|
||||
data.tableData3 = tableData.tableData3; //列表3 状态假数据
|
||||
data.tableData3 = tableData.tableData3; //列表3 状态假数据(全部未筛选)
|
||||
pagination1.total = tableData.tableData2.length;
|
||||
handlePagination1(1);
|
||||
if (formDataName == "低保") {
|
||||
|
|
|
@ -678,7 +678,7 @@ const sevenYX = (name) => {
|
|||
onMounted(() => {
|
||||
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
||||
|
||||
if (localStorage.getItem("taps1") !== undefined) {
|
||||
if (localStorage.getItem("taps1")) {
|
||||
data.tapbody = JSON.parse(localStorage.getItem("taps1"));
|
||||
data.taps = localStorage.getItem("taps");
|
||||
data.taps1 = data.tapbody.id;
|
||||
|
|
|
@ -15,8 +15,8 @@ export default defineConfig({
|
|||
// 第一个代理
|
||||
"/api": {
|
||||
// 匹配到啥来进行方向代理
|
||||
// target: "http://10.0.0.65:8095/", //刘进
|
||||
target: "http://220.191.238.50:996/", //线上
|
||||
target: "http://10.0.0.65:8095/", //刘进
|
||||
// target: "http://220.191.238.50:996/", //线上
|
||||
changeOrigin: true, //是否支持跨域
|
||||
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue