50400282 by renchao@pashanhoo.com

style:流程

1 parent d62bbbeb
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-19 10:02:03
* @LastEditTime: 2024-01-23 09:57:51
*/
import Vue from 'vue'
import { getPrintTemplateByCode } from "@/api/print";
......@@ -173,6 +173,7 @@ export default {
case "B-TXDW":
getZdInfo(this.currentSelectProps.bdcdyid).then(res => {
this.bsmZd = res?.result[0]?.bsmZd
console.log(this.bsmZd);
this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true)
})
break;
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-22 11:00:07
* @LastEditTime: 2024-01-23 10:23:02
*/
import { getForm } from "../flowform";
import { getHomeNoticeList } from "@/api/home.js"
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-22 14:57:22
* @LastEditTime: 2024-01-23 10:21:02
-->
<template>
<div class="container">
......@@ -50,7 +50,7 @@
<div class="rightContainer">
<div class="count">
当前流程所在环节:
<span>{{ $route.query.zbhj }}</span>
<span>{{ $route.query.zbhj }} {{tabName}}</span>
</div>
<el-tabs
v-model="tabName"
......@@ -245,7 +245,13 @@
if (res.code === 200) {
//获取单元对应的所有表单信息
this.tabList = res.result;
var indexTab = 0
//默认加载第一个表单信息
res.result.forEach((item, index) => {
if (item.defaultForm) {
indexTab = index
}
})
let arr = res.result.filter((item) => item.defaultForm);
if (arr.length > 0) {
this.tabName = arr[0].value;
......@@ -255,8 +261,8 @@
if (sessionStorage.getItem('activeName') == this.tabName) {
this.fresh++;
}
this.ableOperation = this.tabList[0].ableOperation;
this.currentSelectTab = this.tabList[0];
this.ableOperation = this.tabList[indexTab].ableOperation;
this.currentSelectTab = this.tabList[indexTab];
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-22 11:04:51
* @LastEditTime: 2024-01-23 10:21:28
-->
<template>
<div class="container">
......@@ -129,15 +129,21 @@
if (res.code === 200) {
//获取单元对应的所有表单信息
this.tabList = res.result;
var indexTab = 0
//默认加载第一个表单信息
res.result.forEach((item, index) => {
if (item.defaultForm) {
indexTab = index
}
})
if (res.result.length > 0) {
that.tabName = res.result[0].value;
}
if (sessionStorage.getItem('activeName') == this.tabName) {
that.fresh++;
}
this.ableOperation = this.tabList[0].ableOperation
this.currentSelectTab = this.tabList[0];
this.ableOperation = this.tabList[indexTab].ableOperation
this.currentSelectTab = this.tabList[indexTab];
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
......