ソースを参照

reactor:退回上传统一名称;

zhangchong 1 年間 前
コミット
8fe00c9114

+ 8 - 8
src/components/AnnexList/index.vue

@@ -13,7 +13,7 @@
 			:on-change="handleChangeFile"
 			:on-success="updateData"
 			:disabled="props.readonly"
-      :on-error="onUploadError"
+			:on-error="onUploadError"
 		>
 			<template v-if="!props.readonly">
 				<el-button> <SvgIcon name="ele-Upload" /> {{ props.name }} </el-button>
@@ -130,7 +130,7 @@ const handleExceed = (files: any, fileList: any) => {
 //限制文件大小
 const handleChangeFile = (file: any, fileList: any) => {
 	//限制上传文件大小
-  updateData();
+	updateData();
 	if (!file) return;
 	const isLt2M = file.size / 1024 / 1024 < props.fileSize;
 	if (!isLt2M) {
@@ -142,8 +142,8 @@ const handleChangeFile = (file: any, fileList: any) => {
 };
 // 上传失败
 const onUploadError = (error: Error) => {
-  console.log(error)
-  ElMessage.error('上传失败');
+	console.log(error);
+	ElMessage.error('上传失败');
 };
 // 删除
 const handleRemove = (uploadFile: any) => {
@@ -198,11 +198,11 @@ const onPreview = (file: any) => {
 };
 watch(
 	() => props.modelValue,
-	(n) => {
+	(n: any) => {
 		fileList.value = n;
-    emit("update:modelValue", fileList.value);
-    const data = formatData(Other.deepClone(fileList.value));
-    emit('update:format', data);
+		emit('update:modelValue', fileList.value);
+		const data = formatData(Other.deepClone(fileList.value));
+		emit('update:format', data);
 	},
 	{ deep: true, immediate: true }
 );

+ 1 - 1
src/components/OrderDetail/index.vue

@@ -469,7 +469,7 @@
 				<!-- 办理中和会签中并且应该自己办理 -->
 				<el-button
 					type="primary"
-					@click="onSubmit('工单退回')"
+					@click="onSubmit('工单退回','退回附件')"
 					:loading="state.loading"
 					v-if="[100, 200].includes(state.ruleForm?.status) && state.workflow.canHandle"
 					v-auth="'business:order:return'"

+ 1 - 1
src/views/business/delay/components/Delay-detail.vue

@@ -127,7 +127,7 @@ const onReturn = () => {
 				dialogTitle: '延期退回',
 				inputPlaceholder: '请输入延期退回意见',
 				annexName: '延期附件',
-				classify: '延期上传',
+				classify: '退回上传',
 			},
 		};
 		processAuditRef.value.openDialog(params);

+ 1 - 1
src/views/business/discern/components/Discern-detail.vue

@@ -181,7 +181,7 @@ const onReturn = () => {
 			extra: {
 				dialogTitle: '甄别退回',
 				inputPlaceholder: '请输入甄别退回意见',
-				annexName: '甄别附件',
+				annexName: '退回上传',
 				classify: '甄别上传',
 			},
 		};