diff --git a/src/assets/sy-table/btn1.png b/src/assets/sy-table/btn1.png
new file mode 100644
index 0000000..5f264fd
Binary files /dev/null and b/src/assets/sy-table/btn1.png differ
diff --git a/src/assets/sy-table/btn2.png b/src/assets/sy-table/btn2.png
new file mode 100644
index 0000000..da5f591
Binary files /dev/null and b/src/assets/sy-table/btn2.png differ
diff --git a/src/assets/sy-table/popk.png b/src/assets/sy-table/popk.png
new file mode 100644
index 0000000..a9505ac
Binary files /dev/null and b/src/assets/sy-table/popk.png differ
diff --git a/src/view/dialog/dialogRW.vue b/src/view/dialog/dialogRW.vue
index ad3cf9f..271e82d 100644
--- a/src/view/dialog/dialogRW.vue
+++ b/src/view/dialog/dialogRW.vue
@@ -39,63 +39,72 @@
/>
-
+
姓名:{{ data.character.xm }}
地址:{{ data.character.dz }}
年龄:{{ data.character.age }}
标签:{{ data.character.titleName }}
-
状态:
+
状态:
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
@@ -119,7 +128,7 @@ import {
onMounted,
reactive,
ref,
- onBeforeMount,
+ onBeforeUnmount,
defineProps,
watch,
nextTick,
@@ -135,6 +144,7 @@ import lamp6 from "../../assets/sy-table/yellow1.gif";
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";
const router = useRouter();
const routers = useRoute();
@@ -173,7 +183,7 @@ const props = defineProps({
required: true,
},
});
-const emit = defineEmits(["close", "handle", "loadTables", "openMessage"]);
+const emit = defineEmits(["close", "handle", "openMessage"]);
const handleRowClick = (row, column, event) => {
if (props.dj) {
@@ -183,9 +193,29 @@ const handleRowClick = (row, column, event) => {
// query: { identNo: row.identNo, type: "detail" },
// });
// 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();
@@ -241,13 +271,13 @@ onMounted(() => {
data.title = props.title;
data.tableData = props.tableData;
console.log("状态", data);
-
- const paginationTotal = document.querySelector(".el-pagination__total");
+ // const paginationTotal = document.querySelector(".el-pagination__total");
// paginationTotal.innerText = `总共 ${props.pagination.total} 组数据`;
});
const closeDialog = () => {
dialogShow.value = false;
+ clicked.value = false;
emit("close");
};
//分页器
@@ -255,6 +285,7 @@ const handle = (current) => {
emit("handle", current);
};
+
diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue
index db01339..e92be3b 100644
--- a/src/view/sy_details.vue
+++ b/src/view/sy_details.vue
@@ -11,7 +11,7 @@
-