|
@@ -458,7 +458,6 @@ import {
|
|
|
getAppConfig,
|
|
getAppConfig,
|
|
|
getAppConfigList,
|
|
getAppConfigList,
|
|
|
getAppDeployConfigList,
|
|
getAppDeployConfigList,
|
|
|
- getAppTypeList,
|
|
|
|
|
getBuildConfig,
|
|
getBuildConfig,
|
|
|
getDeployMachineList,
|
|
getDeployMachineList,
|
|
|
getEnvList,
|
|
getEnvList,
|
|
@@ -473,7 +472,7 @@ export default {
|
|
|
appTypeList: [],
|
|
appTypeList: [],
|
|
|
queryInfo: {
|
|
queryInfo: {
|
|
|
env: 'test',
|
|
env: 'test',
|
|
|
- appType: 'java',
|
|
|
|
|
|
|
+ appType: '',
|
|
|
pn: 1
|
|
pn: 1
|
|
|
},
|
|
},
|
|
|
// 屏幕宽度, 为了控制分页条的大小
|
|
// 屏幕宽度, 为了控制分页条的大小
|
|
@@ -557,24 +556,17 @@ export default {
|
|
|
document.title = '应用配置列表'
|
|
document.title = '应用配置列表'
|
|
|
getEnvList().then(resp => {
|
|
getEnvList().then(resp => {
|
|
|
if (resp.code === 0) {
|
|
if (resp.code === 0) {
|
|
|
- this.envList = resp.data
|
|
|
|
|
- } else {
|
|
|
|
|
- this.$message.error(resp.msg)
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(error => {
|
|
|
|
|
- this.$message.error(error.message)
|
|
|
|
|
- })
|
|
|
|
|
- getAppTypeList().then(resp => {
|
|
|
|
|
- if (resp.code === 0) {
|
|
|
|
|
- this.appTypeList = resp.data
|
|
|
|
|
|
|
+ this.queryInfo.env = resp.data.userEnv
|
|
|
|
|
+ this.queryInfo.appType = resp.data.userAppType
|
|
|
|
|
+ this.envList = resp.data.envList
|
|
|
|
|
+ this.appTypeList = resp.data.appTypeList
|
|
|
|
|
+ this.getData()
|
|
|
} else {
|
|
} else {
|
|
|
this.$message.error(resp.msg)
|
|
this.$message.error(resp.msg)
|
|
|
}
|
|
}
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
|
this.$message.error(error.message)
|
|
this.$message.error(error.message)
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
- this.getData()
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
handleCurrentChange(pageNumber) {
|
|
handleCurrentChange(pageNumber) {
|