diff --git a/components/AiEchart/template/pie/pieChart1.js b/components/AiEchart/template/pie/pieChart1.js index 7bb5ec38..6b93efdb 100644 --- a/components/AiEchart/template/pie/pieChart1.js +++ b/components/AiEchart/template/pie/pieChart1.js @@ -20,9 +20,7 @@ export default { radius: ['60%', '70%'], minShowLabelAngle: 10, itemStyle: { - borderRadius: 4, borderColor: 'rgba(128, 128, 128, 0.1)', - borderWidth: 2 }, label: { show: false diff --git a/project/fengdu/app/AppIntegratingAudit/AppIntegratingAudit.vue b/project/fengdu/app/AppIntegratingAudit/AppIntegratingAudit.vue index 21bb3529..86218f6c 100644 --- a/project/fengdu/app/AppIntegratingAudit/AppIntegratingAudit.vue +++ b/project/fengdu/app/AppIntegratingAudit/AppIntegratingAudit.vue @@ -9,7 +9,6 @@ - - diff --git a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue index dc485f13..ee56d387 100644 --- a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue +++ b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue @@ -1,71 +1,52 @@ - + - + + + 审核 + - - - - - {{info.createUserName}} - - {{info.publishDepartName}} - {{info.createTime}} - - - - - #【{{info.themeInfo.title}}】{{info.content}} - - - - - - - - - - 评论 - - - - - {{item.createUserName}} - {{item.createTime}} - - - - {{item.content}} - 删除 - - - - - - - {{reply.createUserName}}回复{{item.createUserName}} - - {{reply.createTime}} - - - {{reply.content}} - 删除 - - - - - {{item.isShowReply ? '收起' : `展开${item.replyList.length}条回复`}} - - - - - 暂无评论 + + + + + + + + + + + + + + + + + + + 否 + 是 + + + + + + + @@ -82,36 +63,22 @@ data () { return { - commontList: [], info: {}, - } - }, - - computed: { - getAvatar(row){ - return row.avatar||row.photo||'https://cdn.cunwuyun.cn/dvcp/h5/defaultAvatar.png' + form: { + auditDesc: '', + auditStatus: '' + }, + isShow: false } }, created () { this.getInfo() - this.getList() }, methods: { - getList() { - this.instance.post(`/app/appneighborhoodassistance/commontList?id=${this.params.id}&size=100`).then(res => { - if (res.code == 0) { - res.data.records.map((item) => { - item.isShowReply = false - }) - this.commontList = res.data.records - } - }) - }, - getInfo () { - this.instance.post(`/app/appneighborhoodassistance/queryDetailById?id=${this.params.id}`).then(res => { + this.instance.post(`/app/appintegraluserapply/queryDetailById?id=${this.params.id}`).then(res => { if (res.code == 0) { if (res.data) { this.info = res.data @@ -120,175 +87,40 @@ }) }, + onClose () { + this.id = '' + this.form.auditDesc = '' + this.form.auditStatus = '' + }, + + onConfirm () { + this.$refs.form.validate((valid) => { + if (valid) { + this.instance.post(`/app/appintegraluserapply/auditById`, { + ...this.form, + id: this.params.id + }).then(res => { + if (res.code == 0) { + this.$message.success('审核成功!') + this.isShow = false + this.getInfo() + } + }) + } + }) + }, + cancel () { this.$emit('change', { type: 'List', isRefresh: true }) - }, - - delCommontOrReply(text, id) { - this.$confirm(`确定删除该${text}?`).then(() => { - this.instance.post(`/app/appneighborhoodassistance/delComment?id=${id}`).then(res => { - if (res.code == 0) { - this.$message.success('删除成功!') - this.getList() - } - }) - }) - }, + } } } diff --git a/project/fengdu/app/AppIntegratingAudit/components/List.vue b/project/fengdu/app/AppIntegratingAudit/components/List.vue index 0d3301dc..99c2cfcc 100644 --- a/project/fengdu/app/AppIntegratingAudit/components/List.vue +++ b/project/fengdu/app/AppIntegratingAudit/components/List.vue @@ -1,22 +1,60 @@ - + - + + + + placeholder="选择开始日期" + @change="search.current = 1, getList()"> + + + + + {{ name }} + 创建人 + + + + + + 详情 删除 - 推送精选 + 推送精选 @@ -54,6 +92,7 @@
{{item.content}}
{{reply.content}}
{{item.createUserName}}
- {{item.createTime}} -{{item.content}}
-