Browse Source

工作台首页

hujunwei 2 years ago
parent
commit
2b03ead7fa
2 changed files with 45 additions and 22 deletions
  1. 11 11
      src/pages/main/index.vue
  2. 34 11
      src/pages/main/leader/leaderhomeTask.vue

+ 11 - 11
src/pages/main/index.vue

@@ -125,15 +125,15 @@ export default {
 .el-main {
   padding: 0px !important;
 }
-::v-deep .font-ui {
-  display: inline-block;
-  font-weight: bold;
-  color: #8eb7e4;
-  text-shadow: 0 0 1px currentColor, -1px -1px 1px #000, 0 -1px 1px #000,
-    1px -1px 1px #000, 1px 0 1px #000, 1px 1px 1px #000, 0 1px 1px #000,
-    -1px 1px 1px #000, -1px 0 1px #000;
-  -webkit-filter: url(#diff1);
-  filter: url(#diff1); /*background:#def;padding:0 .2em*/
-  font-size: 20px;
-}
+// ::v-deep .font-ui {
+//   display: inline-block;
+//   font-weight: bold;
+//   color: #8eb7e4;
+//   text-shadow: 0 0 1px currentColor, -1px -1px 1px #000, 0 -1px 1px #000,
+//     1px -1px 1px #000, 1px 0 1px #000, 1px 1px 1px #000, 0 1px 1px #000,
+//     -1px 1px 1px #000, -1px 0 1px #000;
+//   -webkit-filter: url(#diff1);
+//   filter: url(#diff1); /*background:#def;padding:0 .2em*/
+//   font-size: 20px;
+// }
 </style>

+ 34 - 11
src/pages/main/leader/leaderhomeTask.vue

@@ -279,7 +279,7 @@
             </el-form-item>
           </el-form>
           <h3>流程轨迹</h3>
-          <el-table :data="DoneList" style="width: 100%" max-height="400">
+          <el-table :data="DoneList" style="width: 100%" max-height="350">
             <el-table-column prop="createTime" label="节点开始时间" />
             <el-table-column prop="stepName" label="节点名称" width="180" />
             <el-table-column prop="assigneeName" label="处理角色" width="180" />
@@ -316,7 +316,7 @@
             </el-form-item>
           </el-form>
           <h3>流程轨迹</h3>
-          <el-table :data="launchList" style="width: 100%" max-height="400">
+          <el-table :data="launchList" style="width: 100%" max-height="350">
             <el-table-column prop="createTime" label="节点开始时间" />
             <el-table-column prop="stepName" label="节点名称" width="180" />
             <el-table-column prop="assigneeName" label="处理角色" width="180" />
@@ -369,24 +369,28 @@ export default {
       WorkOrderList: [], //我的待办流程节点
       DoneList: [], //我的已办流程节点
       launchList:[],//我的发起流程节点
+      urlllll:"",//跳转路由
     };
   },
   methods: {
+    
     //处理按钮
     dlogStatus() {
-      this.WorkOrderStatus = false;
-      this.WorkOrderStatus1 = true;
+      // this.WorkOrderStatus = false;
+      // this.WorkOrderStatus1 = true;
+      this.$router.push(this.urlllll);
+      console.log(this.urlllll)
     },
     //查看标题按钮
     RowTitle(v) {
       this.StatusList = v;
-      let url= v.actionUrl;
-      console.log(url+111);
-      // this.dialogdiv="/static/views/insideFilecollect/launch.html"
-      this.dialogdiv=url.replace("/views","/static/views")
-      this.dialogdiv=url.replace("/static/views","/static/views")
-      this.dialogdiv=url.replace("/dist/views/","/static/views/")
-      console.log( this.dialogdiv+"new");
+      // let url= v.actionUrl;
+      // console.log(url+111);
+      // // this.dialogdiv="/static/views/insideFilecollect/launch.html"
+      // this.dialogdiv=url.replace("/views","/static/views")
+      // this.dialogdiv=url.replace("/static/views","/static/views")
+      // this.dialogdiv=url.replace("/dist/views/","/static/views/")
+      // console.log( this.dialogdiv+"new");
       this.WorkOrderStatus = true;
       this.$http({
         url: "/market/cwo/queryProcStepByWono",
@@ -400,6 +404,24 @@ export default {
       }).then((res) => {
         this.WorkOrderList = res.data;
       });
+      this.$http({
+        url: "/market/cwo/redirectDealPage",
+        method: "post",
+        headers: {
+          "Content-Type": "application/json",
+        },
+        data: {
+          procId: v.procId,
+        },
+      }).then((res) => {
+        this.urlllll=res.data[0].jspUrl
+        // console.log(this.urlllll)
+        // if(this.urlllll=="#"){
+        //   this.urlllll=res.data[1].jspUrl
+        // }
+        console.log(this.urlllll)
+      });
+      
     },
     //我的已办查看
     RowDoneTitle(v) {
@@ -416,6 +438,7 @@ export default {
         },
       }).then((res) => {
         this.DoneList = res.data;
+        
       });
     },
     //我的发起查看