Bladeren bron

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/api/flow/processTask.ts
#	src/views/approve/pendingApproval/detail.vue
#	src/views/approve/pendingApproval/index.vue
lanceJiang 1 jaar geleden
bovenliggende
commit
b1b2a11190

+ 50 - 5
src/api/flow/processTask.ts

@@ -8,7 +8,11 @@ const api = {
 	pageMyReceived: '/v1/process-task/page-my-received',
 	pageMyApplication: '/v1/process-task/page-my-application',
 	pageApproved: '/v1/process-task/page-approved',
-	listHisTask: '/v1/process-task/list-his-task'
+	listHisTask: '/v1/process-task/list-his-task', // todo废弃了
+	consentTask: '/v1/process-task/consent', // 审批同意
+	rejectionTask: '/v1/process-task/rejection', // 审批拒绝
+	reviewTask: '/v1/process-task/comment', // 评论审批
+	approvalInfo: '/v1/process-task/approval-info' // 审批详情
 }
 
 // 待认领任务分页列表
@@ -56,6 +60,7 @@ export function processTaskPageApprovedApi(data: any): AxiosPromise {
 	})
 }
 
+// todo废弃了
 export function processTaskListHisTaskApi(instanceId: string): AxiosPromise {
 	return request({
 		url: `${api.listHisTask}/${instanceId}`,
@@ -63,16 +68,56 @@ export function processTaskListHisTaskApi(instanceId: string): AxiosPromise {
 	})
 }
 
-// 查看审批信息
-export function processTaskApprovalInfo(taskId: string): AxiosPromise {
+// 审批同意
+export function processConsentTaskApi(data: any): AxiosPromise {
+	return request({
+		url: api.consentTask,
+		method: 'post',
+		data
+	})
+}
+
+// 审批拒绝
+export function processRejectionTaskApi(data: any): AxiosPromise {
+	return request({
+		url: api.rejectionTask,
+		method: 'post',
+		data
+	})
+}
+
+// 评论审批
+export function processReviewTaskApi(data: any): AxiosPromise {
+	return request({
+		url: api.reviewTask,
+		method: 'post',
+		data
+	})
+}
+
+// 审批详情
+export function processApprovalInfoApi(taskId: string): AxiosPromise {
 	return request({
-		url: `/v1/process-task/approval-info-${taskId}`,
+		url: `${api.approvalInfo}-${taskId}`,
 		method: 'post'
 	})
 }
 
+// 查看审批信息
+export function processTaskApprovalInfo(taskId: string): AxiosPromise {
+    return request({
+        url: `/v1/process-task/approval-info-${taskId}`,
+        method: 'post'
+    })
+}
+
 export default {
 	processTaskPageMyApplicationApi,
 	processTaskPageApprovedApi,
-	processTaskListHisTaskApi
+	processTaskListHisTaskApi,
+	processConsentTaskApi,
+	processRejectionTaskApi,
+	processReviewTaskApi,
+	processApprovalInfoApi,
+    processTaskApprovalInfo
 }

+ 25 - 14
src/components/FormCreateDesigner/FcDesigner.vue

@@ -20,7 +20,7 @@
 					</template>
 				</el-aside>
 				<ElContainer class="_fc-m">
-					<el-header class="_fc-m-tools" height="45">
+					<el-header v-if="false" class="_fc-m-tools" height="45">
 						<slot name="handle"></slot>
 						<el-button size="small" @click="setJson">导入JSON</el-button>
 						<el-button size="small" type="primary" @click="showJson">生成JSON</el-button>
@@ -40,7 +40,7 @@
 							</template>
 						</el-popconfirm>
 					</el-header>
-					<ElMain style="background: #f5f5f5; padding: 20px">
+					<ElMain class="_fc-el-main">
 						<div class="_fc-m-drag">
 							<DragForm v-model:api="dragForm.api" :rule="dragForm.rule" :option="form.value"></DragForm>
 						</div>
@@ -1075,7 +1075,7 @@ export default defineComponent({
 }
 
 ._fc-m .form-create ._fc-l-item {
-	background: #2e73ff;
+	background: var(--el-color-primary);
 	width: 100%;
 	height: 10px;
 	overflow: hidden;
@@ -1085,7 +1085,8 @@ export default defineComponent({
 ._fc-l,
 ._fc-m,
 ._fc-r {
-	border-top: 1px solid #ececec;
+	/* #ececec */
+	border-top: 1px solid var(--el-border-color-lighter);
 	box-sizing: border-box;
 }
 
@@ -1101,8 +1102,8 @@ export default defineComponent({
 
 ._fc-l-item {
 	display: inline-block;
-	background: #fff;
-	color: #000;
+	background: var(--el-bg-color);
+	color: var(--el-text-color-primary);
 	min-width: 70px;
 	width: 33.33%;
 	height: 70px;
@@ -1126,8 +1127,10 @@ export default defineComponent({
 }
 
 ._fc-l-item:hover {
-	background: #2e73ff;
-	color: #fff;
+	/*background: #2e73ff;*/
+	background: var(--el-color-primary);
+	/*color: #fff;*/
+	color: var(--el-color-white);
 }
 
 ._fc-m-tools {
@@ -1135,7 +1138,8 @@ export default defineComponent({
 	align-items: center;
 	display: flex;
 	justify-content: flex-end;
-	border: 1px solid #ececec;
+	/*border: 1px solid #ececec;*/
+	border: 1px solid var(--el-border-color);
 	border-top: 0 none;
 }
 
@@ -1152,13 +1156,15 @@ export default defineComponent({
 
 ._fc-r .el-tabs__nav-wrap::after {
 	height: 1px;
-	background-color: #ececec;
+	/*background-color: #ececec;*/
+	background-color: var(--el-bg-color-page);
 }
 
 ._fc-r ._fc-r-tabs {
 	display: flex;
 	padding: 0;
-	border-bottom: 1px solid #ececec;
+	/*border-bottom: 1px solid #ececec;*/
+	border-bottom: 1px solid var(--el-border-color-extra-light);
 }
 
 ._fc-r ._fc-r-tab {
@@ -1176,8 +1182,8 @@ export default defineComponent({
 }
 
 ._fc-r ._fc-r-tab.active {
-	color: #409eff;
-	border-bottom: 2px solid #409eff;
+	color: var(--el-color-primary);
+	border-bottom: 2px solid var(--el-color-primary);
 }
 
 .drag-box {
@@ -1193,7 +1199,7 @@ export default defineComponent({
 
 ._fc-m-drag,
 .draggable-drag {
-	background: #fff;
+	background: var(--el-bg-color);
 	height: 100%;
 	position: relative;
 }
@@ -1202,4 +1208,9 @@ export default defineComponent({
 ._fc-m-drag > form > .el-row {
 	height: 100%;
 }
+
+._fc-el-main {
+	background: var(--el-bg-color-page);
+	padding: 20px;
+}
 </style>

+ 4 - 0
src/views/approve/components/addSignDialog.vue

@@ -49,6 +49,10 @@ const props = defineProps({
 	linkType: {
 		type: String,
 		default: '1'
+	},
+	taskId: {
+		type: String,
+		default: undefined
 	}
 })
 const btnDisabled = ref(false)

+ 32 - 12
src/views/approve/components/consentOrRefuseDialog.vue

@@ -1,11 +1,11 @@
 <template>
-	<!-- 同意 拒绝 弹窗 -->
-	<el-dialog v-model="operaVisibleDialog" title="同意/拒绝审批" width="700" destroy-on-close>
+	<!-- 同意 拒绝 弹窗  同意/拒绝审批 -->
+	<el-dialog v-model="operaVisibleDialog" :title="currentTip + '审批'" width="700" destroy-on-close>
 		<el-form ref="formRef" v-loading="uploadLoading" label-position="top" element-loading-text="图片上传中..." :model="form" label-width="80px">
-			<el-form-item label="审批意见" prop="review" :rules="[{ required: true, message: '审批意见不能为空' }]">
-				<el-input v-model="form.review" type="textarea" placeholder="请输入内容" maxlength="64" show-word-limit> </el-input>
+			<el-form-item label="审批意见" prop="content" :rules="[{ required: true, message: '审批意见不能为空' }]">
+				<el-input v-model="form.content" type="textarea" placeholder="请输入内容" maxlength="64" show-word-limit> </el-input>
 			</el-form-item>
-			<el-form-item prop="attachment" label="附件" class="example-img-box">
+			<el-form-item v-if="false" prop="attachment" label="附件" class="example-img-box">
 				<!--'.docx', '.doc', '.pptx', '.ppt', '.xlsx', '.xls', '.zip', '.csv', '.pdf', '.png', '.jpg'  因前端不支持图片以外格式,所以注释 -->
 				<FileUpload
 					v-model="form.attachment"
@@ -30,12 +30,24 @@
 <script setup>
 import { computed, reactive, ref } from 'vue'
 import FileUpload from '@/components/FileUpload.vue'
+import { processConsentTaskApi, processRejectionTaskApi } from '@/api/flow/processTask'
 
 const props = defineProps({
+	// 弹窗是否显示
 	modelValue: {
 		type: Boolean,
 		default: false
 	},
+	// 审核id
+	taskId: {
+		type: String,
+		default: undefined
+	},
+	// 审核类型 同意(agree) or 拒绝(reject)
+	currentType: {
+		type: String,
+		default: 'agree'
+	},
 	showOrderDesc: {
 		type: Boolean,
 		default: true
@@ -48,27 +60,31 @@ const props = defineProps({
 })
 const btnDisabled = ref(false)
 const form = reactive({
-	review: '',
-	attachment: []
+	content: '',
+	// attachment: []
 })
 const formRef = ref(null)
 const uploadLoading = ref(false)
 
-const $myEmit = defineEmits(['update:modelValue', 'confirm'])
+const $myEmit = defineEmits(['update:modelValue'])
 
 const submitForm = () => {
 	btnDisabled.value = true
-	const formData = { ...form }
+	const formData = { ...form, taskId: props.taskId }
 	formRef.value
 		.validate()
-		.then(valid => {
+		.then(async valid => {
 			if (valid) {
-				emit('confirm', formData)
+				if (currentTip.value) {
+					await processConsentTaskApi(formData)
+				} else {
+					await processRejectionTaskApi(formData)
+				}
+				closeDialog()
 				btnDisabled.value = false
 			}
 		})
 		.catch(err => {
-			console.error('挂起订单表单拦截', err)
 			btnDisabled.value = false
 		})
 }
@@ -86,6 +102,10 @@ const operaVisibleDialog = computed({
 	}
 })
 
+const currentTip = computed(() => {
+	return props.currentType === 'agree' ? '同意' : '拒绝'
+})
+
 const clearValidate = () => {}
 </script>
 

+ 4 - 0
src/views/approve/components/deliverToReviewDialog.vue

@@ -49,6 +49,10 @@ const props = defineProps({
 	linkType: {
 		type: String,
 		default: '1'
+	},
+	taskId: {
+		type: String,
+		default: undefined
 	}
 })
 const btnDisabled = ref(false)

+ 4 - 0
src/views/approve/components/loseSignDialog.vue

@@ -49,6 +49,10 @@ const props = defineProps({
 	linkType: {
 		type: String,
 		default: '1'
+	},
+	taskId: {
+		type: String,
+		default: undefined
 	}
 })
 const btnDisabled = ref(false)

+ 16 - 10
src/views/approve/components/reviewDialog.vue

@@ -2,10 +2,10 @@
 	<!-- 评论弹窗 -->
 	<el-dialog v-model="reviewVisibleDialog" title="评论内容" width="700" destroy-on-close>
 		<el-form ref="formRef" v-loading="uploadLoading" label-position="top" element-loading-text="图片上传中..." :model="form" label-width="80px">
-			<el-form-item label="评论" prop="review" :rules="[{ required: true, message: '评论内容不能为空' }]">
-				<el-input v-model="form.review" type="textarea" placeholder="请输入内容" maxlength="64" show-word-limit> </el-input>
+			<el-form-item label="评论" prop="content" :rules="[{ required: true, message: '评论内容不能为空' }]">
+				<el-input v-model="form.content" type="textarea" placeholder="请输入内容" maxlength="64" show-word-limit> </el-input>
 			</el-form-item>
-			<el-form-item prop="attachment" label="附件" class="example-img-box">
+			<el-form-item v-if="false" prop="attachment" label="附件" class="example-img-box">
 				<!--'.docx', '.doc', '.pptx', '.ppt', '.xlsx', '.xls', '.zip', '.csv', '.pdf', '.png', '.jpg'  因前端不支持图片以外格式,所以注释 -->
 				<FileUpload
 					v-model="form.attachment"
@@ -29,6 +29,7 @@
 
 <script setup>
 import { computed, reactive, ref } from 'vue'
+import { processReviewTaskApi } from '@/api/flow/processTask'
 import FileUpload from '@/components/FileUpload.vue'
 
 const props = defineProps({
@@ -44,31 +45,36 @@ const props = defineProps({
 	linkType: {
 		type: String,
 		default: '1'
+	},
+	taskId: {
+		type: String,
+		default: undefined
 	}
 })
 const btnDisabled = ref(false)
 const form = reactive({
-	review: '',
-	attachment: []
+	content: '',
+	// attachment: []
 })
 const formRef = ref(null)
 const uploadLoading = ref(false)
 
-const $myEmit = defineEmits(['update:modelValue', 'confirm'])
+const $myEmit = defineEmits(['update:modelValue'])
 
+// 提交
 const submitForm = () => {
 	btnDisabled.value = true
-	const formData = { ...form }
+	const formData = { ...form, taskId: props.taskId }
 	formRef.value
 		.validate()
-		.then(valid => {
+		.then(async valid => {
 			if (valid) {
-				emit('confirm', formData)
+				await processReviewTaskApi(formData)
+				closeDialog()
 				btnDisabled.value = false
 			}
 		})
 		.catch(err => {
-			console.error('挂起订单表单拦截', err)
 			btnDisabled.value = false
 		})
 }

+ 4 - 0
src/views/approve/components/rollbackDialog.vue

@@ -49,6 +49,10 @@ const props = defineProps({
 	linkType: {
 		type: String,
 		default: '1'
+	},
+	taskId: {
+		type: String,
+		default: undefined
 	}
 })
 const btnDisabled = ref(false)

+ 82 - 68
src/views/approve/pendingApproval/detail.vue

@@ -3,7 +3,7 @@
 		<el-drawer v-model="visibleDialog" class="custom-adrawer" direction="rtl" size="900" @close="handleCancel">
 			<template #header>
 				<div class="flow-header-box">
-					<div class="flow-no">编号:12138</div>
+					<div class="flow-no">编号:{{ taskId }}</div>
 				</div>
 			</template>
 			<div class="flow-detail-container">
@@ -15,12 +15,12 @@
 					<!--头部-->
 					<div class="header-box">
 						<div class="summary-info">
-							<div class="title">名片申请</div>
+							<div class="title">{{ taskObj.processName }}</div>
 							<FlowStatusTag :status="0" />
 						</div>
 						<div class="initiator-info">
 							<FlowNodeAvatar id="1" />
-							<div class="begin-time">2023-11-01 12:00:17 提交</div>
+							<div class="begin-time">{{ taskObj.createTime }} 提交</div>
 						</div>
 					</div>
 					<div class="area-divider"></div>
@@ -58,8 +58,8 @@
 			<template #footer>
 				<div class="flow-actions">
 					<el-button :icon="ChatLineSquare" @click="openComment('reviewVisible')">评论</el-button>
-					<el-button :icon="Check" type="success" @click="openComment('consentOrRefuseVisible')">同意</el-button>
-					<el-button :icon="Close" type="danger" @click="openComment('consentOrRefuseVisible')">拒绝</el-button>
+					<el-button :icon="Check" type="success" @click="openComment('consentOrRefuseVisible', 'agree')">同意</el-button>
+					<el-button :icon="Close" type="danger" @click="openComment('consentOrRefuseVisible', 'reject')">拒绝</el-button>
 					<el-dropdown style="margin-left: 12px">
 						<el-button :icon="More">更多</el-button>
 						<template #dropdown>
@@ -88,33 +88,38 @@
 		</el-drawer>
 
 		<!-- 评论弹窗-->
-		<review-dialog v-if="reviewVisible" v-model="reviewVisible"></review-dialog>
+		<review-dialog v-if="reviewVisible" v-model="reviewVisible" :task-id="taskId"></review-dialog>
 
 		<!-- 加签弹窗 -->
-		<add-sign-dialog v-if="addSignVisible" v-model="addSignVisible"></add-sign-dialog>
+		<add-sign-dialog v-if="addSignVisible" v-model="addSignVisible" :task-id="taskId"></add-sign-dialog>
 
 		<!-- 同意或拒绝弹窗 -->
-		<consent-or-refuse-dialog v-if="consentOrRefuseVisible" v-model="consentOrRefuseVisible"></consent-or-refuse-dialog>
+		<consent-or-refuse-dialog
+			v-if="consentOrRefuseVisible"
+			v-model="consentOrRefuseVisible"
+			:task-id="taskId"
+			:current-type="currentDialog"
+		></consent-or-refuse-dialog>
 
 		<!-- 转交审批弹窗 -->
-		<deliver-to-review-dialog v-if="deliverToReviewVisible" v-model="deliverToReviewVisible"></deliver-to-review-dialog>
+		<deliver-to-review-dialog v-if="deliverToReviewVisible" v-model="deliverToReviewVisible" :task-id="taskId"></deliver-to-review-dialog>
 
 		<!-- 减签弹窗 -->
-		<lose-sign-dialog v-if="loseSignVisible" v-model="loseSignVisible"></lose-sign-dialog>
+		<lose-sign-dialog v-if="loseSignVisible" v-model="loseSignVisible" :task-id="taskId"></lose-sign-dialog>
 
 		<!-- 回退弹窗 -->
-		<rollback-dialog v-if="rollbackVisible" v-model="rollbackVisible"></rollback-dialog>
+		<rollback-dialog v-if="rollbackVisible" v-model="rollbackVisible" :task-id="taskId"></rollback-dialog>
 	</div>
 </template>
 
 <script setup>
-import { computed, ref, onMounted } from 'vue'
+import { computed, ref, onMounted, nextTick } from 'vue'
 import FlowStatusStamp from '@/components/Flow/FlowStatusStamp.vue'
 import FlowStatusTag from '@/components/Flow/FlowStatusTag.vue'
 import FlowNodeAvatar from '@/components/Flow/FlowNodeAvatar.vue'
 import FlowTypeDot from '@/components/Flow/FlowTypeDot.vue'
 import { ChatLineSquare, Check, Close, Switch, DArrowLeft, Plus, Minus, More } from '@element-plus/icons-vue'
-import { processTaskListHisTaskApi, processTaskApprovalInfo } from '@/api/flow/processTask'
+import { processApprovalInfoApi, processTaskApprovalInfo } from '@/api/flow/processTask'
 import { formatTimestamp } from '@/utils/datetime'
 import ReviewDialog from '../components/reviewDialog'
 import AddSignDialog from '../components/addSignDialog'
@@ -128,27 +133,41 @@ const props = defineProps({
 		type: Boolean,
 		default: false
 	},
-	activeItem: {
+  taskObj: {
 		type: Object,
 		default: () => ({})
 	}
 })
 const emit = defineEmits(['update:modelValue', 'successFn'])
 
-// 各种操作弹窗显示隐藏
+// 各种操作弹窗显示隐藏 start
 const reviewVisible = ref(false)
 const addSignVisible = ref(false)
 const consentOrRefuseVisible = ref(false)
 const deliverToReviewVisible = ref(false)
 const loseSignVisible = ref(false)
 const rollbackVisible = ref(false)
+// 各种操作弹窗显示隐藏 end
 const activeData = ref([])
-const descItemsData = ref({
-	origin: undefined,
-	list: [],
-	loading: false
+const currentDialog = ref(null)
+
+const visibleDialog = computed({
+	get() {
+		return props.modelValue
+	},
+	set(val) {
+		emit('update:modelValue', val)
+	}
 })
 
+const taskId = computed(() => {
+	return props.taskObj.taskId || ''
+})
+const descItemsData = ref({
+  origin: undefined,
+  list: [],
+  loading: false
+})
 // 关闭按钮
 const closeDrawer = () => {
 	emit('successFn')
@@ -159,17 +178,8 @@ const handleCancel = () => {
 	closeDrawer()
 }
 
-const visibleDialog = computed({
-	get() {
-		return props.modelValue
-	},
-	set(val) {
-		emit('update:modelValue', val)
-	}
-})
-
 // 操作按钮
-const openComment = type => {
+const openComment = (type, item) => {
 	switch (type) {
 		case 'reviewVisible':
 			reviewVisible.value = !reviewVisible.value
@@ -178,6 +188,7 @@ const openComment = type => {
 			addSignVisible.value = !addSignVisible.value
 			break
 		case 'consentOrRefuseVisible':
+			currentDialog.value = item
 			consentOrRefuseVisible.value = !consentOrRefuseVisible.value
 			break
 		case 'deliverToReviewVisible':
@@ -192,46 +203,49 @@ const openComment = type => {
 	}
 }
 
-onMounted(() => {
-	const cur = props.activeItem || {}
-	descItemsData.value.loading = true
-	processTaskApprovalInfo(cur.taskId)
-		.then(data => {
-			// console.log(data, 'data.......')
-			descItemsData.value.origin = data
-			try {
-				descItemsData.value.list = JSON.parse(data.formContent).map(item => {
-					const showLabel = item.title
-					let showValue = item.local_value
-					const options = item.options
-					if (Array.isArray(options) && showValue !== undefined) {
-						if (Array.isArray(showValue)) {
-							showValue = showValue.reduce(val => {
-								const cur = options.find(option => option.value === val)
-								return cur?.label || val
-							}, [])
-						} else {
-							const cur = options.find(option => option.value === showValue)
-							showValue = cur?.label || showValue
-						}
-					}
-					return {
-						showLabel,
-						showValue
-					}
-				})
-			} catch (e) {
-				console.error('解析 descItems 数据出现问题', e)
-				descItemsData.value.list = []
-			}
-		})
-		.finally(() => {
-			descItemsData.value.loading = false
-		})
-	processTaskListHisTaskApi(cur.instanceId).then(data => {
-		activeData.value = data
-	})
+nextTick(() => {
+  const cur = props.taskObj || {}
+  processApprovalInfoApi(cur.taskId).then(data => {
+    console.log(JSON.stringify(data))
+    activeData.value = data
+  })
+  // 提交的表单 数据展示
+  descItemsData.value.loading = true
+  processTaskApprovalInfo(cur.taskId)
+      .then(data => {
+        // console.log(data, 'data.......')
+        descItemsData.value.origin = data
+        try {
+          descItemsData.value.list = JSON.parse(data.formContent).map(item => {
+            const showLabel = item.title
+            let showValue = item.local_value
+            const options = item.options
+            if (Array.isArray(options) && showValue !== undefined) {
+              if (Array.isArray(showValue)) {
+                showValue = showValue.reduce(val => {
+                  const cur = options.find(option => option.value === val)
+                  return cur?.label || val
+                }, [])
+              } else {
+                const cur = options.find(option => option.value === showValue)
+                showValue = cur?.label || showValue
+              }
+            }
+            return {
+              showLabel,
+              showValue
+            }
+          })
+        } catch (e) {
+          console.error('解析 descItems 数据出现问题', e)
+          descItemsData.value.list = []
+        }
+      })
+      .finally(() => {
+        descItemsData.value.loading = false
+      })
 })
+
 </script>
 
 <style scoped lang="scss">

+ 3 - 3
src/views/approve/pendingApproval/index.vue

@@ -36,7 +36,7 @@
 			</LeTable>
 		</div>
 
-		<message-detail v-if="visibleDetail" v-model="visibleDetail" :active-item="activeItem" @closed="visibleDetail = false"> </message-detail>
+		<message-detail v-if="visibleDetail" v-model="visibleDetail" :task-obj="taskRow" @closed="visibleDetail = false"> </message-detail>
 	</div>
 </template>
 <script lang="tsx" setup>
@@ -48,7 +48,7 @@ import { useRoute } from 'vue-router'
 const route = useRoute()
 
 const visibleDetail = ref(false) // 权限设置弹窗显示隐藏
-const activeItem = ref(null)
+const taskRow = ref({}) // 当前这条数据详情
 
 // 表格搜索条件
 const forms = ref([
@@ -154,7 +154,7 @@ const { searchData, tableOpts, checkedColumns, activeColumns } = useTablePage(
 )
 
 const openDetail = (row: any) => {
-	activeItem.value = row
+	taskRow.value = row || {}
 	visibleDetail.value = true
 }
 

+ 3 - 3
src/views/flow/create/components/BasicInfo.vue

@@ -218,13 +218,13 @@ defineExpose({
 	height: 100%;
 	text-align: center;
 	overflow-y: auto;
-	background-color: #eff0f1;
+	background-color: var(--el-color-info-light-9);
 	position: relative;
 	&-panel {
 		display: inline-block;
 		width: 1128px;
 		padding: 24px 288px;
-		background-color: #fff;
+		background-color: var(--el-bg-color);
 		text-align: left;
 	}
 }
@@ -287,7 +287,7 @@ defineExpose({
 	font-family: PingFang SC, Microsoft YaHei;
 	font-size: 14px;
 	line-height: 20px;
-	background-color: #eff0f1;
+	background-color: var(--el-fill-color);
 	border-radius: 50%;
 	cursor: pointer;
 	display: flex;

+ 4 - 4
src/views/flow/create/components/ExtendSet.vue

@@ -84,12 +84,12 @@ defineProps({
 	text-align: center;
 	overflow-y: auto;
 	height: 100%;
-	background-color: rgb(239, 240, 241);
+	background-color: var(--el-color-info-light-9);
 }
 
 .other-settings-panel {
 	width: 1128px;
-	background-color: rgb(255, 255, 255);
+	background-color: var(--el-bg-color);
 	padding: 32px 0px;
 	text-align: left;
 }
@@ -105,7 +105,7 @@ defineProps({
 	width: 823px;
 	._1zQ9x381ImhBju8yBmxOez {
 		width: 94px;
-		color: rgb(31, 35, 41);
+		//color: rgb(31, 35, 41);
 		font-size: 14px;
 		font-weight: 550;
 		line-height: 22px;
@@ -121,7 +121,7 @@ defineProps({
 }
 
 .revoke-setting-sub-text {
-	color: #646a73;
+	//color: #646a73;
 	font-size: 14px;
 	margin-top: 4px;
 	line-height: 22px;