diff --git a/src/components/CompanyForm/index.vue b/src/components/CompanyForm/index.vue index 111a070..dba2df1 100644 --- a/src/components/CompanyForm/index.vue +++ b/src/components/CompanyForm/index.vue @@ -78,7 +78,7 @@ - + {{ v.fullName }} @@ -145,6 +145,15 @@ export default { }; }, watch: {}, + computed: { + organizeId() { + return this.$store.state.user.userInfo.organizeId; + }, + isSHILevel() { + // 判断角色是否为‘市级办公室’ + return this.$store.state.user.islader; + }, + }, mounted() {}, created() { }, @@ -156,6 +165,7 @@ export default { this.visible = true; await this.initAreaTypeList(); this.$refs['elForm'].resetFields(); + !this.isSHILevel && (this.dataForm.areaId = this.organizeId); }, async dataFormSubmit() { this.$refs['elForm'].validate((valid) => { diff --git a/src/components/InfoForm/index.vue b/src/components/InfoForm/index.vue index 0874ee6..0e80f13 100644 --- a/src/components/InfoForm/index.vue +++ b/src/components/InfoForm/index.vue @@ -133,9 +133,9 @@ - + @@ -216,7 +216,7 @@ > - + @@ -60,7 +62,8 @@ 研判 - 处理 + + 处理 详情 diff --git a/src/views/baseCaseHandling/Form.vue b/src/views/baseCaseHandling/Form.vue index 656c82f..c1e9183 100644 --- a/src/views/baseCaseHandling/Form.vue +++ b/src/views/baseCaseHandling/Form.vue @@ -25,6 +25,11 @@ + + + + + - + @@ -123,6 +128,10 @@ +
来源登记:
+
{{ dataForm.sourceRecord || '--' }}
+
+
案件名称:
{{ dataForm.systemNameStr || '--' }}
@@ -192,6 +201,7 @@ export default { formType: false, // 0 新增 1 编辑 2 处理 dataForm: { id: undefined, + sourceRecord: undefined, registrationTime: undefined, systemName: undefined, registeredEntity: undefined, @@ -215,6 +225,9 @@ export default { isHaveSystem: undefined, }, rules: { + sourceRecord: [ + { required: true, message: "请输入来源登记", trigger: "bulr" } + ], systemName: [ { required: true, message: "请选择应用名称", trigger: "bulr" } ], diff --git a/src/views/baseCaseHandling/index.vue b/src/views/baseCaseHandling/index.vue index e2fc9eb..86d6e0a 100644 --- a/src/views/baseCaseHandling/index.vue +++ b/src/views/baseCaseHandling/index.vue @@ -6,12 +6,7 @@
- - - - - - - + + + + + + + - + - + + + + + + + + + 查询 重置 @@ -75,6 +83,7 @@ + @@ -124,6 +133,7 @@ export default { registrationTime: undefined, systemName: undefined, category: undefined, + enforceType: undefined }, list: [], listLoading: false, diff --git a/src/views/baseComapnyInfo/Form.vue b/src/views/baseComapnyInfo/Form.vue index 17c8d0a..0f4dc4f 100644 --- a/src/views/baseComapnyInfo/Form.vue +++ b/src/views/baseComapnyInfo/Form.vue @@ -64,7 +64,7 @@ - + {{ v.fullName }} @@ -132,7 +132,15 @@ export default { btnLoading: false, } }, - computed: {}, + computed: { + organizeId() { + return this.$store.state.user.userInfo.organizeId; + }, + isSHILevel() { + // 判断角色是否为‘市级办公室’ + return this.$store.state.user.islader; + }, + }, watch: {}, created() { this.initAreaTypeList(); @@ -159,6 +167,8 @@ export default { this.loading = false; if (!this.dataForm.qualificationCertificate) this.dataForm.qualificationCertificate = []; }) + } else { + !this.isSHILevel && (this.dataForm.areaId = this.organizeId); } }) }, diff --git a/src/views/baseInspectionReport/Form.vue b/src/views/baseInspectionReport/Form.vue index 11eec91..d5c59ee 100644 --- a/src/views/baseInspectionReport/Form.vue +++ b/src/views/baseInspectionReport/Form.vue @@ -19,19 +19,19 @@ :disabled="!!isDetail" :rules="rules" > - + - + {{ item.FullName }} - + - + - + {{ item.FullName }} - + {{ item }} - + - + {{ item.fullName }} - + - + - + - + - - + + - + + + + + + + + + + + + + @@ -173,6 +201,10 @@
{{ dataForm.questionContent || '--' }}
+
链接:
+
{{ dataForm.link || '--' }}
+
+
关键词:
{{ dataForm.questionClass || '--' }}
@@ -181,11 +213,11 @@
-
研判意见:
+
处置建议:
{{ dataForm.judgmentOpinions || '--' }}
-
处理结果:
+
处置结果:
{{ dataForm.disposalSuggestions || '--' }}
@@ -232,6 +264,8 @@ export default { selfMediaPlatformTypeOther: undefined, company: undefined, reportSourceName: undefined, + judgmentOpinions: undefined, + disposalSuggestions: undefined, }, rules: { platformName: [ @@ -264,7 +298,11 @@ export default { if(!this.nameOptions.length) return false; let index = this.nameOptions.findIndex(v => v.id == this.dataForm.platformName); return index != -1; - } + }, + isSHILevel() { + // 判断角色是否为‘市级办公室’ + return this.$store.state.user.islader; + }, }, watch: {}, created() {}, @@ -407,16 +445,19 @@ export default { selfMediaPlatformType: this.dataForm.selfMediaPlatformType == '其他' ? this.dataForm.selfMediaPlatformTypeOther : this.dataForm.selfMediaPlatformType, } this.btnLoading = true; - let res = !this.dataForm.id ? await addForm(obj) : await updataForm(obj); - if (res.code != 200) return this.btnLoading = false; - this.$message({ - message: res.msg, - type: "success", - duration: 1000, - onClose: () => { - (this.visible = false), this.$emit("refresh", true); - }, - }); + try { + let res = !this.dataForm.id ? await addForm(obj) : await updataForm(obj); + this.$message({ + message: res.msg, + type: "success", + duration: 1000, + onClose: () => { + (this.visible = false), this.$emit("refresh", true); + }, + }); + } catch (error) { + this.btnLoading = false; + } } }); }, diff --git a/src/views/baseInspectionReport/index.vue b/src/views/baseInspectionReport/index.vue index 3e892c1..5ad778c 100644 --- a/src/views/baseInspectionReport/index.vue +++ b/src/views/baseInspectionReport/index.vue @@ -55,7 +55,9 @@ - + + + diff --git a/src/views/baseSystemInfo/DetailForm.vue b/src/views/baseSystemInfo/DetailForm.vue index a304479..659fc78 100644 --- a/src/views/baseSystemInfo/DetailForm.vue +++ b/src/views/baseSystemInfo/DetailForm.vue @@ -53,6 +53,12 @@

{{ dataForm.specialRecordContent || "--" }}

+ +
+
域名:
+

{{ dataForm.domain || "--" }}

+
+
特殊备案号:
@@ -96,12 +102,7 @@

{{ dataForm.platform || "--" }}

- -
-
域名:
-

{{ dataForm.domain || "--" }}

-
-
+ @@ -163,7 +164,7 @@
-
社会信用代:
+
社会信用代码:

{{ companyForm.socialCreditAgency || "--" }}

@@ -181,14 +182,20 @@
+
资质证明:
+ +
+
+ +
联系人:

{{ companyForm.contactUser || "--" }}

-
联系方式:
-

{{ companyForm.contactInformation || "--" }}

+
联系电话:
+

{{ companyForm.contactPhone || "--" }}