From dcef0f7296d093398f09d0440828b00ea341b21b Mon Sep 17 00:00:00 2001 From: Jackwang Date: Fri, 17 Jul 2020 17:16:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=86=85=E5=AE=B9=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E3=80=91-=E3=80=90=E5=90=8E=E5=8F=B0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6=E3=80=91?= =?UTF-8?q?-=EF=BC=88=E7=8E=8B=E7=AB=A5=EF=BC=89-2020/07/17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/contentSecurity/checkrecords.vue | 35 ++++++++++++++++++- .../contentSecurity/violationsrecords.vue | 20 ++++++++--- 2 files changed, 49 insertions(+), 6 deletions(-) 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} })