From 211439b49fb9bdcfa68f6e5f34f02f1fa2c33d57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=A3=E4=BA=9B=E8=8A=B1=E5=84=BF?= <1156921458@qq.com>
Date: Mon, 18 Aug 2025 14:34:58 +0800
Subject: [PATCH] ..
---
.../zhgh/democratic/suggestionBox/info.js | 98 +++++++++++++++++++
1 file changed, 98 insertions(+)
create mode 100644 src/main/resources/views/platform/zhgh/democratic/suggestionBox/info.js
diff --git a/src/main/resources/views/platform/zhgh/democratic/suggestionBox/info.js b/src/main/resources/views/platform/zhgh/democratic/suggestionBox/info.js
new file mode 100644
index 00000000..a9f773b8
--- /dev/null
+++ b/src/main/resources/views/platform/zhgh/democratic/suggestionBox/info.js
@@ -0,0 +1,98 @@
+const SUGGESTION_INFO = {
+ template: /*language=HTML*/ `
+
+
+ 申请信息
+ 点击查看流程图
+
+
+ {{viewData.userName}}
+ {{viewData.loginName}}
+ {{viewData.unitName}}
+ {{viewData.unionName}}
+ {{viewData.title}}
+ {{viewData.content}}
+
+
+
+
+
{{ task.displayName }}
+
+ {{ task.ext.initiatorName
+ }}({{task.ext.initiatorAccount}})
+
+ {{ task.finishTime }}
+
+
+
+
+
+
+ {{ task.taskFormData.userName
+ }}({{task.taskFormData.loginName}})
+
+ {{ task.finishTime }}
+
+
+
+ {{
+ task.taskFormData.opinion }}
+
+
+
+
+
+
+
+
+
+ `,
+ store,
+ dicts: ["PROCESS_TASK_SUBMIT_TYPE"],
+ data() {
+ return {
+ visible: false,
+ viewData: {},
+ doneTasks: [],
+ row: null
+ }
+ },
+ methods: {
+ // 打开
+ onOpen(row) {
+ this.row = row
+ this.visible = true
+ this.getInfo()
+ this.getDoneTasks()
+ },
+
+ // 获取申请信息
+ getInfo() {
+ this.$axios.post('/platform/suggestionBox/common/info', {id: this.row.id}).then((res) => {
+ if (res.code === 0) {
+ this.viewData = res.data
+ }
+ })
+ },
+
+ // 获取已办任务审批记录
+ getDoneTasks() {
+ this.$axios.post("/flow/common/doneTasks", {bizId: this.row.id}).then((res) => {
+ if (res.code === 0) {
+ this.doneTasks = res.data
+ }
+ })
+ },
+
+ // 查看流程图
+ openChart(){
+ this.$refs.snakerChartRef.onOpenFull(this.row.instanceProcessDefineId,this.row.instanceId)
+ }
+
+ }
+
+
+}