推送随手拍样式
This commit is contained in:
		| @@ -9,7 +9,7 @@ | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="搜索名称" v-model="search.name" clearable | ||||
|             @clear="page.current = 1,search.name = '', getTableData()" | ||||
|                       @clear="page.current = 1,search.name = '', getTableData()" | ||||
|                       v-throttle="() => {page.current = 1, getTableData()}"/> | ||||
|           </template> | ||||
|         </ai-search-bar> | ||||
| @@ -21,9 +21,10 @@ | ||||
|                          active-color="#5088FF" inactive-color="#D0D4DC"></el-switch> | ||||
|             </template> | ||||
|           </el-table-column> | ||||
|           <el-table-column slot="miniappStatus" align="center" label="状态" width="150"> | ||||
|           <el-table-column slot="miniappStatus" align="center" label="小程序状态" width="150"> | ||||
|             <template v-slot="{ row }"> | ||||
|               <el-switch v-model="row.miniappStatus" @change="onMiniappStatusChange(row)" active-value="1" inactive-value="0" | ||||
|               <el-switch v-model="row.miniappStatus" @change="onMiniappStatusChange(row)" active-value="1" | ||||
|                          inactive-value="0" | ||||
|                          active-color="#5088FF" inactive-color="#D0D4DC"></el-switch> | ||||
|             </template> | ||||
|           </el-table-column> | ||||
| @@ -32,6 +33,7 @@ | ||||
|               <el-button type="text" @click="detail(row)">详情</el-button> | ||||
|               <el-button type="text" @click="del(row)">删除</el-button> | ||||
|               <el-button type="text" @click="handleSystemInfo(row.id)">系统信息</el-button> | ||||
|               <el-button type="text" @click="handlePush(row.id)">推送随手拍样式</el-button> | ||||
|             </el-row> | ||||
|           </el-table-column> | ||||
|         </ai-table> | ||||
| @@ -109,7 +111,8 @@ | ||||
|           </el-radio-group> | ||||
|         </el-form-item> | ||||
|         <el-form-item label="系统配置信息" prop="systemInfo"> | ||||
|           <el-input type="textarea" :rows="2" placeholder="请输入系统配置信息"  v-model="dialogForm.systemInfo" maxlength="200"></el-input> | ||||
|           <el-input type="textarea" :rows="2" placeholder="请输入系统配置信息" v-model="dialogForm.systemInfo" | ||||
|                     maxlength="200"></el-input> | ||||
|         </el-form-item> | ||||
|       </el-form> | ||||
|     </ai-dialog> | ||||
| @@ -124,7 +127,8 @@ | ||||
|       </el-input> | ||||
|       <div id="searchPlaceOutput"/> | ||||
|     </ai-dialog> | ||||
|     <ai-dialog title="系统信息设置" :visible.sync="sysInfoDialog" width="600px" @onConfirm="submitSystemInfo" @closed="sysInfo={}"> | ||||
|     <ai-dialog title="系统信息设置" :visible.sync="sysInfoDialog" width="600px" @onConfirm="submitSystemInfo" | ||||
|                @closed="sysInfo={}"> | ||||
|       <el-form size="small" label-width="140px"> | ||||
|         <el-form-item label="页签标题"> | ||||
|           <el-input v-model="sysInfo.title" placeholder="请输入..." clearable/> | ||||
| @@ -388,6 +392,13 @@ export default { | ||||
|           this.sysInfoDialog = false | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|     handlePush(id) { | ||||
|       this.instance.post("/app/appclapeventinfo/setAppWorkbench", null, {params: {id}}).then(res => { | ||||
|         if (res?.code == 0) { | ||||
|           this.$message.success("推送成功!") | ||||
|         } | ||||
|       }) | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user