fix : 对接需求征集详情接口

This commit is contained in:
2024-05-11 20:49:03 +08:00
parent f0212046f3
commit eb061dd1a6
3 changed files with 89 additions and 71 deletions

View File

@@ -379,7 +379,7 @@ html, body, #app, .el-container, .el-aside, .el-main {
margin-top: 10px; margin-top: 10px;
z-index: 666; z-index: 666;
position: absolute; position: absolute;
top: -20px; //top: -20px;
} }
.el-overlay-dialog { .el-overlay-dialog {

View File

@@ -4,7 +4,7 @@
<el-form :model="queryParams" inline class="query-form" ref="demandForm"> <el-form :model="queryParams" inline class="query-form" ref="demandForm">
<div class="left-info"> <div class="left-info">
<el-form-item label="名称" prop="name"> <el-form-item label="名称" prop="name">
<el-input v-model="queryParams.name" placeholder="请输入子公司编码" clearable></el-input> <el-input v-model="queryParams.name" placeholder="请输入名称" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="所属公司" prop="company"> <el-form-item label="所属公司" prop="company">
<el-select v-model="queryParams.company" placeholder="登录状态" clearable filterable> <el-select v-model="queryParams.company" placeholder="登录状态" clearable filterable>

View File

@@ -41,8 +41,10 @@
:pagination="false"></fvTable> :pagination="false"></fvTable>
</el-form-item> </el-form-item>
</el-col> </el-col>
<baseTitle title="审核意见"></baseTitle>
<el-col :span="24"> <el-col :span="24">
<div v-if="processInstanceData.taskId">
<baseTitle title="审核意见"></baseTitle>
<el-form-item> <el-form-item>
<el-input <el-input
v-model="auditOpinion" v-model="auditOpinion"
@@ -51,6 +53,7 @@
placeholder="请输入审核意见" placeholder="请输入审核意见"
/> />
</el-form-item> </el-form-item>
</div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
@@ -65,7 +68,7 @@
<!-- </el-col>--> <!-- </el-col>-->
<!-- </el-row>--> <!-- </el-row>-->
</el-form> </el-form>
<div class="oper-page-btn"> <div class="oper-page-btn" v-if="processInstanceData.taskId">
<el-button @click="handleSubmit">驳回</el-button> <el-button @click="handleSubmit">驳回</el-button>
<el-button color="#DED0B2" @click="handleBack">同意</el-button> <el-button color="#DED0B2" @click="handleBack">同意</el-button>
</div> </div>
@@ -73,16 +76,14 @@
</template> </template>
<script setup lang="jsx"> <script setup lang="jsx">
import {getInitiateInfo} from "@/api/workflow/process-definition.js";
import ProcessTree from '@/views/workflow/process/ProcessTree.vue';
import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue' import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue'
import {useProcessStore} from '@/stores/processStore.js'; import {useProcessStore} from '@/stores/processStore.js';
import {getInfo} from "@/api/project-demand/index.js"; import {getInfo} from "@/api/project-demand/index.js";
import {ElMessage} from "element-plus";
const route = useRoute() const route = useRoute()
const form = ref(); const form = ref();
const processStore = useProcessStore() const processStore = useProcessStore()
const processInstanceData = ref() const processInstanceData = ref({})
const processDiagramViewer = ref(false) const processDiagramViewer = ref(false)
const processTree = ref() const processTree = ref()
@@ -143,7 +144,23 @@ getTree()
justify-content: space-between; justify-content: space-between;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
padding-right: 10px;
&::-webkit-scrollbar {
width: 6px;
height: 6px;
}
// 滚动条轨道
&::-webkit-scrollbar-track {
background: rgb(239, 239, 239);
border-radius: 2px;
}
// 小滑块
&::-webkit-scrollbar-thumb {
background: rgba(80, 81, 82, 0.29);
border-radius: 10px;
}
.left-info { .left-info {
flex: 0.6; flex: 0.6;
@@ -168,11 +185,12 @@ getTree()
.approval-record { .approval-record {
flex: 0.4; flex: 0.4;
.process { .process {
//padding-top: 20px;
position: relative; position: relative;
//max-height: calc(100vh - 96px); //max-height: calc(100vh - 96px);
//height: calc(100vh - 250px); //height: calc(100vh - 250px);
//height: auto; //height: auto;
//overflow: hidden; //overflow: scroll;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 6px; width: 6px;