diff --git a/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue b/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue index fe4f60dc..fb9d8c91 100644 --- a/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue +++ b/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue @@ -35,7 +35,7 @@ - + - + + @@ -61,10 +62,8 @@ - + { + let areaFullName = this.dialogForm.areaName + this.instance.post("/user/empower", {...this.dialogForm, areaFullName}).then(res => { this.lock = false if (res?.code == 0) { this.dialog = false; @@ -238,6 +238,7 @@ export default { if (res?.code == 0) { this.$message.success("提交成功!") this.accountDialog = false + this.getTableData(); } }) } diff --git a/project/xiushan/apps/AppNativeAppVersion/AppNativeAppVersion.vue b/project/xiushan/apps/AppNativeAppVersion/AppNativeAppVersion.vue new file mode 100644 index 00000000..ebead7e6 --- /dev/null +++ b/project/xiushan/apps/AppNativeAppVersion/AppNativeAppVersion.vue @@ -0,0 +1,455 @@ + + + + + diff --git a/project/xiushan/apps/AppNewsCenter/components/addArticle.vue b/project/xiushan/apps/AppNewsCenter/components/addArticle.vue index 789f338d..0de5085e 100644 --- a/project/xiushan/apps/AppNewsCenter/components/addArticle.vue +++ b/project/xiushan/apps/AppNewsCenter/components/addArticle.vue @@ -67,7 +67,7 @@ export default { description: {required: true, message: '请输入摘要', trigger: 'blur'}, category: {required: true, message: '请选择分类', trigger: 'change'}, content: {required: true, message: '请填写内容', trigger: 'blur'}, - thumbUrl: {required: true, message: '请上传封面', trigger: 'blur'}, + // thumbUrl: {required: true, message: '请上传封面', trigger: 'blur'}, }, cropOps: { fixedNumber: [1.8, 1], @@ -98,7 +98,7 @@ export default { * */ addOrUpdate(status) { if (Array.isArray(this.articInfo.thumbUrl)) { - this.articInfo.thumbUrl = this.articInfo.thumbUrl[0].url + this.articInfo.thumbUrl = this.articInfo.thumbUrl?.[0]?.url } const msg = +status ? '发布成功' : this.isEdit ? '编辑成功' : '保存成功'; this.instance.post(`/app/appnews/addOrUpdate`, { @@ -130,7 +130,12 @@ export default { this.articInfo.title = res.data.title; this.articInfo.content = res.data.content; this.articInfo.category = res.data.category - this.articInfo.thumbUrl = [{url: res.data.thumbUrl}] + if (res.data.thumbUrl) { + this.articInfo.thumbUrl = [{url: res.data.thumbUrl}] + } else { + this.articInfo.thumbUrl = [] + } + } }) } diff --git a/project/xiushan/apps/AppNewsCenter/components/addVideo.vue b/project/xiushan/apps/AppNewsCenter/components/addVideo.vue index fdf3c890..663b5f84 100644 --- a/project/xiushan/apps/AppNewsCenter/components/addVideo.vue +++ b/project/xiushan/apps/AppNewsCenter/components/addVideo.vue @@ -169,7 +169,11 @@ export default { this.newsInfo.description = res.data.description; this.newsInfo.category = res.data.category this.newsInfo.videoUrl = res.data.videoUrl; - this.newsInfo.thumbUrl = [{url: res.data.thumbUrl}]; + if (res.data.thumbUrl) { + this.newsInfo.thumbUrl = [{url: res.data.thumbUrl}] + } else { + this.newsInfo.thumbUrl = [] + } } }) } diff --git a/project/xiushan/apps/AppNewsCenter/components/newsDetail.vue b/project/xiushan/apps/AppNewsCenter/components/newsDetail.vue index 621d92b3..bb33c6ae 100644 --- a/project/xiushan/apps/AppNewsCenter/components/newsDetail.vue +++ b/project/xiushan/apps/AppNewsCenter/components/newsDetail.vue @@ -21,7 +21,7 @@
封面: - +
diff --git a/project/xiushan/apps/AppPortalUserManager/pumDetail.vue b/project/xiushan/apps/AppPortalUserManager/pumDetail.vue index e248d598..0478b948 100644 --- a/project/xiushan/apps/AppPortalUserManager/pumDetail.vue +++ b/project/xiushan/apps/AppPortalUserManager/pumDetail.vue @@ -72,17 +72,19 @@ export default { computed: { isAuthing() { return this.detail.status == "0" + }, + rules(){ + return { + auditStatus: [{required: true, message: "请选择审批结果"}], + auditDescription: [{validator: (r, v, cb) => this.form.auditStatus == 2 && !v ? cb("请输入审批意见") : cb()}], + } } }, data() { return { dialog: false, detail: {}, - form: {}, - rules: { - auditStatus: [{required: true, message: "请选择审批结果"}], - auditDescription: [{validator: (r, v, cb) => this.form.auditStatus == 2 && !v ? cb("请输入审批意见") : cb()}], - } + form: {} } }, methods: { diff --git a/project/xiushan/apps/finance/AppFinanceOrg/AppFinanceOrg.vue b/project/xiushan/apps/finance/AppFinanceOrg/AppFinanceOrg.vue index 18adf09e..10115e67 100644 --- a/project/xiushan/apps/finance/AppFinanceOrg/AppFinanceOrg.vue +++ b/project/xiushan/apps/finance/AppFinanceOrg/AppFinanceOrg.vue @@ -93,9 +93,8 @@ export default { submitAddAcount() { this.$refs.addAccountForm.validate(v => { if (v) { - let {form: {logoUrl}} = this - this.form.logoUrl = logoUrl?.[0]?.url - this.instance.post("/appfinancialorganization/addOrUpdate", this.form).then(res => { + let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url + this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => { if (res?.code == 0) { this.$message.success("提交成功!") this.dialog = false diff --git a/project/xiushan/apps/finance/AppFinanceProduct/productAdd.vue b/project/xiushan/apps/finance/AppFinanceProduct/productAdd.vue index 4d72a246..fd2126d4 100644 --- a/project/xiushan/apps/finance/AppFinanceProduct/productAdd.vue +++ b/project/xiushan/apps/finance/AppFinanceProduct/productAdd.vue @@ -11,16 +11,16 @@
- + - + - + - + diff --git a/project/xiushan/apps/finance/AppFinanceProduct/productList.vue b/project/xiushan/apps/finance/AppFinanceProduct/productList.vue index 49a297ff..1d7d2c57 100644 --- a/project/xiushan/apps/finance/AppFinanceProduct/productList.vue +++ b/project/xiushan/apps/finance/AppFinanceProduct/productList.vue @@ -25,7 +25,7 @@ - + @@ -40,7 +40,8 @@ 详情 diff --git a/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue b/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue index 5c774979..5a17cfa9 100644 --- a/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue +++ b/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue @@ -21,7 +21,15 @@ dict.getLabel('financialFundPurpose', detail.fundPurpose) }} - {{ detail.enterpriseName }} + + + {{ detail.enterpriseName }} + + 企业详情 + + + {{ detail.name }} {{ detail.areaName }} {{ detail.phone }} diff --git a/project/xiushan/apps/financing/AppFinancingNeeds/needsList.vue b/project/xiushan/apps/financing/AppFinancingNeeds/needsList.vue index 599f6f69..0245b681 100644 --- a/project/xiushan/apps/financing/AppFinancingNeeds/needsList.vue +++ b/project/xiushan/apps/financing/AppFinancingNeeds/needsList.vue @@ -5,7 +5,7 @@