mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 10:58:14 +08:00
fix 构建弹窗部分下拉支持手动刷新数据
This commit is contained in:
parent
7bf4da1ad5
commit
8c709f57d2
@ -13,6 +13,7 @@
|
||||
1. 【all】优化 解压工具支持多种编码格式(GBK、UTF8)(感谢@Again... . )
|
||||
2. 【server】优化 在线构建新增配置文件环境变量测试(`BUILD_CONFIG_BRANCH_NAME`)(感谢@阿克苏市姑墨信息科技有限公司)
|
||||
3. 【server】修复 节点方法回滚 NPE (感谢@酱总)
|
||||
4. 【server】优化 构建弹窗部分下拉支持手动刷新数据(感谢@张飞鸿)
|
||||
|
||||
------
|
||||
|
||||
|
@ -360,6 +360,7 @@
|
||||
<a-form-model-item label="分发项目" prop="releaseMethodDataId">
|
||||
<a-select show-search allowClear v-model="tempExtraData.releaseMethodDataId_1" placeholder="请选择分发项目">
|
||||
<a-select-option v-for="dispatch in dispatchList" :key="dispatch.id">{{ dispatch.name }} </a-select-option>
|
||||
<a-icon slot="suffixIcon" type="reload" @click="loadDispatchList" />
|
||||
</a-select>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item prop="projectSecondaryDirectory" label="二级目录">
|
||||
@ -370,7 +371,9 @@
|
||||
<!-- 项目 -->
|
||||
<template v-if="temp.releaseMethod === 2">
|
||||
<a-form-model-item label="发布项目" prop="releaseMethodDataIdList">
|
||||
<a-cascader v-model="temp.releaseMethodDataIdList" :options="cascaderList" placeholder="请选择节点项目" />
|
||||
<a-cascader v-model="temp.releaseMethodDataIdList" :options="cascaderList" placeholder="请选择节点项目">
|
||||
<a-icon slot="suffixIcon" type="reload" @click="loadNodeProjectList" />
|
||||
</a-cascader>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item label="发布后操作" prop="afterOpt">
|
||||
<a-select show-search allowClear v-model="tempExtraData.afterOpt" placeholder="请选择发布后操作">
|
||||
@ -393,6 +396,7 @@
|
||||
</template>
|
||||
<a-select show-search option-filter-prop="children" mode="multiple" v-model="tempExtraData.releaseMethodDataId_3" placeholder="请选择SSH">
|
||||
<a-select-option v-for="ssh in sshList" :disabled="!ssh.fileDirs" :key="ssh.id">{{ ssh.name }}</a-select-option>
|
||||
<a-icon slot="suffixIcon" type="reload" @click="loadSshList" />
|
||||
</a-select>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item label="发布目录" prop="releaseMethodDataId">
|
||||
@ -522,6 +526,7 @@
|
||||
<a-select @change="selectSwarm()" show-search allowClear v-model="tempExtraData.dockerSwarmId" placeholder="请选择发布到哪个 docker 集群">
|
||||
<a-select-option value="">不发布到 docker 集群</a-select-option>
|
||||
<a-select-option v-for="item1 in dockerSwarmList" :key="item1.id">{{ item1.name }}</a-select-option>
|
||||
<a-icon slot="suffixIcon" type="reload" @click="loadDockerSwarmListAll" />
|
||||
</a-select>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item prop="pushToRepository" :label="` `" :colon="false">
|
||||
@ -1226,7 +1231,7 @@ export default {
|
||||
this.countdownTime = Date.now() + this.refreshInterval * 1000;
|
||||
},
|
||||
methods: {
|
||||
// 页面引导
|
||||
//
|
||||
loadDockerSwarmListAll() {
|
||||
dockerSwarmListAll().then((res) => {
|
||||
this.dockerSwarmList = res.data;
|
||||
|
Loading…
Reference in New Issue
Block a user