Parcourir la source

reactor:自贡新增语音回访

zhangchong il y a 1 semaine
Parent
commit
168312be03
1 fichiers modifiés avec 14 ajouts et 2 suppressions
  1. 14 2
      src/views/business/visit/todo.vue

+ 14 - 2
src/views/business/visit/todo.vue

@@ -15,7 +15,12 @@
 								:disabled="state.loading"
 							/>
 						</el-form-item>
-						<el-form-item label="工单类型" prop="IsProvince" v-auth="'business:visit:todo:orderType'" v-if="['YiBin','LuZhou'].includes(themeConfig.appScope)">
+						<el-form-item
+							label="工单类型"
+							prop="IsProvince"
+							v-auth="'business:visit:todo:orderType'"
+							v-if="['YiBin', 'LuZhou'].includes(themeConfig.appScope)"
+						>
 							<el-segmented
 								:options="[
 									{
@@ -415,6 +420,13 @@ if (themeConfig.value.appScope === 'YiBin') {
 		{ label: '未接通', value: 51 },
 		{ label: '智能回访中', value: 61 },
 	];
+} else if (['ZiGong'].includes(themeConfig.value.appScope)) {
+	visitStateOptions.value = [
+		{ label: '待回访', value: 2 },
+		{ label: '短信回访中', value: 21 },
+		{ label: '短信不满意待回访', value: 41 },
+		{ label: '未接通', value: 51 },
+	];
 } else {
 	visitStateOptions.value = [
 		{ label: '待回访', value: 2 },
@@ -467,7 +479,7 @@ const queryList = () => {
 		requestParams.value.CreationTimeStart = state.queryParams.slTime === null ? null : state.queryParams.slTime[0];
 		requestParams.value.CreationTimeEnd = state.queryParams.slTime === null ? null : state.queryParams.slTime[1];
 		Reflect.deleteProperty(requestParams.value, 'slTime');
-		if(themeConfig.value.appScope === 'ZiGong') {
+		if (themeConfig.value.appScope === 'ZiGong') {
 			requestParams.value.IsProvince = false;
 		}
 		visitList(requestParams.value)