Parcourir la source

单词拼写校正

zhangchong il y a 1 an
Parent
commit
1f3d53b79a

+ 1 - 1
README.md

@@ -1,7 +1,7 @@
 #### 🏭 环境支持
 
 | Edge      | Firefox      | Chrome      | Safari      |
-| --------- | ------------ | ----------- | ----------- |
+|-----------|--------------|-------------|-------------|
 | Edge ≥ 79 | Firefox ≥ 78 | Chrome ≥ 72 | Safari ≥ 12 |
 
 > 由于 Vue3 不再支持 IE11,故而 ElementPlus 也不支持 IE11 及之前版本。

+ 0 - 0
src/api/system/dataAuthority.ts


+ 1 - 1
src/components/LogicFlow/PropertySetting/index.vue

@@ -28,7 +28,7 @@ let formData = reactive<any>({} as any);
 const ruleFormRef = ref<RefType>();
 const NODE_NAME_LIST = ['hotline:summary', 'hotline:task'] as string[];
 // 组件列表
-const COMPONENT_LIST = {
+const COMPONENT_LIST:any = {
 	task,
 	summary,
 };

+ 0 - 1
src/theme/dark.scss

@@ -36,7 +36,6 @@
 	--hotline-bg-columnsMenuBarColor: var(--hotline-color-bar) !important;
 	--hotline-border-color-light: var(--hotline-border-black) !important;
 	--hotline-color-primary-lighter: var(--hotline-color-primary) !important;
-	--hotline-color-primary-lighter: var(--hotline-color-primary) !important;
 	--hotline-color-warning-lighter: var(--hotline-color-primary) !important;
 	--hotline-color-danger-lighter: var(--hotline-color-primary) !important;
 	--hotline-bg-color: var(--hotline-color-primary) !important;

+ 2 - 2
src/theme/media/date.scss

@@ -11,11 +11,11 @@
 			.el-date-range-picker__content {
 				.el-date-range-picker__header div {
 					margin-left: 22px;
-					margin-right: 0px;
+					margin-right: 0;
 				}
 				& + .el-date-range-picker__content {
 					.el-date-range-picker__header div {
-						margin-left: 0px;
+						margin-left: 0;
 						margin-right: 22px;
 					}
 				}

+ 12 - 13
src/views/business/order/components/Order-process.vue

@@ -6,7 +6,7 @@
 			:title="state.title + '流程'"
 			ref="dialogRef"
 			@mouseup="mouseup"
-			:style="'transform: ' + state.trasform + ';'"
+			:style="'transform: ' + state.transform + ';'"
 			append-to-body
 			destroy-on-close
 		>
@@ -27,11 +27,11 @@
 								filterable
 								placeholder="请选择处理人"
 								class="w100"
-								@change="selectHanders"
+								@change="selectHandlers"
 								value-key="key"
 								clearable
 							>
-								<el-option v-for="item in state.handerOptions" :key="item.key" :label="item.value" :value="item" />
+								<el-option v-for="item in state.handlerOptions" :key="item.key" :label="item.value" :value="item" />
 							</el-select>
 						</el-form-item>
 					</el-col>
@@ -44,7 +44,7 @@
 							:rules="[{ required: false, message: '请选择主办', trigger: 'change' }]"
 						>
 							<el-select v-model="state.ruleForm.nextMainHandler" placeholder="请选择主办" class="w100">
-								<el-option v-for="item in state.handerMainOptions" :key="item.key" :label="item.value" :value="item.key" />
+								<el-option v-for="item in state.handlerMainOptions" :key="item.key" :label="item.value" :value="item.key" />
 							</el-select>
 						</el-form-item>
 					</el-col>
@@ -105,8 +105,8 @@ const state = reactive<any>({
 		nextMainHandler: '',
 	},
 	nextStepOptions: [], // 下一节点
-	handerOptions: [], // 处理人
-	trasform: 'translate(0px, 0px)',
+	handlerOptions: [], // 处理人
+  transform: 'translate(0px, 0px)',
 	fileList: [],
 	loading: false,
 	isStartFlow: false, //是否开启流程
@@ -114,7 +114,7 @@ const state = reactive<any>({
 	workflowId: '', //工单id
 	commonEnum: '',
 	handlerClassifies: [], //撤回处理人
-	handerMainOptions: [], // 主办人
+	handlerMainOptions: [], // 主办人
 	handleId: '', // 流程处理ID
 });
 const ruleFormRef = ref<RefType>();
@@ -184,26 +184,25 @@ const selectNextStep = (val: any) => {
 const getNextStepOption = async (DefineId: string, Code: string) => {
 	try {
 		const res: any = await workflowStepOptions({ DefineId, Code });
-		state.handerOptions = res.result ?? [];
+		state.handlerOptions = res.result ?? [];
 	} catch (error) {
 		console.log(error);
 	}
 };
 // 选择处理人
-const selectHanders = () => {
+const selectHandlers = () => {
 	ruleFormRef.value?.resetFields('nextMainHandler');
 };
 const showMainHandler = computed(() => {
-	if (state.ruleForm.nextHandlers.length > 1) return true;
-	else return false;
+	return state.ruleForm.nextHandlers.length > 1;
 });
 // 主办从处理人中选择
-state.handerMainOptions = computed(() => {
+state.handlerMainOptions = computed(() => {
 	return state.ruleForm.nextHandlers;
 });
 // 设置抽屉
 const mouseup = () => {
-	state.trasform = dialogRef.value.dialogContentRef.$el.style.transform;
+	state.transform = dialogRef.value.dialogContentRef.$el.style.transform;
 };
 // 关闭弹窗
 const closeDialog = () => {