小程序发布跟新

This commit is contained in:
aixianling
2022-05-27 11:58:51 +08:00
parent 0debe23873
commit bf799bdd93

View File

@@ -4,9 +4,9 @@
<ai-title slot="title" title="小程序部署发布" isShowBottomBorder/> <ai-title slot="title" title="小程序部署发布" isShowBottomBorder/>
<template #content> <template #content>
<ai-search-bar> <ai-search-bar>
<!-- <template #left>--> <!-- <template #left>-->
<!-- <el-button type="primary" icon="iconfont iconAdd" @click="dialog=true">增加</el-button>--> <!-- <el-button type="primary" icon="iconfont iconAdd" @click="dialog=true">增加</el-button>-->
<!-- </template>--> <!-- </template>-->
<template #right> <template #right>
<el-input size="small" placeholder="搜索项目/系统" v-model="search.name" clearable <el-input size="small" placeholder="搜索项目/系统" v-model="search.name" clearable
@change="page.current=1,getTableData()"/> @change="page.current=1,getTableData()"/>
@@ -80,8 +80,8 @@ export default {
dialog: false, dialog: false,
form: {}, form: {},
rules: { rules: {
privateKey: {required: true, message: "请输入 小程序上传私钥"}, // privateKey: {required: true, message: "请输入 小程序上传私钥"},
projectPath: {required: true, message: "请输入 项目地址"}, // projectPath: {required: true, message: "请输入 项目地址"},
version: {required: true, message: "请输入 版本号"}, version: {required: true, message: "请输入 版本号"},
} }
} }
@@ -118,7 +118,7 @@ export default {
}) })
}, },
handleZip(row) { handleZip(row) {
let {appid} = row let {miniapp_appid: appid} = row
appid && this.instance.post("/node/wxmp/getZip", null, { appid && this.instance.post("/node/wxmp/getZip", null, {
params: {appid} params: {appid}
}).then(res => { }).then(res => {