-
+
{{ item.value }}{{ item.dw ? item.dw : "" }}
@@ -289,11 +228,7 @@
-
+
{{ item.name }} |
{{ item.key1 }}
@@ -302,16 +237,18 @@
}}
|
- {{ item.key2 }}:{{
- item.key2_value
- }}
+ {{ item.key2 }}:{{
+ item.key2_value
+ }}
|
+
@@ -322,9 +259,75 @@ import footerball from "../assets/images/sy/footerball.png";
import baskerball from "../assets/images/sy/baskerball.png";
import badminton from "../assets/images/sy/badminton.png";
import running from "../assets/images/sy/running.png";
+import Dialog from "./dialog/dialog.vue";
import tableTennis from "../assets/images/sy/tableTennis.png";
import { ref, reactive, onMounted, onBeforeMount, computed } from "vue";
import http from "@/utils/request.js";
+import { CircleCloseFilled } from '@element-plus/icons-vue'
+import { columns } from "element-plus/es/components/table-v2/src/common.mjs";
+
+// 详情弹框
+const dialogShow = ref(false)
+const tableType = reactive({
+ title: '',
+ columns: [
+ {
+ label: '姓名',
+ property: 'name',
+ width: '150'
+ },
+ {
+ label: '人员类别',
+ property: 'type',
+ width: '150'
+ },
+ {
+ label: '就失业状态',
+ property: 'status',
+ width: '150'
+ },
+ {
+ label: '日期',
+ property: 'date',
+ },
+ {
+ label: '地址',
+ property: 'address',
+ },
+ ],
+ data: [
+ {
+ date: '2016-05-02',
+ name: 'John Smith',
+ address: 'No.1518, Jinshajiang Road, Putuo District',
+ },
+ {
+ date: '2016-05-04',
+ name: 'John Smith',
+ address: 'No.1518, Jinshajiang Road, Putuo District',
+ },
+ {
+ date: '2016-05-01',
+ name: 'John Smith',
+ address: 'No.1518, Jinshajiang Road, Putuo District',
+ },
+ {
+ date: '2016-05-03',
+ name: 'John Smith',
+ address: 'No.1518, Jinshajiang Road, Putuo District',
+ },
+ ]
+})
+
+const showDialog = (title) => {
+ dialogShow.value = true
+ tableType.title = title
+}
+
+const close = () => {
+ dialogShow.value = false
+}
+
const data = reactive({
PopulationData: {
@@ -651,16 +654,14 @@ const jtsyList = ref([
// 县城学校师生比样式
const cs = computed(() => {
- let str = `--teacher: ${jysyList.value[0].teacher}; --total: ${
- jysyList.value[0].teacher + jysyList.value[0].student
- }`;
+ let str = `--teacher: ${jysyList.value[0].teacher}; --total: ${jysyList.value[0].teacher + jysyList.value[0].student
+ }`;
return str;
});
// 农村学校师生比样式
const nc = computed(() => {
- let str = `--teacher: ${jysyList.value[1].teacher}; --total: ${
- jysyList.value[1].teacher + jysyList.value[1].student
- }`;
+ let str = `--teacher: ${jysyList.value[1].teacher}; --total: ${jysyList.value[1].teacher + jysyList.value[1].student
+ }`;
return str;
});
// 服务表格样式
@@ -725,7 +726,7 @@ const getData = async () => {
// if (value !== undefined) {
// data.LivelihoodWelfare[key] = (value / 10000).toFixed(2);
// }
- data.LivelihoodWelfare[key] = (res.data.msfz[key] / 10000).toFixed(2) ;
+ data.LivelihoodWelfare[key] = (res.data.msfz[key] / 10000).toFixed(2);
});
}
// 救助服务
@@ -820,6 +821,55 @@ onBeforeMount(async () => {
});
+
+