diff --git a/src/views/modules/contentSecurity/checkrecords.vue b/src/views/modules/contentSecurity/checkrecords.vue
index dd75e6bf..54d9b3c4 100644
--- a/src/views/modules/contentSecurity/checkrecords.vue
+++ b/src/views/modules/contentSecurity/checkrecords.vue
@@ -79,7 +79,16 @@
+
+
+
+
+
+
+
+
@@ -126,7 +135,9 @@ export default {
startTime:'',
endTime:'',
suggestionCode:'',
- systemStatus:''
+ systemStatus:'',
+ deptName:'',
+ allDeptNames:''
},
suggestionList:[],
handleVisible:false,
diff --git a/src/views/modules/contentSecurity/violationsrecords.vue b/src/views/modules/contentSecurity/violationsrecords.vue
index 97cfc5af..e3f941ae 100644
--- a/src/views/modules/contentSecurity/violationsrecords.vue
+++ b/src/views/modules/contentSecurity/violationsrecords.vue
@@ -75,8 +75,16 @@
-
-
+
+
+
+
+
+
+
+
+
{{ '查看详情' }}
@@ -118,7 +126,9 @@ export default {
module:'',
startTime:'',
endTime:'',
- mobile:''
+ mobile:'',
+ deptName:'',
+ allDeptNames:''
},
pickerBeginDateBefore: {
disabledDate: (time) => {
diff --git a/src/views/modules/heart/actinfo-add-or-update.vue b/src/views/modules/heart/actinfo-add-or-update.vue
index c688a82f..1f199c39 100644
--- a/src/views/modules/heart/actinfo-add-or-update.vue
+++ b/src/views/modules/heart/actinfo-add-or-update.vue
@@ -354,7 +354,8 @@ export default {
reward: '',
isBanner: '1',
actUserDefaultState: '1',
- bannerUrl: ''
+ bannerUrl: '',
+ isConReview: false
},
isSignupEndTime: {
disabledDate (time) {
@@ -407,7 +408,8 @@ export default {
return time.getTime() < new Date(EndDateVal).getTime()
}
}
- }
+ },
+ isFirst: true
}
},
created () {
@@ -565,6 +567,7 @@ export default {
},
init () {
this.visible = true
+ this.dataForm.isConReview = false
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
if (this.dataForm.id) {
@@ -677,8 +680,26 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/heart/actinfo/', this.dataForm).then(({ data: res }) => {
- this.isAble = false
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
+ this.isAble = false
return this.$message.error(res.msg)
}
this.$message({
diff --git a/src/views/modules/master/masternotice-add-or-update.vue b/src/views/modules/master/masternotice-add-or-update.vue
index ca37a8f6..7898d162 100755
--- a/src/views/modules/master/masternotice-add-or-update.vue
+++ b/src/views/modules/master/masternotice-add-or-update.vue
@@ -50,12 +50,14 @@ export default {
createdTime: '',
updatedBy: '',
updatedTime: '',
- fileList: ''
+ fileList: '',
+ isConReview: false
},
url: '',
num: 0,
fileList: [],
- btnAble: false
+ btnAble: false,
+ isFirst: true
}
},
computed: {
@@ -72,8 +74,10 @@ export default {
},
methods: {
init () {
- this.btnAble = false
+ this.dataForm.isConReview = false
+ this.isFirst = true
this.visible = true
+ this.btnAble = false
this.url = `${window.SITE_CONFIG['apiURL']}/oss/file/upload?token=${Cookies.get('token')}`
this.num = 0
this.fileList = []
@@ -98,14 +102,32 @@ export default {
},
// 表单提交
dataFormSubmitHandle: debounce(function () {
- this.btnAble = true
this.$refs['dataForm'].validate((valid) => {
if (!valid) {
- this.btnAble = false
return false
}
+ this.btnAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/cloudAnalysis/masternotice/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.btnAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.btnAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
+ this.btnAble = false
return this.$message.error(res.msg)
}
this.$message({
@@ -114,7 +136,6 @@ export default {
duration: 500,
onClose: () => {
this.visible = false
- this.btnAble = false
this.$emit('refreshDataList')
}
})
diff --git a/src/views/modules/workRecord/dailyrecordinfoDetail.vue b/src/views/modules/workRecord/dailyrecordinfoDetail.vue
index a711e833..0ece63e4 100644
--- a/src/views/modules/workRecord/dailyrecordinfoDetail.vue
+++ b/src/views/modules/workRecord/dailyrecordinfoDetail.vue
@@ -120,7 +120,8 @@ export default {
address: '',
joinNum: '',
content: '',
- images: []
+ images: [],
+ isConReview: false
},
isAble: false,
meetTypeArr: [],
@@ -133,7 +134,8 @@ export default {
loading: false,
dialogImageUrl: '',
dialogVisible: false,
- options: []
+ options: [],
+ isFirst: true
}
},
computed: {
@@ -227,6 +229,7 @@ export default {
},
init () {
this.dataForm.id = this.$route.query.id
+ this.dataForm.isConReview = false
this.visible = true
this.isAble = false
this.$nextTick(() => {
@@ -335,7 +338,25 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/dailyrecordinfo/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/workRecord/monthexcellentcaseDetail.vue b/src/views/modules/workRecord/monthexcellentcaseDetail.vue
index 8694904e..250368a5 100644
--- a/src/views/modules/workRecord/monthexcellentcaseDetail.vue
+++ b/src/views/modules/workRecord/monthexcellentcaseDetail.vue
@@ -86,7 +86,8 @@ export default {
content: '',
state: '',
images: [],
- files: []
+ files: [],
+ isConReview: false
},
isAble: false,
hideUpload: false,
@@ -99,6 +100,7 @@ export default {
isAutoRemoveFile: true,
fileloading: false,
pageloading: true,
+ isFirst: true,
isGoToInfo: '0' // 是否回到月报列表:0否;1是
}
},
@@ -142,6 +144,7 @@ export default {
methods: {
init () {
this.dataForm.id = this.$route.query.id
+ this.dataForm.isConReview = false
this.visible = true
this.isAble = false
this.$nextTick(() => {
@@ -279,7 +282,25 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/monthexcellentcase/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/workRecord/monthexcellentgridDetail.vue b/src/views/modules/workRecord/monthexcellentgridDetail.vue
index ce910960..c5bf12c0 100644
--- a/src/views/modules/workRecord/monthexcellentgridDetail.vue
+++ b/src/views/modules/workRecord/monthexcellentgridDetail.vue
@@ -99,7 +99,8 @@ export default {
state: '',
allDeptIds: '',
images: [],
- files: []
+ files: [],
+ isConReview: false
},
isAble: false,
hideUpload: false,
@@ -113,6 +114,7 @@ export default {
fileloading: false,
pageloading: true,
options: [],
+ isFirst: true,
isGoToInfo: '0' // 是否回到月报列表:0否;1是
}
},
@@ -173,6 +175,7 @@ export default {
},
init () {
this.dataForm.id = this.$route.query.id
+ this.dataForm.isConReview = false
this.visible = true
this.isAble = false
this.$nextTick(() => {
@@ -310,7 +313,25 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/monthexcellentgrid/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/workRecord/monthexcellentpersonDetail.vue b/src/views/modules/workRecord/monthexcellentpersonDetail.vue
index 6ec04aab..bdb29c17 100644
--- a/src/views/modules/workRecord/monthexcellentpersonDetail.vue
+++ b/src/views/modules/workRecord/monthexcellentpersonDetail.vue
@@ -93,7 +93,8 @@ export default {
content: '',
state: '',
images: [],
- files: []
+ files: [],
+ isConReview: false
},
partyFlagArr: [
{ dictValue: '0', dictName: '居民' },
@@ -110,6 +111,7 @@ export default {
isAutoRemoveFile: true,
fileloading: false,
pageloading: true,
+ isFirst: true,
isGoToInfo: '0' // 是否回到月报列表:0否;1是
}
},
@@ -163,6 +165,7 @@ export default {
methods: {
init () {
this.dataForm.id = this.$route.query.id
+ this.dataForm.isConReview = false
this.visible = true
this.isAble = false
this.$nextTick(() => {
@@ -300,7 +303,25 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/monthexcellentperson/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/workRecord/monthrecordinfoDetail.vue b/src/views/modules/workRecord/monthrecordinfoDetail.vue
index d78fb2a6..8f4f6c41 100644
--- a/src/views/modules/workRecord/monthrecordinfoDetail.vue
+++ b/src/views/modules/workRecord/monthrecordinfoDetail.vue
@@ -94,7 +94,8 @@ export default {
content: '',
state: '',
images: [],
- files: []
+ files: [],
+ isConReview: false
},
isAble: false,
hideUpload: false,
@@ -114,7 +115,8 @@ export default {
caseId: '',
gridId: '',
personId: '',
- queryDisabled: ''
+ queryDisabled: '',
+ isFirst: true
}
},
computed: {
@@ -189,6 +191,7 @@ export default {
},
init () {
this.dataForm.id = this.$route.query.id
+ this.dataForm.isConReview = false
this.visible = true
this.isAble = false
this.$nextTick(() => {
@@ -325,7 +328,25 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/monthrecordinfo/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/workRecord/weekrecordinfoDetail.vue b/src/views/modules/workRecord/weekrecordinfoDetail.vue
index 3d529e7e..03357094 100644
--- a/src/views/modules/workRecord/weekrecordinfoDetail.vue
+++ b/src/views/modules/workRecord/weekrecordinfoDetail.vue
@@ -95,7 +95,8 @@ export default {
state: '',
images: [],
files: [],
- totalConfigList: []
+ totalConfigList: [],
+ isConReview: false
},
isShowArr: [
{ dictValue: '0', dictName: '否' },
@@ -113,7 +114,8 @@ export default {
dialogVisible: false,
pageloading: true,
isAutoRemoveFile: true,
- colspan: 6
+ colspan: 6,
+ isFirst: true
}
},
computed: {
@@ -170,6 +172,7 @@ export default {
methods: {
init () {
this.dataForm.id = this.$route.query.id
+ this.dataForm.isConReview = false
this.visible = true
this.isAble = false
this.$nextTick(() => {
@@ -336,7 +339,25 @@ export default {
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/weekrecordinfo/', this.dataForm).then(({ data: res }) => {
- if (res.code !== 0) {
+ if (!this.isFirst && res.code === 533) {
+ // 不是第一次提交 并且 依然是违规内容
+ this.$confirm('您提交的内容再次被判定为违规, 是否继续提交?', '提示', {
+ confirmButtonText: '是',
+ cancelButtonText: '否',
+ type: 'warning'
+ }).then(() => {
+ this.dataForm.isConReview = true
+ // 选择“是”继续提交,调用提交方法本身
+ this.dataFormSubmitHandle()
+ }).catch(() => {
+ this.isAble = false
+ })
+ return false
+ } else if (res.code === 533) {
+ this.isFirst = false
+ this.isAble = false
+ return this.$message.error(res.msg)
+ } else if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
}