瀏覽代碼

reactor:对接随手拍邀请码;

zhangchong 3 月之前
父節點
當前提交
0a81457dc3
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 1 1
      src/views/plan/index/edit.vue
  2. 9 9
      src/views/snapshot/statistics/allOrder/index.vue

+ 1 - 1
src/views/plan/index/edit.vue

@@ -191,7 +191,7 @@ const validatePassTitle = (rule: any, value: any, callback: any) => {
 	}
 };
 const validatePassContent = (rule: any, value: any, callback: any) => {
-	if (value === '' || value === null) {
+	if (value === '' || value === null || value === '<p style="line-height: 2;"><br></p>') {
 		callback(new Error('请填写案例内容'));
 	} else if (Repeat.value) {
 		callback(new Error('有相似内容,请检查!'));

+ 9 - 9
src/views/snapshot/statistics/allOrder/index.vue

@@ -39,13 +39,13 @@
 					<el-button type="primary" @click="onObserve" v-auth="'snapshot:allOrder:follow'" :disabled="isChecked" :loading="state.loading"
 						>添加关注<span v-if="checkTable.length">({{ checkTable.length }})</span>
 					</el-button>
-					<el-button type="primary" @click="onKeynote" v-auth="'snapshot:allOrder:keynote'" :disabled="isChecked" :loading="state.loading"
+<!--					<el-button type="primary" @click="onKeynote" v-auth="'snapshot:allOrder:keynote'" :disabled="isChecked" :loading="state.loading"
 						>设置重点<span v-if="checkTable.length">({{ checkTable.length }})</span>
-					</el-button>
+					</el-button>-->
 				</template>
-				<template #statusText="{ row }">
-					<el-text type="danger" tag="b" v-if="[1, 2, 3, 9, 101, 102, 103, 104, 105, 200].includes(row.status)">{{ row.statusText }}</el-text>
-					<span v-else>{{ row.statusText }}</span>
+				<template #statusTxt="{ row }">
+					<el-text type="danger" tag="b" v-if="[1, 2, 3, 9, 101, 102, 103, 104, 105, 200].includes(row.status)">{{ row.statusTxt }}</el-text>
+					<span v-else>{{ row.statusTxt }}</span>
 				</template>
 				<template #order_detail="{ row }">
 					<order-detail :order="row" @updateList="queryList">{{ row.title }}</order-detail>
@@ -314,11 +314,11 @@ const gridOptions = reactive<any>({
 		},
 		{ field: 'no', title: '工单编码', width: 140 },
 		{
-			field: 'statusText',
+			field: 'statusTxt',
 			title: '工单状态',
 			width: 110,
 			slots: {
-				default: 'statusText',
+				default: 'statusTxt',
 			},
 		},
 		{ field: 'sourceChannel', title: '来源渠道', width: 110 },
@@ -348,8 +348,8 @@ const gridOptions = reactive<any>({
 			slots: { default: 'order_detail' },
 		},
 		{ field: 'industryName', title: '行业', width: 100 },
-		{ field: 'industryName', title: '重点', width: 100 },
-		{ field: 'industryName', title: '办理时长(天)', width: 120 },
+/*		{ field: 'industryName', title: '重点', width: 100 },
+		{ field: 'industryName', title: '办理时长(天)', width: 120 },*/
 		{ field: 'county', title: '区域', width: 150 },
 		{ field: 'contact', title: '电话', width: 140 },