diff --git a/src/views/modules/contentSecurity/checkrecords.vue b/src/views/modules/contentSecurity/checkrecords.vue index 69962082..868eebca 100644 --- a/src/views/modules/contentSecurity/checkrecords.vue +++ b/src/views/modules/contentSecurity/checkrecords.vue @@ -19,6 +19,23 @@ +
+ + + + + + + + + + + + + + + +
{ @@ -149,12 +168,17 @@ export default { }, created: function () { this.getDataList() + this.getSuggestionInfo('check_state') }, methods:{ btKeyUpName (e) { e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, ''); this.dataForm.name = e.target.value }, + btKeyUpMobile (e) { + e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, ''); + this.dataForm.mobile = e.target.value + }, btKeyUpModule (e) { e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, ''); this.dataForm.module = e.target.value @@ -167,6 +191,15 @@ export default { this.$parent.selectComponent = 'CheckrecordsDetail' this.$router.push({ path: '/contentSecurity-checkrecordsroute', query: { id: id} }) }, + // 获取审核状态下拉信息 + getSuggestionInfo (type) { + this.$http.get(`/contentSecurity/checkcode/getResourcesByType?type=` + type).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.suggestionList = res.data + }).catch(() => {}) + }, openHandle (id) { this.handleVisible = true this.$nextTick(() => { diff --git a/src/views/modules/contentSecurity/violationsrecords.vue b/src/views/modules/contentSecurity/violationsrecords.vue index eb94f888..9538b8be 100644 --- a/src/views/modules/contentSecurity/violationsrecords.vue +++ b/src/views/modules/contentSecurity/violationsrecords.vue @@ -6,13 +6,18 @@ - + - - - +
+ + + + + + +
@@ -20,7 +25,7 @@ + prop="startTime" label-width="67px"> { @@ -161,6 +167,10 @@ export default { e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, ''); this.dataForm.content = e.target.value }, + btKeyUpMobile (e) { + e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, ''); + this.dataForm.mobile = e.target.value + }, selectDetails (id) { this.$parent.selectComponent = 'ViolationsrecordsDetail' this.$router.push({ path: '/contentSecurity-violationsrecordsroute', query: { id: id} })