yangchengfei 5 місяців тому
батько
коміт
cdb1c82506

+ 7 - 4
src/views/enforcementSupervision/caseInquiry/index.vue

@@ -50,11 +50,10 @@
50 50
 				<div class="silt-title" style="width: 400px">
51 51
 					<span style="width: 70px; display: block">{{ '受理日期' }}</span>
52 52
 					<a-range-picker
53
-						show-time
54 53
 						style="width: 340px"
55 54
 						v-model:value="dateValue"
56
-						@change="handleChange1"
57
-						valueFormat="YYYY-MM-DD HH:mm:ss"
55
+						@change="handleChange"
56
+						valueFormat="YYYY-MM-DD"
58 57
 					>
59 58
 					</a-range-picker>
60 59
 				</div>
@@ -92,6 +91,7 @@ import enforcementSupervisionApi from '@/api/enforcementSupervision.info/enforce
92 91
 import DetailFrom from '../caseManagement/form.vue'
93 92
 import * as echarts from 'echarts'
94 93
 import { cloneDeep } from 'lodash-es'
94
+import dayjs from 'dayjs'
95 95
 import { Empty } from 'ant-design-vue'
96 96
 const dateValue = ref([])
97 97
 const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE
@@ -160,7 +160,10 @@ const columns = [
160 160
 		title: '案件日期',
161 161
 		dataIndex: 'caseDate',
162 162
 		align: 'center',
163
-		key: 'caseDate'
163
+		key: 'caseDate',
164
+		customRender: ({ text, record, index }) => {
165
+			return dayjs(text).format('YYYY-MM-DD')
166
+		}
164 167
 	},
165 168
 	{
166 169
 		title: '操作',

+ 2 - 4
src/views/enforcementSupervision/caseManagement/form.vue

@@ -72,13 +72,11 @@
72 72
 					></a-col>
73 73
 					<a-col :span="8"
74 74
 						><a-form-item
75
-							:rules="[
76
-								{ required: true, message: '请输入身份证号', trigger: 'blur' },
77
-								{ validator: isSocialCreditOrIdCode, trigger: 'blur' }
78
-							]"
75
+							:rules="[{ required: true, message: '请输入身份证号', trigger: 'blur' }]"
79 76
 							label="身份证号"
80 77
 							name="idCardNumbers"
81 78
 						>
79
+							<!-- { validator: validateMultipleIDCards, trigger: 'blur' } -->
82 80
 							<a-input
83 81
 								:disabled="flag == 2 || flag == 4"
84 82
 								class="int-box"

+ 7 - 3
src/views/enforcementSupervision/caseManagement/index.vue

@@ -27,11 +27,10 @@
27 27
 				<div class="silt-title" style="width: 400px">
28 28
 					<span style="width: 70px; display: block">{{ '受理日期' }}</span>
29 29
 					<a-range-picker
30
-						show-time
31 30
 						style="width: 340px"
32 31
 						v-model:value="dateValue"
33 32
 						@change="handleChange"
34
-						valueFormat="YYYY-MM-DD HH:mm:ss"
33
+						valueFormat="YYYY-MM-DD"
35 34
 					>
36 35
 					</a-range-picker>
37 36
 				</div>
@@ -73,6 +72,8 @@
73 72
 // import AddForm from './add.vue'
74 73
 import enforcementSupervisionApi from '@/api/enforcementSupervision.info/enforcementSupervision.js'
75 74
 // import EditForm from './edit.vue'
75
+import dayjs from 'dayjs'
76
+
76 77
 import DetailFrom from './form.vue'
77 78
 import { Modal } from 'ant-design-vue'
78 79
 const dateValue = ref('')
@@ -141,7 +142,10 @@ const columns = [
141 142
 		title: '案件日期',
142 143
 		dataIndex: 'caseDate',
143 144
 		align: 'center',
144
-		key: 'caseDate'
145
+		key: 'caseDate',
146
+		customRender: ({ text, record, index }) => {
147
+			return dayjs(text).format('YYYY-MM-DD')
148
+		}
145 149
 	},
146 150
 	{
147 151
 		title: '操作',

+ 1 - 1
src/views/enforcementSupervision/enforcementBasis/form.vue

@@ -78,7 +78,7 @@
78 78
 			</a-form>
79 79
 			<div class="btn-box">
80 80
 				<a-button @click="isClose">取消</a-button>
81
-				<a-button @click="submit" style="background-color: #25c8c8; color: white">保存</a-button>
81
+				<a-button @click="submit" v-if="flag!=2" style="background-color: #25c8c8; color: white">保存</a-button>
82 82
 			</div>
83 83
 		</a-modal>
84 84
 	</div>

+ 2 - 2
src/views/enforcementSupervision/management/form.vue

@@ -141,7 +141,7 @@
141 141
 						</a-form-item>
142 142
 					</a-col>
143 143
 					<a-col :span="8"
144
-						><a-form-item :rules="[{ required: true }]" label="所属行政管理位" name="administrativeUnit">
144
+						><a-form-item :rules="[{ required: true }]" label="所属行政管理位" name="administrativeUnit">
145 145
 							<a-input
146 146
 								autocomplete="off"
147 147
 								v-model:value="formState.administrativeUnit"
@@ -158,7 +158,7 @@
158 158
 			</a-form>
159 159
 			<div class="btn-box">
160 160
 				<a-button @click="isClose">取消</a-button>
161
-				<a-button @click="submit" style="background-color: #25c8c8; color: white">保存</a-button>
161
+				<a-button @click="submit" v-if="flag!=2" style="background-color: #25c8c8; color: white">保存</a-button>
162 162
 			</div>
163 163
 		</a-modal>
164 164
 	</div>

+ 1 - 1
src/views/enforcementSupervision/processManagement/courseManagement/form.vue

@@ -133,7 +133,7 @@
133 133
 			</a-form>
134 134
 			<div class="btn-box">
135 135
 				<a-button @click="isClose">取消</a-button>
136
-				<a-button @click="submit" style="background-color: #169bd5; color: white">保存</a-button>
136
+				<a-button @click="submit" v-if="flag!=2" style="background-color: #169bd5; color: white">保存</a-button>
137 137
 			</div>
138 138
 		</a-modal>
139 139
 	</div>

+ 1 - 1
src/views/enforcementSupervision/processManagement/processManagement/form.vue

@@ -127,7 +127,7 @@
127 127
 			</a-form>
128 128
 			<div class="btn-box">
129 129
 				<a-button @click="isClose">取消</a-button>
130
-				<a-button @click="submit" style="background-color: #169bd5; color: white">保存</a-button>
130
+				<a-button @click="submit" v-if="flag!=2" style="background-color: #169bd5; color: white">保存</a-button>
131 131
 			</div>
132 132
 		</a-modal>
133 133
 	</div>

+ 1 - 1
src/views/enforcementSupervision/supervisionPersonnel/form.vue

@@ -228,7 +228,7 @@
228 228
 			</a-form>
229 229
 			<div class="btn-box">
230 230
 				<a-button @click="isClose">取消</a-button>
231
-				<a-button @click="submit" style="background-color: #25c8c8; color: white">保存</a-button>
231
+				<a-button @click="submit" v-if="flag!=2" style="background-color: #25c8c8; color: white">保存</a-button>
232 232
 			</div>
233 233
 		</a-modal>
234 234
 	</div>