chore: 项目 -> 应用系统
							parent
							
								
									e681c6020d
								
							
						
					
					
						commit
						b1474b229e
					
				| 
						 | 
				
			
			@ -20,7 +20,7 @@ export function configBizPool(id, params) {
 | 
			
		|||
  return request.post(`${baseUrl}/${id}/pools`, wrapperParams(params))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 获取单个业务的关联项目
 | 
			
		||||
// 获取单个业务的关联应用系统
 | 
			
		||||
export function getProjectByBizList(id) {
 | 
			
		||||
  return request.get(`${baseUrl}/${id}/projects`)
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
        </basic-form-item>
 | 
			
		||||
      </el-col>
 | 
			
		||||
      <el-col :span="12">
 | 
			
		||||
        <basic-form-item label="所属项目:">
 | 
			
		||||
        <basic-form-item label="应用系统:">
 | 
			
		||||
          <el-input v-model="projectName" v-if="itemData && !$route.query.id"></el-input>
 | 
			
		||||
          <el-select v-else v-model="addData.location.projectId" @change="getUser" >
 | 
			
		||||
            <el-option v-for="(item, index) in projectList" :key="index" :label="item.name" :value="item.id"></el-option>
 | 
			
		||||
| 
						 | 
				
			
			@ -119,7 +119,7 @@ export default {
 | 
			
		|||
      })
 | 
			
		||||
    },
 | 
			
		||||
    async getProjectName(projectId) {
 | 
			
		||||
      // 未选择项目情况
 | 
			
		||||
      // 未选择应用系统情况
 | 
			
		||||
      if (!projectId) return;
 | 
			
		||||
      const res = await getProjectDetailInfo(projectId);
 | 
			
		||||
      if (res.success) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ export default {
 | 
			
		|||
      isPreview: this.$route.name.indexOf('Preview') > -1, // 详情预览
 | 
			
		||||
      isTemplate: this.$route.name.indexOf('Tpl') > -1, // 模板下不显示目标机器
 | 
			
		||||
      isTaskInstance: this.$route.name.indexOf('Instance') > -1,
 | 
			
		||||
      isConsole: this.$route.name.indexOf('Service') > -1, // 自服务界面隐藏项目
 | 
			
		||||
      isConsole: this.$route.name.indexOf('Service') > -1, // 自服务界面隐藏应用系统
 | 
			
		||||
      isHistoryDetail: this.$route.name.indexOf('History') > -1, // 执行历史的详情
 | 
			
		||||
      serverCount: {}
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue