Browse Source

reactor:工单详情调整;

zhangchong 5 months ago
parent
commit
b97aea68f4
1 changed files with 13 additions and 5 deletions
  1. 13 5
      src/views/business/publish/components/Order-publish.vue

+ 13 - 5
src/views/business/publish/components/Order-publish.vue

@@ -130,7 +130,7 @@
 						<el-form-item label="整改后结果" prop="arrangeOpinion" :rules="[{ required: false, message: '请填写整改后内容', trigger: 'blur' }]">
 							<el-input
 								type="textarea"
-								placeholder="请填写整改后办件结果"
+								:placeholder="arrangeOpinionPlaceholder"
 								:autosize="{ minRows: 6, maxRows: 10 }"
 								v-model="state.ruleForm.arrangeOpinion"
 								:disabled="disabled"
@@ -331,13 +331,21 @@ const updateList = () => {
 	emit('updateList');
 };
 // 限制  *国办工单FINISH_NOTE超出一千字
-const arrangeOpinionMaxLength = computed(()=>{
-	if(state.orderDetail.receiveProvinceNo?.includes('GJZWFWPT')){
+const arrangeOpinionMaxLength = computed(() => {
+	if (state.orderDetail.receiveProvinceNo?.includes('GJZWFWPT')) {
 		return 500;
-	}else{
+	} else {
 		return 5000;
 	}
-})
+});
+// 提示
+const arrangeOpinionPlaceholder = computed(() => {
+	if (state.orderDetail.receiveProvinceNo?.includes('GJZWFWPT')) {
+		return '请填写整改后办件结果(国家政务服务平台不超过500字)';
+	} else {
+		return '请填写整改后办件结果';
+	}
+});
 defineExpose({
 	openDialog,
 	closeDialog,