+
+
+
@@ -250,6 +259,7 @@ import http from "@/utils/request.js";
import { ElMessage } from "element-plus";
import DialogLamp from "./dialog/dialogRW.vue";
import DialogSf from "./dialog/dialogSf.vue";
+import DialogPush from "./dialog/dialogPush.vue";
import lamp1 from "../assets/sy-table/green.gif";
import lamp2 from "../assets/sy-table/red.gif";
import lamp3 from "../assets/sy-table/lampYellow1.gif";
@@ -431,16 +441,44 @@ const lampScreen = (val) => {
*/
const dialogShow = ref(false);
const dialogShowSf = ref(false);
-const sfType=reactive({
+const dialogShowPush = ref(false);
+const push = reactive({
+ title: "推送记录",
+ data: [],
+ columns: [
+ {
+ label: "序号",
+ property: "xm",
+ width: "90",
+ },
+ {
+ label: "应用",
+ property: "app",
+ },
+ {
+ label: "事项",
+ property: "content",
+ },
+ {
+ label: "接收人",
+ property: "adminName",
+ },
+ {
+ label: "推送时间",
+ property: "sendTime",
+ },
+ ],
+});
+const sfType = reactive({
url: ``,
title: "服务事项名称",
- data:{
- gkmx:'备注内容',
- sr:'xxxxxxxxxx(输入内容)xxxxxxxxxx(输入内容)xxxxxxxxxx(输入内容)',
- dblj:'对比逻辑',
- sc:'输出',
+ data: {
+ gkmx: "备注内容",
+ sr: "xxxxxxxxxx(输入内容)xxxxxxxxxx(输入内容)xxxxxxxxxx(输入内容)",
+ dblj: "对比逻辑",
+ sc: "输出",
},
-})
+});
const tableType = reactive({
url: `/api/ggfwyth/pg/fwjgqdxq`,
title: "服务详情",
@@ -461,13 +499,16 @@ const tableType = reactive({
{
label: "牵头单位",
property: "qtbm",
- }, {
+ },
+ {
label: "业务科室",
property: "zrks",
- }, {
+ },
+ {
label: "负责人",
property: "ywfzr",
- }, {
+ },
+ {
label: "联系电话",
property: "fgldsj",
},
@@ -528,17 +569,43 @@ const closeJj = () => {
tableType.data = [];
pagination3.currentPage = 1;
};
+//显示推送记录弹框
+const showList = (val) => {
+ http
+ .get(`/api/ggfwyth/pg/pushSendRecord?xh=${val.xh}&bm=${val.bm}`)
+ .then((res) => {
+ if (res.code == 200) {
+ push.data = res.data;
+ if (res.data.length == 0) {
+ ElMessage.warning({
+ message: `该服务内容暂无推送记录!`,
+ });
+ } else {
+ push.data = push.data.map((item, index1) => {
+ return {
+ ...item,
+ index: index1 + 1,
+ };
+ });
+ dialogShowPush.value = true;
+ }
+ }
+ });
+};
+//关闭推送弹框
+const closePush = () => {
+ dialogShowPush.value = false;
+};
//获取算法模型数据
-const openSf=()=>{
-
+const openSf = () => {
http.get(`/api/ggfwyth/pg/sfljqd?xh=${routers.query.xh}`).then((res) => {
if (res.code == 200) {
- sfType.title=routers.query.name;
- sfType.data=res.data;
+ sfType.title = routers.query.name;
+ sfType.data = res.data;
dialogShowSf.value = true;
}
});
-}
+};
const getTable = (pagination) => {
http
.get(
diff --git a/src/view/table_gk/gk_jz.vue b/src/view/table_gk/gk_jz.vue
index 3d0585b..1dcb123 100644
--- a/src/view/table_gk/gk_jz.vue
+++ b/src/view/table_gk/gk_jz.vue
@@ -79,9 +79,9 @@
:row-style="rowState"
:header-cell-style="tableHeaderColor"
>
-
-
-
+
+
+