From b0d5edcb0445d654154ba3baf8110886b8543d61 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 06 十二月 2024 14:05:54 +0800 Subject: [PATCH] bug修改 --- src/views/flowable/task/myProcess/send/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index d0b86cd..ce36f2e 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -10,7 +10,10 @@ <el-tab-pane label="琛ㄥ崟淇℃伅" name="1"> <!--鍒濆鍖栨祦绋嬪姞杞借〃鍗曚俊鎭�--> <el-col :span="16" :offset="4" v-if="formDataList && formDataList.length > 0"> - <div v-for="(formDataObj, index) in formDataList" :key="index" class="form-warp"> + <div v-for="(formDataObj, index) in formDataList" :key="index" class="form-warp" style="position: relative"> + <div v-if="!formDataObj.current" style="position: absolute; top: 2px; right: 2px"> + <el-button type="danger" disabled>椹冲洖(鍔熻兘寮�鍙戜腑)</el-button> + </div> <div v-if="formDataObj.current" style="margin-bottom: 15px;color: #409eff">褰撳墠闃舵锛�<span style="color: red">{{formDataObj.beforeNodeName}}</span></div> <div v-else style="margin-bottom: 15px;color: #409eff">鍓嶇疆闃舵锛�<span style="color: #d5904b">{{formDataObj.beforeNodeName}}</span></div> <v-form-render :form-data="formDataObj.formJson" :ref="'form' + index"/> @@ -19,8 +22,8 @@ <!-- <v-form-render :form-data="formRenderData" ref="vFormRef"/>--> <div style="display: flex;justify-content: center; align-items: center; margin: 20px 0"> <el-button type="primary" @click="submitForm">纭骞舵彁浜�</el-button> - <el-button type="primary" @click="submitForm">鍗忓悓鍔炵悊</el-button> - <el-button type="primary" @click="submitForm">杞氦浠栦汉鍔炵悊</el-button> + <el-button type="primary" disabled @click="submitForm">鍗忓悓鍔炵悊(鍔熻兘寮�鍙戜腑)</el-button> + <el-button type="primary" disabled @click="submitForm">杞氦浠栦汉鍔炵悊(鍔熻兘寮�鍙戜腑)</el-button> <!-- <el-button type="primary" @click="resetForm">閲� 缃�</el-button>--> </div> </el-col> @@ -62,7 +65,7 @@ props: {}, data() { return { - formDataList: [], + formDataList: [], // 琛ㄥ崟鍒楄〃 taskId: '', processName: '', // 妯″瀷xml鏁版嵁 @@ -112,8 +115,6 @@ const params = {taskId: taskId} flowTaskForm(params).then(res => { this.formDataList = res.data - // this.formRenderDataList = res.data.map(item => item.formJson) - // console.log("琛ㄥ崟鏁版嵁鍒楄〃", this.formRenderDataList) if (this.formDataList && this.formDataList.length > 0) { this.$nextTick(() => { this.formDataList.forEach((formDataObj, index) => { -- Gitblit v1.8.0