ソースを参照

reactor:会签时特提不需要提示(宜宾);

zhangchong 5 ヶ月 前
コミット
0054f1c960
1 ファイル変更32 行追加14 行削除
  1. 32 14
      src/components/OrderDetail/index.vue

+ 32 - 14
src/components/OrderDetail/index.vue

@@ -50,7 +50,7 @@
 										class="ml8"
 										@click="recordFile(state.ruleForm)"
 										v-if="
-											['ZiGong','LuZhou'].includes(themeConfig.appScope)
+											['ZiGong', 'LuZhou'].includes(themeConfig.appScope)
 												? state.ruleForm?.recordingAbsolutePath && userInfos.isCenter
 												: state.ruleForm?.recordingAbsolutePath
 										"
@@ -87,7 +87,14 @@
 									</el-checkbox-group>
 								</el-form-item>
 							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="['ZiGong','LuZhou'].includes(themeConfig.appScope) && state.ruleForm.focusOnEvents">
+							<el-col
+								:xs="24"
+								:sm="12"
+								:md="8"
+								:lg="6"
+								:xl="6"
+								v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope) && state.ruleForm.focusOnEvents"
+							>
 								<el-form-item label="重点标签">
 									<span class="color-danger" v-if="state.ruleForm.isUrgent">紧急,</span>
 									<span class="color-danger" v-if="state.ruleForm.is24HoursComplete">24小时办结,</span>
@@ -193,10 +200,10 @@
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="state.ruleForm.pushType">
 								<el-form-item label="推送分类"> {{ state.ruleForm.pushType }} </el-form-item>
 							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="['ZiGong','LuZhou'].includes(themeConfig.appScope) && state.ruleForm.orderTag">
+							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope) && state.ruleForm.orderTag">
 								<el-form-item label="工单标签"> {{ state.ruleForm.orderTag }} </el-form-item>
 							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="['ZiGong','LuZhou'].includes(themeConfig.appScope) && state.ruleForm.company">
+							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope) && state.ruleForm.company">
 								<el-form-item label="工作单位"> {{ state.ruleForm.company }} </el-form-item>
 							</el-col>
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="['YiBin'].includes(themeConfig.appScope) && state.ruleForm.focusOnEventsName">
@@ -245,7 +252,11 @@
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="state.ruleForm.timeLimit">
 								<el-form-item label="工单办理期限">
 									{{ state.ruleForm.timeLimit }}
-									<el-text tag="b" type="danger" class="ml10" v-if="['ZiGong','LuZhou'].includes(themeConfig.appScope) && state.ruleForm.is24HoursComplete"
+									<el-text
+										tag="b"
+										type="danger"
+										class="ml10"
+										v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope) && state.ruleForm.is24HoursComplete"
 										>24小时办结</el-text
 									></el-form-item
 								>
@@ -494,7 +505,12 @@
 		</div>
 		<template #footer>
 			<span class="dialog-footer">
-				<el-text v-if="['ZiGong','LuZhou'].includes(themeConfig.appScope) && state.ruleForm?.sendBackAuditEndTime" type="danger" tag="b" class="mr20">
+				<el-text
+					v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope) && state.ruleForm?.sendBackAuditEndTime"
+					type="danger"
+					tag="b"
+					class="mr20"
+				>
 					退回截止时间:{{ formatDate(state.ruleForm?.sendBackAuditEndTime, 'YYYY-mm-dd HH:MM:SS') }}
 				</el-text>
 				<el-button type="primary" @click="onMarketDetail" :loading="state.loading" v-if="state.ruleForm.orderExtension?.orderType"
@@ -742,14 +758,14 @@ const showKeyWord = (val: string[], keywordArr: string[]) => {
 };
 // 自贡中心才能看 宜宾所有都可以
 const ZGCenter = computed(() => {
-	if (['ZiGong','LuZhou'].includes(themeConfig.value.appScope) && userInfos.value.isCenter) {
+	if (['ZiGong', 'LuZhou'].includes(themeConfig.value.appScope) && userInfos.value.isCenter) {
 		return true;
 	} else return themeConfig.value.appScope === 'YiBin';
 });
 // 加0减0
 const prefixOptionsAdd = computed(() => {
 	return ['ZiGong', 'LuZhou'].includes(themeConfig.value.appScope);
-})
+});
 // 查看工单详情
 const getOrderDetail = async (id: string) => {
 	state.loading = true;
@@ -800,7 +816,7 @@ const openDialog = (val: any) => {
 	}
 	state.dialogVisible = true;
 	state.orderId = val.id;
-	if (['ZiGong','LuZhou'].includes(themeConfig.value.appScope) && !userInfos.value.isCenter) {
+	if (['ZiGong', 'LuZhou'].includes(themeConfig.value.appScope) && !userInfos.value.isCenter) {
 		// 自贡的部门部展示历史工单和副本工单
 		state.tabPaneList = [
 			{
@@ -936,7 +952,7 @@ const onSubmit = (val: string, annexName: string = '办理附件', classify: str
 			classify,
 		},
 	};
-	if (['ZiGong','LuZhou'].includes(themeConfig.value.appScope)) {
+	if (['ZiGong', 'LuZhou'].includes(themeConfig.value.appScope)) {
 		if (['工单办理', '工单代办', '工单退回'].includes(val)) {
 			zgProcessRef.value.openDialog(params);
 		} else {
@@ -994,10 +1010,12 @@ const onSpecialHandle = () => {
 		ElMessage.warning(`该工单存在正在审核中的退回,不能特提!`);
 		return;
 	}
-	if (state.ruleForm.status == 200) {
-		// 会签工单无法进行特提
-		ElMessage.warning('工单会签中,请先结束会签!');
-		return;
+	if (['ZiGong', 'LuZhou'].includes(themeConfig.value.appScope)) {
+		if (state.ruleForm.status == 200) {
+			// 会签工单无法进行特提
+			ElMessage.warning('工单会签中,请先结束会签!');
+			return;
+		}
 	}
 	specialHandleOrderRef.value.openDialog(state.ruleForm);
 };