导出
This commit is contained in:
		| @@ -27,6 +27,9 @@ | ||||
|           </ai-user-selecter> | ||||
|         </template> | ||||
|         <template #right> | ||||
|           <ai-download :instance="instance" url="/app/appepidemicpreventioncommunitymanagement/export" :params="search" fileName="社区管理" :disabled="tableData.length == 0"> | ||||
|             <el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button> | ||||
|           </ai-download> | ||||
|           <el-input | ||||
|             v-model="search.name" | ||||
|             class="search-input" | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     <template slot="title"> | ||||
|       <ai-title title="风险区域配置" isShowBottomBorder> | ||||
|         <template #rightBtn> | ||||
|           <el-button type="primary" @click="handleSyncData">同步卫健委数据</el-button> | ||||
|           <el-button type="primary" @click="handleSyncData" :loading="isLoading">同步卫健委数据</el-button> | ||||
|         </template> | ||||
|       </ai-title> | ||||
|     </template> | ||||
| @@ -74,6 +74,7 @@ | ||||
|             level: '', | ||||
|             province: '' | ||||
|           }, | ||||
|           isLoading: false, | ||||
|           currIndex: -1, | ||||
|           areaList: [], | ||||
|           total: 10, | ||||
| @@ -140,9 +141,11 @@ | ||||
|       }, | ||||
|  | ||||
|       handleSyncData() { | ||||
|         this.isLoading = true | ||||
|         getRiskArea(this.instance).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|             this.getList() | ||||
|             this.isLoading = false | ||||
|             this.$message.success("同步完毕!") | ||||
|           } | ||||
|         }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user