本村活动
This commit is contained in:
		| @@ -5,19 +5,19 @@ | ||||
|       <div class="statistics-top"> | ||||
|         <div class="statistics-top__item"> | ||||
|           <span>活动登记数量</span> | ||||
|           <h2 style="color: #2266FF;">11</h2> | ||||
|           <h2 style="color: #2266FF;">{{ info['丧礼登记数量'] }}</h2> | ||||
|         </div> | ||||
|         <div class="statistics-top__item"> | ||||
|           <span>干部参与和操办登记数量</span> | ||||
|           <h2 style="color: #22AA99;">11</h2> | ||||
|           <h2 style="color: #22AA99;">{{ info['干部参与和操办登记数量'] }}</h2> | ||||
|         </div> | ||||
|         <div class="statistics-top__item"> | ||||
|           <span>婚礼登记数量</span> | ||||
|           <h2 style="color: #F8B425">11</h2> | ||||
|           <h2 style="color: #F8B425">{{ info['婚礼登记数量'] }}</h2> | ||||
|         </div> | ||||
|         <div class="statistics-top__item"> | ||||
|           <span>丧礼登记数量</span> | ||||
|           <h2 style="color: red">11</h2> | ||||
|           <h2 style="color: red">{{ info['丧礼登记数量'] }}</h2> | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="content"> | ||||
| @@ -77,13 +77,15 @@ | ||||
|           size: 10, | ||||
|           title: '' | ||||
|         }, | ||||
|         info: {}, | ||||
|         colConfigs: [ | ||||
|           { type: 'selection' }, | ||||
|           { prop: 'name', label: '标题' }, | ||||
|           { prop: 'createUserName', align: 'center', label: '类型' }, | ||||
|           { prop: 'description', align: 'center', label: '描述' }, | ||||
|           { prop: 'name', label: '事主姓名' }, | ||||
|           { prop: 'createUserName', align: 'center', label: '联系电话' }, | ||||
|           { prop: 'description', align: 'center', label: '类型' }, | ||||
|           { prop: 'status', align: 'center', label: '状态', formart: v => v === '1' ? '已开启' : '未开启' }, | ||||
|           { prop: 'createTime', align: 'center', label: '创建时间' } | ||||
|           { prop: 'description', align: 'center', label: '人员性质' }, | ||||
|           { prop: 'createTime', align: 'center', label: '发布时间' } | ||||
|         ], | ||||
|         ids: [], | ||||
|         tableData: [], | ||||
| @@ -94,6 +96,7 @@ | ||||
|  | ||||
|     created () { | ||||
|       this.getList() | ||||
|       this.getTotalInfo() | ||||
|     }, | ||||
|  | ||||
|     mounted () { | ||||
| @@ -102,7 +105,7 @@ | ||||
|  | ||||
|     methods: { | ||||
|       getList () { | ||||
|         this.instance.post(`/app/appdiylargescreen/allLargeScreenProjectByPage`, null, { | ||||
|         this.instance.post(`/app/appmarriagefuneralinfo/list`, null, { | ||||
|           params: { | ||||
|             ...this.search | ||||
|           } | ||||
| @@ -119,9 +122,23 @@ | ||||
|         }) | ||||
|       }, | ||||
|  | ||||
|       getTotalInfo () { | ||||
|         this.instance.post(`/app/appmarriagefuneralinfo/queryDataStatistics`).then(res => { | ||||
|           if (res.code == 0) { | ||||
|             let info = {} | ||||
|  | ||||
|             res.data.forEach(v => { | ||||
|               info[v.name] = v.v1 | ||||
|             }) | ||||
|  | ||||
|             this.info = info | ||||
|           } | ||||
|         }) | ||||
|       }, | ||||
|  | ||||
|       remove (id) { | ||||
|         this.$confirm('确定删除该数据?').then(() => { | ||||
|           this.instance.post(`/app/appapplicationinfo/delete?ids=${id}`).then(res => { | ||||
|           this.instance.post(`/app/appmarriagefuneralinfo/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success('删除成功!') | ||||
|               this.getList() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user