Просмотр исходного кода

Merge branch 'hjw-222' into 'master'

Hjw 222

See merge request spfm/spfm-market-front!489
杨壁繁 1 год назад
Родитель
Сommit
3cbc45d3df

+ 77 - 24
src/components/workflowBase.vue

@@ -130,6 +130,7 @@ export default {
       isLastManStatus: false,
       manyReassignment: false,
       actives: "",
+      resourceId: '',
     };
   },
   props: {
@@ -410,6 +411,7 @@ export default {
         processId: processDefinitionKey,
       };
       e ? (list.resourceId = e) : list;
+
       this.$http({
         url: "/market/waf/queryPath",
         method: "post",
@@ -456,11 +458,13 @@ export default {
           if (res.data.body.nextShapes[0].condition !== null) {
             this.node = res.data.body;
           } else {
+            this.resourceId = res.data.body.nextShapes[0].resourceId
             this.getNextPath(res.data.body.nextShapes[0].resourceId, 2);
           }
         }
         if (status === 3) {
           this.nodes = res.data.body;
+          this.resourceId = res.data.body.nextShapes[0].resourceId
           this.getTreeLists(res.data.body, 1);
 
           if (res.data.body.nextShapes[0].multi !== null) {
@@ -477,51 +481,99 @@ export default {
     },
     //查询候选人接口
     getTreeLists(e, status) {
-      let createdId = "createId";
-      let id =
-        e.nextShapes[0].properties.documentation.indexOf(createdId) != -1
-          ? this.list.createId
-          : e.nextShapes[0].properties.documentation;
-      console.log(id);
+
       this.$http({
-        url: "/market/api/user/info/queryNodePers?params=" + id,
+        url: "/market/CfgWorkflowChoosePerson/queryList",
         method: "post",
         headers: {
           "Content-Type": "application/json",
         },
-        data: "",
+        data: {
+          tableName: this.requestForm.processDefinitionKey,
+          fresourceId: this.requestForm.fresourceId,
+        },
       }).then((res) => {
-        console.log(status);
-        if (status === 2) {
-          // this.treeCopyList = res.data; //抄送
-          //  this.$refs.defTrees.treeList = res.data;
-        } else {
-          this.treeList = res.data; //抄送
-          // this.$refs.defTree.treeList = res.data;
-          console.log(this.treeList);
+        if (res.data.length > 0) {
+          for (var key in JSON.parse(res.data[0].paramsJson)) {
+            console.log(key, JSON.parse(res.data[0].paramsJson)[key])
+          }
+          console.log(key)
+        }
+        // console.log(this.list);
+        // console.log(this.requestForm);
+
+        let createdId = "createId";
+        let id =
+          e.nextShapes[0].properties.documentation.indexOf(createdId) != -1
+            ? this.list.createId
+            : e.nextShapes[0].properties.documentation;
+        console.log(id);
+
+        let paramsJson = {}
+        // if (this.requestForm.processDefinitionKey == 'BOMC_process' || this.requestForm.processDefinitionKey == 'ZHQX_process' || this.requestForm.processDefinitionKey == 'ZYSQ_process') {
+        //   paramsJson.proposerType = this.list.proposerType
+        // }
+        // if (this.requestForm.processDefinitionKey == 'YHBG_process') {
+        //   paramsJson.changeType = this.list.changeType
+        // }
+        if (res.data.length > 0) {
+          if (this.requestForm.processDefinitionKey == res.data[0].tableName) {
+            paramsJson[key] = this.list[key]
+          }
         }
-      });
-      if (this.copyStatus == true) {
         this.$http({
-          url: "/market/api/user/info/queryNodePers?params=" + e.nextShapes[0].properties.formkeydefinition,
+          url: "/market/api/user/info/queryNodePers?params=" + id,
           method: "post",
           headers: {
             "Content-Type": "application/json",
           },
-          data: "",
+          data: {
+            paramsJson: JSON.stringify(paramsJson),
+            tableName: this.requestForm.processDefinitionKey,
+            fresourceId: this.requestForm.fresourceId,
+            resourceid: this.resourceId,
+          },
         }).then((res) => {
           console.log(status);
-          this.treeCopyList = res.data; //抄送
-
+          if (status === 2) {
+            // this.treeCopyList = res.data; //抄送
+            //  this.$refs.defTrees.treeList = res.data;
+          } else {
+            this.treeList = res.data; //抄送
+            // this.$refs.defTree.treeList = res.data;
+            console.log(this.treeList);
+          }
         });
-      } else {
+        if (this.copyStatus == true) {
+          this.$http({
+            url: "/market/api/user/info/queryNodePers?params=" + e.nextShapes[0].properties.formkeydefinition,
+            method: "post",
+            headers: {
+              "Content-Type": "application/json",
+            },
+            data: {
+              paramsJson: JSON.stringify(paramsJson),
+              tableName: this.requestForm.processDefinitionKey,
+              fresourceId: this.requestForm.fresourceId,
+              resourceId: this.resourceId,
+            },
+          }).then((res) => {
+            console.log(status);
+            this.treeCopyList = res.data; //抄送
+
+          });
+        } else {
+
+        }
+      });
+
 
-      }
     },
     //转派按钮方法
     clickTransfer(e) {
       if (e == 1) {
         this.TransferStatus = true;
+        this.resourceId = ''
       } else if (e == 2) {
         this.CopyStatus = true;
       }
@@ -541,6 +593,7 @@ export default {
       console.log(this.clicknextName);
       this.seleIndex = index;
       this.getNextPath(e.resourceId, 3); //1 为点击后获取线
+
     },
     //点击常用意见方法
     clickCommonly(e) {

+ 25 - 25
src/config/dev.js

@@ -40,32 +40,32 @@ let dev = {
     BASE_URL: "http://127.0.0.1:8080", //本地环境
     BASE_API: "http://43.138.50.94:8880/api",//工作流本地环境
     EXCEL_URL: "http://43.138.50.94:7777", //本地excel路径
-    provincialWorkOrderAreafresourceId: 'a682dc9f-2fea-11ed-a6ed-02427ba2d388',//通用工单地市
-    provincialWorkOrderfresourceId: '08368848-2fde-11ed-a6ed-02427ba2d388',//通用工单省
-    riskMaterialsfresourceId: 'c9104902-6575-11ed-8e1e-d6cd97160e00',//风险防控
+    provincialWorkOrderAreafresourceId: 'db26384e-b984-11ed-afb6-e00084564cce',//通用工单地市
+    provincialWorkOrderfresourceId: '9b83efc7-b984-11ed-afb6-e00084564cce',//通用工单省
+    riskMaterialsfresourceId: 'canvas',//风险防控
     materialApplicationfresourceId:'b58e5e25-ce13-11ed-afb6-e00084564cce',//宣传物料省
-    materialApplicationdsfresourceId:'cd072057-ce13-11ed-afb6-e00084564ce',//宣传物料地市
-    accountApplicationfresourceId: 'b3e6cc47-b1a9-11ed-886f-d6cd97160e00',//账号申请流程
-    accountdelfresourceId: '6a5fc7b5-b290-11ed-886f-d6cd97160e00',//账号删除
-    accountPermissionsfresourceId: '14c60ff0-b1a8-11ed-886f-d6cd97160e00',//账号权限申请流程
-    aqbgsyListfresourceId: '014cf465-b31c-11ed-886f-d6cd97160e00',//安全报告审阅
-    klhfsqList: '4a9e20e8-b33c-11ed-886f-d6cd97160e00',//口令恢复申请流程
-    rltzjlList: '7395620f-b33d-11ed-886f-d6cd97160e00',//容量调整记录流程
-    sjkdbList: '78e1edce-b319-11ed-886f-d6cd97160e00',//数据库导表流程
-    tyshList: '345a2955-b321-11ed-886f-d6cd97160e00',//通用审核流程
-    userList: '65791a1e-b1ac-11ed-886f-d6cd97160e00',//用户清单流程
-    internetAssessment: '87753452-c2f3-11ed-9c8b-d6cd97160e00',//互联网电视
-    authoriZation: '1db52dc3-b328-11ed-886f-d6cd97160e00',//口令授权
-    backupRequire: '4e2aaa61-b339-11ed-886f-d6cd97160e00',//备份需求
-    emergencyPlan: '238f139e-b28f-11ed-886f-d6cd97160e00',//应急预案
-    internetAccess: '2c4fd13a-b32a-11ed-886f-d6cd97160e00',//互联网端口
-    resourceApply: '569ffe50-b25a-11ed-886f-d6cd97160e00',//资源申请
-    securityAudit: 'd7dd8e5e-b320-11ed-886f-d6cd97160e00',//安全审计
-    userChange: 'c4624dbc-b322-11ed-886f-d6cd97160e00',//用户使用者变更
-    bfsjList: '524e01f7-b25d-11ed-886f-d6cd97160e00',//备份数据
-    docAppr: '47b27979-b250-11ed-886f-d6cd97160e00',//文件审批流程
-    firewall: '9d7c2f92-b251-11ed-886f-d6cd97160e00',//防火墙
-    opcode: 'b79206a9-b258-11ed-886f-d6cd97160e00',//opcode
+    materialApplicationdsfresourceId:'cd072057-ce13-11ed-afb6-e00084564cce',//宣传物料地市
+    authoriZation: 'a4c88c4e-d99e-11ed-8255-e00084564cce',//口令授权
+    backupRequire: 'b5c62d50-d99d-11ed-8255-e00084564cce',//备份需求
+    emergencyPlan: '8bcdfa43-d9a0-11ed-8255-e00084564cce',//应急预案
+    internetAccess: '5e83a807-d99e-11ed-8255-e00084564cce',//互联网端口
+    resourceApply: '428f1a81-d9a1-11ed-8255-e00084564cce',//资源申请
+    securityAudit: '99fa2bcc-d99f-11ed-8255-e00084564cce',//安全审计
+    userChange: 'e6eaf005-d99e-11ed-8255-e00084564cce',//用户使用者变更
+    bfsjList: 'f458d35a-d9a0-11ed-8255-e00084564cce',//备份数据
+    accountApplicationfresourceId: '27a9dbbf-d742-11ed-8255-e00084564cce',//账号申请流程
+    accountdelfresourceId: '8a519886-d742-11ed-8255-e00084564cce',//账号删除
+    accountPermissionsfresourceId: '2e508b91-d741-11ed-8255-e00084564cce',//账号权限申请流程
+    aqbgsyListfresourceId: '19bed1f4-d743-11ed-8255-e00084564cce',//安全报告审阅
+    klhfsqList: '9f3ab9d2-d743-11ed-8255-e00084564cce',//口令恢复申请流程
+    rltzjlList: 'd38ce419-d743-11ed-8255-e00084564cce',//容量调整记录流程
+    sjkdbList: 'd874ccdd-d742-11ed-8255-e00084564cce',//数据库导表流程
+    tyshList: '5b87cb0b-d743-11ed-8255-e00084564cce',//通用审核流程
+    userList: '81bc22d8-d741-11ed-8255-e00084564cce',//用户清单流程
+    internetAssessment: '433402bb-d52d-11ed-afb6-e00084564cce',//互联网电视
+    docAppr: '917d8bf9-d918-11ed-8255-e00084564cce',//文件审批流程
+    firewall: '3c3df7fb-d918-11ed-8255-e00084564cce',//防火墙
+    opcode: '6b9e1cb2-d918-11ed-8255-e00084564cce',//opcode
 }
 let test = {
     TITLE: '测试环境',

+ 13 - 1
src/pages/main/accountPermissions/accountPermissions.vue

@@ -78,7 +78,7 @@
             <el-dialog title="处理操作" width="100%" :visible.sync="handleStatus" :before-close="handleCloses" :modal="false"
                 v-if="handleStatus" :destroy-on-close="true">
                 <Workflow :list="fromList" v-if="isWorkflowStatus == true" @updateForm="updateForm"
-                    :requestForm="requestForm" :request_formTitle="request_form.title"/>
+                    :requestForm="requestForm" :adminResourceId="adminResourceId" :request_formTitle="request_form.title"/>
 
                 <WorkflowEntrance :list="fromList" v-else :lastManList="lastManList" @beforeClose="updateForm"
                     :requestForm="requestForm" :request_formTitle="request_form.title"/>
@@ -476,6 +476,7 @@ export default {
                 ],
             },
             savestatusBtn: false,
+            adminResourceId: "", //转派多人id
 
 
         }
@@ -530,6 +531,9 @@ export default {
 
             let res = await this.common.httpPost(obj, success);
             function success(data) {
+                if (data.lastMan == true) {
+                    _this.adminResourceId = data.adminResourceId;
+                }
                 _this.isWorkflowStatus = data.lastMan == false ? false : true;
                 _this.lastManList = data;
                 // console.log(_this.isWorkflowStatus);
@@ -834,10 +838,18 @@ export default {
                 console.log(res.data.body.nextShapes[0].multi);
                 if (res.data.body.nextShapes[0].multi) {
                     if (res.data.body.nextShapes[0].multi.multi === "true") {
+                        console.log('这是mulit节点');
                         this.getLastName();
+                    } else {
+                        this.adminResourceId = ''
+                        console.log('这不是mulit节点');
+                        this.destroy = true;
+                        this.handleStatus = true;
+                        this.getMetirialType();
                     }
                 }
                 if (this.fromList.taskId || this.fromList.processId) {
+                    this.adminResourceId = ''
                     this.destroy = true;
                     this.handleStatus = true;
                     this.getMetirialType();

+ 3 - 3
src/pages/main/internetAssessment/internetAssessment.vue

@@ -364,16 +364,16 @@
                 </div>
                 <div class="flex-load" style="display: flex; flex-direction: column">
                     <el-form-item label="附件:" prop="accessoryList">
-                        <my-upload v-if="fromList.taskName == '初评'" @uploadBack="uploadBack" @delloadBack="delloadBack"
+                        <my-upload  @uploadBack="uploadBack" @delloadBack="delloadBack"
                             @clickDownload="download" :fileInfo="fileInfo" :fileList="fromList.accessoryList"
                             style="width: 30% !important"></my-upload>
-                        <div v-if="fromList.taskName != '初评'">
+                        <!-- <div v-if="fromList.taskName != '初评'">
                             <div v-for="(item, index) in fromList.accessoryList" :key="index">
                                 <span style="color: blue;cursor: pointer;" @click="downloadOne(item)">{{
                                     item.fileName
                                 }}</span>
                             </div>
-                        </div>
+                        </div> -->
                     </el-form-item>
                 </div>
             </el-form>

Разница между файлами не показана из-за своего большого размера
+ 488 - 485
src/pages/main/memberFamily/empInfoFilling.vue


+ 373 - 0
src/pages/main/workflowdef/qathList.vue

@@ -0,0 +1,373 @@
+<template>
+    <div class="flex-box1">
+        <Seach :list="filterDataTwo" @seachList="seachList"></Seach>
+        <el-table :data="tableData" style="width: 100%;min-height: 600px;" ref="refTable" height="600px">
+            <el-table-column type="expand">
+                <template slot-scope="props">
+                    <el-table :data="props.row.nextNodes" size="mini" style="width: 95%;margin-left: 5%;"
+                        @cell-click="getRowList">
+                        <el-table-column label="下一步环节" prop="name"></el-table-column>
+                        <el-table-column label="resourceId" prop="resourceId"></el-table-column>
+
+                    </el-table>
+                </template>
+            </el-table-column>
+            <el-table-column label="环节" prop="name">
+            </el-table-column>
+            <el-table-column label="resourceId" prop="resourceId">
+            </el-table-column>
+            <el-table-column label="操作" align="center">
+                <template slot-scope="scope">
+                    <el-button size="mini" type="text" @click="getRiskadminform(scope.row)">
+                        配置候选人</el-button>
+                </template>
+            </el-table-column>
+        </el-table>
+
+
+        <el-dialog title="配置信息" :visible.sync="dialogStatus" width="100%" style="height: 100%" :fullscreen="true"
+            :before-close="handleClose1" :modal="false" v-if="dialogStatus" :destroy-on-close="true">
+            <el-button type="primary" @click="dialogTreeStatus2 = true">新增</el-button>
+            <el-button type="primary" v-if="delarr.length>0" @click="delarrbtn">批量删除</el-button>
+            <el-table :data="tableData2" v-loading="loading" style="width: 100%;min-height: 600px;" ref="refTable"
+                height="600px" @selection-change="selectionChange">
+                <!-- 是否多选 -->
+                <el-table-column type="selection" width="55">
+                </el-table-column>
+                <el-table-column label="loginNo" prop="loginNo">
+                </el-table-column>
+                <el-table-column label="paramsJson" prop="paramsJson">
+                </el-table-column>
+                <el-table-column label="操作" align="center">
+                    <template slot-scope="scope">
+                        <!-- <el-button size="mini" type="text" @click="deit(scope.row)">
+                            修改</el-button> -->
+                        <el-button size="mini" type="text" @click="del(scope.row)">
+                            删除</el-button>
+                    </template>
+                </el-table-column>
+            </el-table>
+            <el-pagination style="display: flex; flex-direction: row-reverse" v-if="adminpageData.total > 0"
+                :current-page.sync="adminpageData.pageNum" :page-sizes="adminpageData.pageSizes ? adminpageData.pageSizes : [5, 10, 15, 20]
+                    " :page-size="adminpageData.pageSize" layout="total, sizes, prev, pager, next, jumper"
+                :total="adminpageData.total" @size-change="adminhandleSizeChange"
+                @current-change="adminhandleCurrentChange" />
+        </el-dialog>
+
+        <el-dialog title="配置字段" :visible.sync="dialogTreeStatus2" width="100%" style="height: 100%" :fullscreen="true"
+            :before-close="handleClose2" :modal="false" v-if="dialogTreeStatus2" :destroy-on-close="true">
+            <div style="height: 100%">
+                <div style="height: 100%">
+                    <el-form ref="form" :model="fromList" :rules="rule" label-width="130px" style="margin-top: 30px">
+                        <div class="flex-header">
+                            <el-form-item label="字段名称:" prop="needName">
+                                <el-input v-model="fromList.needName"></el-input>
+                            </el-form-item>
+                        </div>
+                        <div class="flex-header">
+                            <el-form-item label="字段值:" prop="needCode">
+                                <el-input v-model="fromList.needCode"></el-input>
+                            </el-form-item>
+                        </div>
+                    </el-form>
+                    <div style="text-align: center; margin-top: 30px">
+                        <el-button type="primary" @click="clickSave(1)">确 定</el-button>
+                        <el-button @click="dialogTreeStatus2 = false;">取 消</el-button>
+                    </div>
+                </div>
+            </div>
+        </el-dialog>
+        <el-dialog title="配置人员" :visible.sync="dialogTreeStatus" width="100%" style="height: 100%" :fullscreen="true"
+            :before-close="handleClose3" :modal="false" v-if="dialogTreeStatus" :destroy-on-close="true">
+            <div style="height: 100%">
+                <deptTreeOnly @treeCheck="treeCheckonly" :defaultList="defaultList" :type="depttype" :closeList="closeList">
+                </deptTreeOnly>
+                <div style="text-align: center; margin-top: 30px">
+                    <el-button type="primary" @click="clickSave(2)">确 定</el-button>
+                    <el-button @click="dialogTreeStatus = false;">取 消</el-button>
+                </div>
+            </div>
+        </el-dialog>
+    </div>
+</template>
+
+<script>
+import { json } from "body-parser";
+import TableId from "../../../components/el-formid";
+import Seach from "../../../components/el-search";
+import deptTreeOnly from "../../../components/newTree.vue";
+export default {
+    components: {
+        TableId,
+        Seach,
+        deptTreeOnly
+    },
+    data() {
+        let _self = this
+        return {
+            loading: false,
+            dialogStatus: false,
+            dialogTreeStatus: false,
+            dialogTreeStatus2: false,
+            rule: {
+                needCode: [
+                    { required: true, message: "请添加字段值", trigger: "blur" },
+                ],
+                needName: [
+                    { required: true, message: "请添加字段名称", trigger: "blur" },
+                ],
+
+            },
+            filterDataTwo: {
+                timeSelect: false, //是否显示日期控件
+                sreach: true,
+                restet: false,
+                elinput: [
+                    {
+                        name: "processId", //提示语275
+                        key: "processId", //字段名
+                        width: 275, //宽度
+                    },
+                    {
+                        name: "fresourceId", //提示语275
+                        key: "fresourceId", //字段名
+                        width: 275, //宽度
+                    },
+                ],
+            },
+            searchBox: {},
+            tableData: [],
+            tableData2: [],
+            adminpageData: {
+                total: 15, // 总条数
+                pageSizes: 10, // 每页数量
+                pageNum: 1, // 页码
+            },
+            fromList: {},
+            resourceId: '',
+            treeListonly: [],
+            defaultList: [],
+            delarr: [],
+            depttype: 0,
+            closeList: false,
+
+        }
+    },
+    methods: {
+        getRowList() {
+
+        },
+        delarrbtn() {///CfgWorkflowChoosePerson/delBatch
+            this.$http({
+                url: "/market/CfgWorkflowChoosePerson/delBatch",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: this.delarr,
+            }).then((res) => {
+                this.$notify({
+                    title: res.data.desc,
+                    message: res.data.desc,
+                    type: "success",
+                });
+                this.getRiskadminform(this.resourceId)
+            });
+        },
+        del(v) {///CfgWorkflowChoosePerson/delBatch
+            this.$http({
+                url: "/market/CfgWorkflowChoosePerson/del",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: v,
+            }).then((res) => {
+                this.$notify({
+                    title: res.data.desc,
+                    message: res.data.desc,
+                    type: "success",
+                });
+                this.getRiskadminform(this.resourceId)
+            });
+        },
+        deit(v) {
+            console.log(JSON.parse(v.paramsJson));
+            for (var key in JSON.parse(v.paramsJson)) {
+                console.log(key, JSON.parse(v.paramsJson)[key])
+                this.fromList.needName = key
+                this.fromList.needCode = JSON.parse(v.paramsJson)[key]
+            }
+            this.adminpageData.pageNum = 1;
+            this.dialogTreeStatus2 = true
+        },
+        selectionChange(val) {
+            console.log(val);
+            this.delarr=val
+        },
+        getRiskadminform(v) {///CfgWorkflowChoosePerson/queryPage
+            console.log(v);
+            if (v.resourceId) {
+                this.resourceId = v.resourceId
+            }
+            this.loading = true
+            this.$http({
+                url: "/market/CfgWorkflowChoosePerson/queryPage",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                    page: '{"pageNo":"' + this.adminpageData.pageNum + '","pageSize":"10"}',
+                },
+                data: {
+                    resourceid: this.resourceId
+                },
+            }).then((res) => {
+                this.adminpageData.total = res.data.totalRecord;
+                this.tableData2 = res.data.data;
+                this.dialogStatus = true
+                this.loading = false
+            });
+
+        },
+        async clickSave(v) {
+            if (v == 1) {
+                this.$refs.form.validate((valid) => {
+                    if (valid) {
+                        this.dialogTreeStatus = true
+                    } else {
+                        this.$message.error("请完善表单信息");
+                        return false;
+                    }
+                });
+            } else {
+                // console.log(this.treeListonly);
+                // console.log(this.fromList);
+                // console.log(this.resourceId);
+                // console.log(this.searchBox);
+                let paramsJson = {}
+                paramsJson[this.fromList.needName] = this.fromList.needCode
+                // console.log(paramsJson);
+                let arr = []
+                this.treeListonly.map((item) => {
+                    arr.push({
+                        tableName: this.searchBox.processId,
+                        fresourceId: this.searchBox.fresourceId,
+                        resourceid: this.resourceId,
+                        paramsJson: JSON.stringify(paramsJson),
+                        loginNo: item.key
+                    })
+                })
+                this.$http({
+                    url: "/market/CfgWorkflowChoosePerson/addBatch",
+                    method: "post",
+                    headers: {
+                        "Content-Type": "application/json",
+                    },
+                    data: arr,
+                }).then((res) => {
+                    this.$notify({
+                        title: res.data.desc,
+                        message: res.data.desc,
+                        type: "success",
+                    });
+                    this.dialogTreeStatus = false;
+                    this.dialogStatus = false;
+                    this.dialogTreeStatus2 = false;
+                });
+            }
+
+
+        },
+        treeCheckonly(v) {
+            this.treeListonly = v;
+        },
+        seachList(e) {
+            this.adminpageData.pageNum = 1;
+            console.log(e);
+            this.searchBox = e
+            this.getRiskadminList(e)
+        },
+        handleClose1() {//关闭弹窗
+            this.dialogStatus = false;
+        },
+        handleClose2() {//关闭弹窗
+            this.dialogTreeStatus2 = false;
+        },
+        handleClose3() {//关闭弹窗
+            this.dialogTreeStatus = false;
+        },
+        getRiskadminList(e) {
+            this.$http({
+                url: "/market/waf/queryPathList",
+                method: "post",
+                headers: {
+                    "Content-Type": "application/json",
+                },
+                data: this.searchBox,
+            }).then((res) => {
+                this.tableData = res.data.body;
+
+            });
+        },
+        adminhandleCurrentChange(val) {
+            // console.log(e)
+            this.adminpageData.pageNum = val;
+            this.getRiskadminform(this.resourceId)
+            console.log(`当前页: ${val}`);
+        },
+        adminhandleSizeChange() {
+
+        }
+
+    },
+    created() {
+
+    }
+}
+</script>
+<style lang="scss" scoped>
+.flex-box1 {
+    display: flex;
+    width: calc(100% - 40px);
+    border-radius: 20px;
+    background-color: #fff;
+    margin: 0 auto;
+    margin-top: 20px;
+    position: relative;
+    flex-direction: column;
+
+    .flex-header {
+        display: flex;
+        width: 100%;
+        position: relative;
+        height: 60px;
+        margin: 1%;
+        border-bottom: 1px solid #e1e1e1;
+        justify-content: space-between;
+
+        .el-button {
+            width: 150px;
+            float: right;
+            height: 40px !important;
+            margin-right: 30px;
+        }
+    }
+
+    .flex-load {
+        display: flex;
+        width: 80%;
+        position: relative;
+        margin: 1%;
+        border-bottom: 1px solid #e1e1e1;
+        justify-content: space-between;
+        // height: 354px!important;
+    }
+}
+
+::v-deep .el-dialog__body {
+    // max-height: calc(100vh) !important;
+    // min-height: 100px;
+    height: 80%;
+    // overflow-y: hidden;
+}
+</style>

+ 7 - 0
src/router/index.js

@@ -2284,6 +2284,13 @@ const routes = [{
             meta: { title: '流程模型' }
         },
         {
+            path: '/qathList',
+            name: 'qathList',
+
+            component: resolve => require(['../pages/main/workflowdef/qathList.vue'], resolve),
+            meta: { title: '流程模型' }
+        },
+        {
             path: '/processinst',
             name: 'processinst',