Merge branch 'main' of https://git.cityme.com.cn/xiangshan/ggfwjsc
This commit is contained in:
commit
ffd222dd88
|
@ -188,7 +188,7 @@ const closeDialog = () => {
|
|||
:deep(.el-dialog) {
|
||||
--el-dialog-bg-color: none;
|
||||
--el-dialog-width: 55% !important;
|
||||
--el-dialog-margin-top: 7vh;
|
||||
--el-dialog-margin-top: 11vh;
|
||||
}
|
||||
|
||||
.my-header {
|
||||
|
|
|
@ -240,7 +240,9 @@ const selectChange1 = (e) => {
|
|||
:deep(.el-dialog) {
|
||||
--el-dialog-bg-color: none;
|
||||
--el-dialog-width: 76% !important;
|
||||
--el-dialog-margin-top: 7vh;
|
||||
--el-dialog-margin-top: 11vh;
|
||||
// --el-dialog-margin-bottom: 0px !important;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
.my-header {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -47,7 +47,7 @@
|
|||
'below-line2': index % 2 === 0,
|
||||
},
|
||||
]"
|
||||
>{{ item.progress + "%" }}</span
|
||||
>{{ (item.progress).toFixed(2) + "%" }}</span
|
||||
>
|
||||
<span
|
||||
style="color: #fff; white-space: nowrap"
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
<el-table
|
||||
border
|
||||
:data="data.tableData"
|
||||
max-height="280"
|
||||
style="width: 100%; height: 280x"
|
||||
class="table_border"
|
||||
:row-style="rowState"
|
||||
|
@ -463,19 +464,37 @@ const data = reactive({
|
|||
});
|
||||
|
||||
const tapshow = (parentId, childId) => {
|
||||
// console.log(parentId, childId, "菜单名");
|
||||
console.log(parentId, childId, "菜单名");
|
||||
data.taps1 = parentId.id;
|
||||
data.taps = childId;
|
||||
getData(parentId.name, parentId.son[childId].name);
|
||||
|
||||
// 菜单名匹配
|
||||
const menuName = [
|
||||
"幼有善育",
|
||||
"学有优教",
|
||||
"劳有所得",
|
||||
"病有良医",
|
||||
"老有康养",
|
||||
"住有宜居",
|
||||
"弱有众扶",
|
||||
];
|
||||
// 检查 parentId 的第一个字符是否与 menuName 中的第一个字符匹配
|
||||
const firstChar = parentId.name.charAt(0);
|
||||
const matchingMenu = menuName.find((name) => name.charAt(0) === firstChar);
|
||||
if (matchingMenu) {
|
||||
sevenYX(matchingMenu);
|
||||
}
|
||||
};
|
||||
const toggleVisibility = (val) => {
|
||||
// console.log(val, "最低生活保障");
|
||||
console.log(val, "最低生活保障");
|
||||
data.tabPosition.forEach((parent) => {
|
||||
parent.visible = false;
|
||||
if (parent.id === val.id) {
|
||||
parent.visible = !parent.visible;
|
||||
}
|
||||
});
|
||||
tapshow(val,0)
|
||||
};
|
||||
|
||||
// 服务表格样式
|
||||
|
@ -533,9 +552,32 @@ const getData = async (name, fullName) => {
|
|||
}
|
||||
});
|
||||
};
|
||||
const sevenYX = (name) => {
|
||||
http.get(`/api/ggfwyth/pg/qyx?ly=${name}`).then((res) => {
|
||||
if (res.code == 200) {
|
||||
console.log(res.data, "七优享");
|
||||
data.tableData = [];
|
||||
if (res.data.length > 0) {
|
||||
res.data.forEach((item, index) => {
|
||||
data.tableData.push({
|
||||
highFrequencyApp: item.zb, // 指标
|
||||
targetValue: item.mbz, //目标值(市)
|
||||
targetValue1: item.mbz, ////目标值(县)
|
||||
targetValue2: item.wcz, //完成值
|
||||
targetValue3: item.sspm, //省市排名
|
||||
targetValue4: item.zbqk, //是否达标 指标情况
|
||||
targetValue5: item.qtdw, //牵头单位
|
||||
targetValue6: item.zrdw, //责任单位
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
getData("弱有所扶", "社会救助服务");
|
||||
sevenYX("弱有众扶");
|
||||
});
|
||||
// onMounted(() => {
|
||||
// let token = tools.data.get("token");
|
||||
|
|
Loading…
Reference in New Issue