This commit is contained in:
姚宇浩 2024-08-02 17:16:35 +08:00
commit b7c9c1490a
1 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ const goto = (url, val) => {
path: `${url}`, path: `${url}`,
}); });
} else { } else {
ElMessage.warning(`${val.name}暂无数据!`); ElMessage.warning(`${val.name}暂无数据!`);
} }
}; };
@ -464,7 +464,7 @@ const data = reactive({
}); });
const tapshow = (parentId, childId) => { const tapshow = (parentId, childId) => {
console.log(parentId, childId, "菜单名"); // console.log(parentId, childId, "");
data.taps1 = parentId.id; data.taps1 = parentId.id;
data.taps = childId; data.taps = childId;
getData(parentId.name, parentId.son[childId].name); getData(parentId.name, parentId.son[childId].name);
@ -487,7 +487,7 @@ const tapshow = (parentId, childId) => {
} }
}; };
const toggleVisibility = (val) => { const toggleVisibility = (val) => {
console.log(val, "最低生活保障"); // console.log(val, "");
data.tabPosition.forEach((parent) => { data.tabPosition.forEach((parent) => {
parent.visible = false; parent.visible = false;
if (parent.id === val.id) { if (parent.id === val.id) {
@ -555,7 +555,7 @@ const getData = async (name, fullName) => {
const sevenYX = (name) => { const sevenYX = (name) => {
http.get(`/api/ggfwyth/pg/qyx?ly=${name}`).then((res) => { http.get(`/api/ggfwyth/pg/qyx?ly=${name}`).then((res) => {
if (res.code == 200) { if (res.code == 200) {
console.log(res.data, "七优享"); // console.log(res.data, "");
data.tableData = []; data.tableData = [];
if (res.data.length > 0) { if (res.data.length > 0) {
res.data.forEach((item, index) => { res.data.forEach((item, index) => {