zhaomin vor 3 Jahren
Ursprung
Commit
4c81cc6147

+ 4 - 0
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_12/button_12.vue

@@ -39,6 +39,10 @@
39 39
 		},
40 40
 		methods: {
41 41
 			submit(ref) {
42
+				if(!this.reason) {
43
+					this.$mHelper.toast('请输入申请退回原因');
44
+					return
45
+				}
42 46
 				const params = {
43 47
 				  workorderid: this.workorderid,
44 48
 				  file: this.$mHelper.getImgString(this.imgIdList),

+ 5 - 1
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_22/button_22.vue

@@ -3,7 +3,7 @@
3 3
 		<view class="form">
4 4
 			<!-- 基础表单校验 -->
5 5
 			<uni-forms >
6
-				<uni-forms-item label="是否向市民发送短信" name="detailRsult">
6
+				<uni-forms-item label="是否向市民发送短信" name="detailRsult" required>
7 7
 					<uni-data-checkbox v-model="siSend" :localdata="list" />
8 8
 				</uni-forms-item>
9 9
 				<uni-forms-item label="结案意见" name="finalopinion" required>
@@ -42,6 +42,10 @@
42 42
 		},
43 43
 		methods: {
44 44
 			submit(ref) {
45
+				if(!this.finalopinion) {
46
+					this.$mHelper.toast('请输入结案意见');
47
+					return
48
+				}
45 49
 				const params = {
46 50
 					workorderid: this.workorderid,
47 51
 					finalopinion: this.finalopinion,

+ 8 - 0
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_40/button_40.vue

@@ -48,6 +48,14 @@
48 48
 		},
49 49
 		methods: {
50 50
 			submit(ref) {
51
+				if(!this.result) {
52
+					this.$mHelper.toast('请输入办理结果');
53
+					return
54
+				}
55
+				if(!this.callContent) {
56
+					this.$mHelper.toast('请输入来电内容');
57
+					return
58
+				}
51 59
 				const params = {
52 60
 					workorderid: this.workorderid,
53 61
 					title: this.title,

+ 7 - 0
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_47/button_47.vue

@@ -46,6 +46,13 @@
46 46
 		},
47 47
 		methods: {
48 48
 			submit(ref) {
49
+				if(!this.result) {
50
+					this.$mHelper.toast('请输入反馈结果');
51
+					return
52
+				}
53
+				if(!this.idear) {
54
+					this.$mHelper.toast('请输入结案意见');
55
+				
49 56
 				const params = {
50 57
 					workorderid: this.workorderid,
51 58
 					result: this.result,