Compare commits
No commits in common. "ed00ccef118b919c925933448823d6c4bebbf60f" and "0ee367788d33f1914768066c55ebed1d390a8573" have entirely different histories.
ed00ccef11
...
0ee367788d
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 157 KiB |
|
@ -39,72 +39,63 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%; height: calc(100% - 110px)" class="table-els">
|
<div style="width: 100%; height: calc(100% - 110px)">
|
||||||
<div class="tabelHead">
|
<div class="tabelHead">
|
||||||
<div><span>姓名:</span>{{ data.character.xm }}</div>
|
<div><span>姓名:</span>{{ data.character.xm }}</div>
|
||||||
<div><span>地址:</span>{{ data.character.dz }}</div>
|
<div><span>地址:</span>{{ data.character.dz }}</div>
|
||||||
<div><span>年龄:</span>{{ data.character.age }}</div>
|
<div><span>年龄:</span>{{ data.character.age }}</div>
|
||||||
<div><span>标签:</span>{{ data.character.titleName }}</div>
|
<div><span>标签:</span>{{ data.character.titleName }}</div>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<span>状态:</span>
|
<span>状态:</span><img :src="lampImages[data.character.zt]" />
|
||||||
<img :src="lampImages[data.character.zt]" @click="escalation" />
|
|
||||||
<div class="lampBox" v-if="clicked">
|
|
||||||
<div class="lampTitle">确定要上报吗?</div>
|
|
||||||
<div class="lampBtn">
|
|
||||||
<div class="confirm" @click="confirmEvent()">上报</div>
|
|
||||||
<div class="cancel" @click="cancelEvent()">取消</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="table_zt">
|
||||||
<el-table
|
<el-table
|
||||||
:data="data.tableData"
|
:data="data.tableData"
|
||||||
height="100%"
|
height="100%"
|
||||||
:key="tableKey"
|
:key="tableKey"
|
||||||
:header-cell-style="{ background: '#008FCD' }"
|
:header-cell-style="{ background: '#008FCD' }"
|
||||||
@row-click="handleRowClick"
|
@row-click="handleRowClick"
|
||||||
>
|
>
|
||||||
<template v-for="item in data.columns" :key="item.label">
|
<template v-for="item in data.columns" :key="item.label">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-if="item.type === 'slot'"
|
v-if="item.type === 'slot'"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:property="item.property"
|
:property="item.property"
|
||||||
:width="item.width || ''"
|
:width="item.width || ''"
|
||||||
:align="item.align || 'center'"
|
:align="item.align || 'center'"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<!-- 状态 -->
|
<!-- 状态 -->
|
||||||
<div v-if="item.property == 'zt'">
|
<div v-if="item.property == 'zt'">
|
||||||
<div v-if="scope.row.zt == 1" class="progressGreen"></div>
|
<div v-for="index in 3" :key="index">
|
||||||
<div v-if="scope.row.zt == 2" class="progressYellow"></div>
|
<img
|
||||||
<!-- <div v-for="index in 3" :key="index">
|
style="width: 30px; height: 30px"
|
||||||
<img
|
v-if="scope.row.zt == index"
|
||||||
style="width: 30px; height: 30px"
|
:src="lampImages[index]"
|
||||||
v-if="scope.row.zt == index"
|
alt="状态"
|
||||||
:src="lampImages[index]"
|
/>
|
||||||
alt="状态"
|
</div>
|
||||||
/>
|
</div>
|
||||||
</div> -->
|
<!-- <slot
|
||||||
</div>
|
|
||||||
<!-- <slot
|
|
||||||
:name="item.property"
|
:name="item.property"
|
||||||
:currentCol="item"
|
:currentCol="item"
|
||||||
:currentData="scope.row"
|
:currentData="scope.row"
|
||||||
></slot> -->
|
></slot> -->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-else
|
v-else
|
||||||
:property="item.property"
|
:property="item.property"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
:width="item.width || ''"
|
:width="item.width || ''"
|
||||||
:align="item.align || 'center'"
|
:align="item.align || 'center'"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pagePart">
|
<div class="pagePart">
|
||||||
|
@ -128,7 +119,7 @@ import {
|
||||||
onMounted,
|
onMounted,
|
||||||
reactive,
|
reactive,
|
||||||
ref,
|
ref,
|
||||||
onBeforeUnmount,
|
onBeforeMount,
|
||||||
defineProps,
|
defineProps,
|
||||||
watch,
|
watch,
|
||||||
nextTick,
|
nextTick,
|
||||||
|
@ -144,7 +135,6 @@ import lamp6 from "../../assets/sy-table/yellow1.gif";
|
||||||
import lamp7 from "../../assets/sy-table/lampGreen3.png";
|
import lamp7 from "../../assets/sy-table/lampGreen3.png";
|
||||||
import lamp8 from "../../assets/sy-table/lampRed3.png";
|
import lamp8 from "../../assets/sy-table/lampRed3.png";
|
||||||
import lamp9 from "../../assets/sy-table/lampYellow3.png";
|
import lamp9 from "../../assets/sy-table/lampYellow3.png";
|
||||||
import { ElMessage } from "element-plus";
|
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const routers = useRoute();
|
const routers = useRoute();
|
||||||
|
@ -183,7 +173,7 @@ const props = defineProps({
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const emit = defineEmits(["close", "handle", "openMessage"]);
|
const emit = defineEmits(["close", "handle", "loadTables", "openMessage"]);
|
||||||
|
|
||||||
const handleRowClick = (row, column, event) => {
|
const handleRowClick = (row, column, event) => {
|
||||||
if (props.dj) {
|
if (props.dj) {
|
||||||
|
@ -193,29 +183,9 @@ const handleRowClick = (row, column, event) => {
|
||||||
// query: { identNo: row.identNo, type: "detail" },
|
// query: { identNo: row.identNo, type: "detail" },
|
||||||
// });
|
// });
|
||||||
// row 是当前行的数据
|
// row 是当前行的数据
|
||||||
// emit("openMessage", { identNo: row.identNo });
|
emit("openMessage", { identNo: row.identNo });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// 上报
|
|
||||||
const clicked = ref(false);
|
|
||||||
const lampBox = ref(null);
|
|
||||||
const escalation = () => {
|
|
||||||
if (data.character.zt !== 1) {
|
|
||||||
clicked.value = true;
|
|
||||||
}
|
|
||||||
console.log(clicked.value);
|
|
||||||
};
|
|
||||||
const confirmEvent = () => {
|
|
||||||
console.log("confirm!");
|
|
||||||
ElMessage.success({
|
|
||||||
message: `上报成功`,
|
|
||||||
offset: 100, // 距离窗口顶部的偏移量
|
|
||||||
});
|
|
||||||
clicked.value = false;
|
|
||||||
};
|
|
||||||
const cancelEvent = () => {
|
|
||||||
clicked.value = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
// 详情弹框
|
// 详情弹框
|
||||||
const dialogShow = ref();
|
const dialogShow = ref();
|
||||||
|
@ -271,13 +241,13 @@ onMounted(() => {
|
||||||
data.title = props.title;
|
data.title = props.title;
|
||||||
data.tableData = props.tableData;
|
data.tableData = props.tableData;
|
||||||
console.log("状态", data);
|
console.log("状态", data);
|
||||||
// const paginationTotal = document.querySelector(".el-pagination__total");
|
|
||||||
|
const paginationTotal = document.querySelector(".el-pagination__total");
|
||||||
// paginationTotal.innerText = `总共 ${props.pagination.total} 组数据`;
|
// paginationTotal.innerText = `总共 ${props.pagination.total} 组数据`;
|
||||||
});
|
});
|
||||||
|
|
||||||
const closeDialog = () => {
|
const closeDialog = () => {
|
||||||
dialogShow.value = false;
|
dialogShow.value = false;
|
||||||
clicked.value = false;
|
|
||||||
emit("close");
|
emit("close");
|
||||||
};
|
};
|
||||||
//分页器
|
//分页器
|
||||||
|
@ -285,7 +255,6 @@ const handle = (current) => {
|
||||||
emit("handle", current);
|
emit("handle", current);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
:deep(.el-dialog) {
|
:deep(.el-dialog) {
|
||||||
--el-dialog-bg-color: none;
|
--el-dialog-bg-color: none;
|
||||||
|
@ -298,7 +267,7 @@ const handle = (current) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabelPart {
|
.tabelPart {
|
||||||
padding: 16px 32px;
|
padding: 16px;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
270deg,
|
270deg,
|
||||||
rgba(0, 77, 131, 0.69) 0%,
|
rgba(0, 77, 131, 0.69) 0%,
|
||||||
|
@ -323,7 +292,6 @@ const handle = (current) => {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 10px;
|
|
||||||
img {
|
img {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
|
@ -335,57 +303,8 @@ const handle = (current) => {
|
||||||
.status {
|
.status {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
|
||||||
.lampBox {
|
|
||||||
width: 270px;
|
|
||||||
height: 146px;
|
|
||||||
position: absolute;
|
|
||||||
top: 40px;
|
|
||||||
right: -6px;
|
|
||||||
background-image: url(@/assets/sy-table/popk.png);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 100% 100%;
|
|
||||||
z-index: 999;
|
|
||||||
.lampTitle {
|
|
||||||
text-align: center;
|
|
||||||
// padding-top: 33px;
|
|
||||||
margin: 33px 0 30px 0;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 500;
|
|
||||||
font-family: PingFangSC, PingFang SC;
|
|
||||||
color: #ffffff;
|
|
||||||
line-height: 22px;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
}
|
|
||||||
.lampBtn {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
.confirm {
|
|
||||||
width: 82.5px;
|
|
||||||
height: 30.5px;
|
|
||||||
line-height: 30.5px;
|
|
||||||
text-align: center;
|
|
||||||
background-image: url(@/assets/sy-table/btn1.png);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 100% 100%;
|
|
||||||
margin-right: 9px;
|
|
||||||
}
|
|
||||||
.cancel {
|
|
||||||
width: 82.5px;
|
|
||||||
height: 30.5px;
|
|
||||||
line-height: 30.5px;
|
|
||||||
text-align: center;
|
|
||||||
background-image: url(@/assets/sy-table/btn2.png);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 100% 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table) {
|
:deep(.el-table) {
|
||||||
--el-table-bg-color: none;
|
--el-table-bg-color: none;
|
||||||
--el-table-tr-bg-color: none;
|
--el-table-tr-bg-color: none;
|
||||||
|
@ -424,27 +343,6 @@ const handle = (current) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.progressGreen {
|
|
||||||
width: 106px;
|
|
||||||
height: 8px;
|
|
||||||
background: linear-gradient(358deg, #21eda8 0%, #8bffcd 100%);
|
|
||||||
border-radius: 8px;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
.progressYellow {
|
|
||||||
width: 106px;
|
|
||||||
height: 8px;
|
|
||||||
border-radius: 8px;
|
|
||||||
border: 1px solid;
|
|
||||||
margin: 0 auto;
|
|
||||||
border-image: linear-gradient(
|
|
||||||
270deg,
|
|
||||||
rgba(255, 197, 117, 1),
|
|
||||||
rgba(255, 226, 151, 1)
|
|
||||||
)
|
|
||||||
1 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bo {
|
.bo {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -487,4 +385,5 @@ const handle = (current) => {
|
||||||
height: 19px;
|
height: 19px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 97.5%; position: relative" class="ta">
|
<div style="width: 97.5%; position: relative">
|
||||||
<div class="backgroundVirtual"></div>
|
<div class="backgroundVirtual"></div>
|
||||||
<el-table
|
<el-table
|
||||||
border
|
border
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 97.5%; position: relative" class="ta">
|
<div style="width: 97.5%; position: relative">
|
||||||
<div class="backgroundVirtual"></div>
|
<div class="backgroundVirtual"></div>
|
||||||
<el-table
|
<el-table
|
||||||
border
|
border
|
||||||
|
@ -191,7 +191,7 @@
|
||||||
<!-- <div v-else class="text_1">未享受对象</div> -->
|
<!-- <div v-else class="text_1">未享受对象</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 97.5%; position: relative" class="ta">
|
<div style="width: 97.5%; position: relative">
|
||||||
<div class="backgroundVirtual"></div>
|
<div class="backgroundVirtual"></div>
|
||||||
<el-table
|
<el-table
|
||||||
border
|
border
|
||||||
|
@ -390,12 +390,12 @@ const formData = reactive({
|
||||||
{
|
{
|
||||||
label: "服务内容",
|
label: "服务内容",
|
||||||
property: "fwnr",
|
property: "fwnr",
|
||||||
align: "center",
|
align: "left",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "结果",
|
label: "结果",
|
||||||
property: "zt",
|
property: "zt",
|
||||||
width: "260",
|
width: "200",
|
||||||
align: "center",
|
align: "center",
|
||||||
type: "slot",
|
type: "slot",
|
||||||
},
|
},
|
||||||
|
@ -656,22 +656,6 @@ const formData = reactive({
|
||||||
PopulationLabel: "收入型低保",
|
PopulationLabel: "收入型低保",
|
||||||
sfzhm: "281889",
|
sfzhm: "281889",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
fullName: "伍*凤",
|
|
||||||
zt: 2,
|
|
||||||
address: "衢州市龙游县模******居民委员会",
|
|
||||||
age: "46",
|
|
||||||
PopulationLabel: "收入型低保",
|
|
||||||
sfzhm: "281889",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fullName: "伍*凤",
|
|
||||||
zt: 3,
|
|
||||||
address: "衢州市龙游县模******居民委员会",
|
|
||||||
age: "46",
|
|
||||||
PopulationLabel: "收入型低保",
|
|
||||||
sfzhm: "281889",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
fullName: "吴*琴",
|
fullName: "吴*琴",
|
||||||
zt: 1,
|
zt: 1,
|
||||||
|
@ -763,7 +747,7 @@ const formData = reactive({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。",
|
fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。",
|
||||||
zt: 1,
|
zt: 3,
|
||||||
identNo: "309601",
|
identNo: "309601",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -861,7 +845,7 @@ const formData = reactive({
|
||||||
{
|
{
|
||||||
label: "结果",
|
label: "结果",
|
||||||
property: "zt",
|
property: "zt",
|
||||||
width: "260",
|
width: "200",
|
||||||
align: "center",
|
align: "center",
|
||||||
type: "slot",
|
type: "slot",
|
||||||
},
|
},
|
||||||
|
@ -1357,7 +1341,7 @@ const formData = reactive({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fwnr: "经济困难老年人发放养老护理补贴每月125",
|
fwnr: "经济困难老年人发放养老护理补贴每月125",
|
||||||
zt: 1,
|
zt: 3,
|
||||||
identNo: "309601",
|
identNo: "309601",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -1454,7 +1438,7 @@ const formData = reactive({
|
||||||
{
|
{
|
||||||
label: "结果",
|
label: "结果",
|
||||||
property: "zt",
|
property: "zt",
|
||||||
width: "260",
|
width: "200",
|
||||||
align: "center",
|
align: "center",
|
||||||
type: "slot",
|
type: "slot",
|
||||||
},
|
},
|
||||||
|
@ -1564,7 +1548,7 @@ const formData = reactive({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fwnr: "经济困难老年人发放养老护理补贴每月125",
|
fwnr: "经济困难老年人发放养老护理补贴每月125",
|
||||||
zt: 1,
|
zt: 3,
|
||||||
identNo: "309601",
|
identNo: "309601",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -1650,7 +1634,7 @@ const formData = reactive({
|
||||||
{
|
{
|
||||||
label: "结果",
|
label: "结果",
|
||||||
property: "zt",
|
property: "zt",
|
||||||
width: "260",
|
width: "200",
|
||||||
align: "center",
|
align: "center",
|
||||||
type: "slot",
|
type: "slot",
|
||||||
},
|
},
|
||||||
|
@ -1793,7 +1777,7 @@ const formData = reactive({
|
||||||
zt: 1,
|
zt: 1,
|
||||||
xx: "寺后小学",
|
xx: "寺后小学",
|
||||||
bzlx: "原外地建档",
|
bzlx: "原外地建档",
|
||||||
identNo: "369167",
|
identNo:'369167',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xm: "何*媱",
|
xm: "何*媱",
|
||||||
|
@ -1893,7 +1877,7 @@ const formData = reactive({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。",
|
fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。",
|
||||||
zt: 2,
|
zt: 3,
|
||||||
identNo: "309601",
|
identNo: "309601",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1980,7 +1964,7 @@ const formData = reactive({
|
||||||
{
|
{
|
||||||
label: "结果",
|
label: "结果",
|
||||||
property: "zt",
|
property: "zt",
|
||||||
width: "260",
|
width: "200",
|
||||||
align: "center",
|
align: "center",
|
||||||
type: "slot",
|
type: "slot",
|
||||||
},
|
},
|
||||||
|
@ -2118,12 +2102,12 @@ const formData = reactive({
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
tableData2: [
|
tableData2: [
|
||||||
{
|
{
|
||||||
xm: "何*媱",
|
xm: "何*媱",
|
||||||
zt: 1,
|
zt: 1,
|
||||||
xx: "寺后小学",
|
xx: "寺后小学",
|
||||||
bzlx: "原外地建档",
|
bzlx: "原外地建档",
|
||||||
identNo: "369167",
|
identNo:'369167',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xm: "何*媱",
|
xm: "何*媱",
|
||||||
|
@ -2223,7 +2207,7 @@ const formData = reactive({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。",
|
fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。",
|
||||||
zt: 1,
|
zt: 3,
|
||||||
identNo: "309601",
|
identNo: "309601",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2538,6 +2522,7 @@ const statusDetails = (val) => {
|
||||||
titleName: formData.name,
|
titleName: formData.name,
|
||||||
};
|
};
|
||||||
dialogShow.value = true;
|
dialogShow.value = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "义务教育学生营养改善计划":
|
case "义务教育学生营养改善计划":
|
||||||
|
@ -2556,6 +2541,7 @@ const statusDetails = (val) => {
|
||||||
titleName: formData.name,
|
titleName: formData.name,
|
||||||
};
|
};
|
||||||
dialogShow.value = true;
|
dialogShow.value = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -2675,6 +2661,7 @@ const handleRowClick = (row) => {
|
||||||
path: `/home/index/person`,
|
path: `/home/index/person`,
|
||||||
query: { identNo: data.identNo, type: "detail" },
|
query: { identNo: data.identNo, type: "detail" },
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "义务教育学生营养改善计划":
|
case "义务教育学生营养改善计划":
|
||||||
|
@ -2760,7 +2747,7 @@ const listAssignment = () => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
||||||
if (routers.query.name) {
|
if (routers.query.name) {
|
||||||
data.name = routers.query.name;
|
data.name = routers.query.name;
|
||||||
listAssignment();
|
listAssignment();
|
||||||
|
@ -2969,7 +2956,7 @@ onMounted(() => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// 表格
|
// 表格
|
||||||
:deep(.el-table) {
|
:deep(.el-table) {
|
||||||
background: rgba(32, 64, 115, 1);
|
background: rgba(32, 64, 115, 1) ;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
--el-table-tr-bg-color: none;
|
--el-table-tr-bg-color: none;
|
||||||
--el-table-header-bg-color: none;
|
--el-table-header-bg-color: none;
|
||||||
|
@ -3277,39 +3264,37 @@ onMounted(() => {
|
||||||
</style>
|
</style>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// 分页
|
// 分页
|
||||||
.ta {
|
:deep(.el-pagination > .is-last) {
|
||||||
:deep(.el-pagination > .is-last) {
|
color: #fff !important ;
|
||||||
color: #fff !important ;
|
}
|
||||||
}
|
:deep(.el-pagination.is-background .el-pager li) {
|
||||||
:deep(.el-pagination.is-background .el-pager li) {
|
color: #fff;
|
||||||
color: #fff;
|
background: rgba(255, 255, 255, 0.14);
|
||||||
background: rgba(255, 255, 255, 0.14);
|
border: 1px solid #6bade1;
|
||||||
border: 1px solid #6bade1;
|
margin: 0;
|
||||||
margin: 0;
|
}
|
||||||
}
|
:deep(.el-pagination.is-background .el-pager li.is-active) {
|
||||||
:deep(.el-pagination.is-background .el-pager li.is-active) {
|
background: rgba(0, 144, 255, 0.49);
|
||||||
background: rgba(0, 144, 255, 0.49);
|
border: 1px solid #6bade1;
|
||||||
border: 1px solid #6bade1;
|
}
|
||||||
}
|
:deep(.el-pagination.is-background .btn-prev:disabled) {
|
||||||
:deep(.el-pagination.is-background .btn-prev:disabled) {
|
color: #fff;
|
||||||
color: #fff;
|
background: rgba(255, 255, 255, 0.14);
|
||||||
background: rgba(255, 255, 255, 0.14);
|
border: 1px solid #6bade1;
|
||||||
border: 1px solid #6bade1;
|
}
|
||||||
}
|
:deep(.el-pagination.is-background .btn-next:disabled) {
|
||||||
:deep(.el-pagination.is-background .btn-next:disabled) {
|
color: #fff;
|
||||||
color: #fff;
|
background: rgba(255, 255, 255, 0.14);
|
||||||
background: rgba(255, 255, 255, 0.14);
|
border: 1px solid #6bade1;
|
||||||
border: 1px solid #6bade1;
|
}
|
||||||
}
|
:deep(.el-pagination.is-background .btn-prev) {
|
||||||
:deep(.el-pagination.is-background .btn-prev) {
|
color: #fff;
|
||||||
color: #fff;
|
background: rgba(255, 255, 255, 0.14);
|
||||||
background: rgba(255, 255, 255, 0.14);
|
border: 1px solid #6bade1;
|
||||||
border: 1px solid #6bade1;
|
}
|
||||||
}
|
:deep(.el-pagination.is-background .btn-next) {
|
||||||
:deep(.el-pagination.is-background .btn-next) {
|
color: #fff;
|
||||||
color: #fff;
|
background: rgba(255, 255, 255, 0.14);
|
||||||
background: rgba(255, 255, 255, 0.14);
|
border: 1px solid #6bade1;
|
||||||
border: 1px solid #6bade1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -676,7 +676,7 @@ const sevenYX = (name) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
||||||
|
|
||||||
if (localStorage.getItem("taps1") !== undefined) {
|
if (localStorage.getItem("taps1") !== undefined) {
|
||||||
data.tapbody = JSON.parse(localStorage.getItem("taps1"));
|
data.tapbody = JSON.parse(localStorage.getItem("taps1"));
|
||||||
|
@ -696,7 +696,6 @@ onMounted(() => {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 112px;
|
margin-top: 112px;
|
||||||
|
|
||||||
.displayFlex {
|
.displayFlex {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -15,8 +15,8 @@ export default defineConfig({
|
||||||
// 第一个代理
|
// 第一个代理
|
||||||
"/api": {
|
"/api": {
|
||||||
// 匹配到啥来进行方向代理
|
// 匹配到啥来进行方向代理
|
||||||
// target: "http://10.0.0.65:8095/", //刘进
|
target: "http://10.0.0.65:8095/", //刘进
|
||||||
target: "http://220.191.238.50:996/", //线上
|
// target: "http://220.191.238.50:996/", //线上
|
||||||
changeOrigin: true, //是否支持跨域
|
changeOrigin: true, //是否支持跨域
|
||||||
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue