Commit bd03075d authored by 智勇's avatar 智勇

sonar

parent 652126d6
......@@ -132,11 +132,13 @@
<el-option v-for="item in avtiveOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
</el-select>
</el-form-item>
<el-form-item label="是否部署容器" prop="deploy_to_testenv">
<el-select v-model="temp.deploy_to_testenv" class="filter-item" placeholder="Please select">
<el-option v-for="item in deployOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
</el-select>
</el-form-item>
<el-form-item v-if="temp.deploy_to_testenv" label="线上域名" prop="host_name" style="width: 100%;">
<el-input v-model="temp.host_name"/>
</el-form-item>
......@@ -154,6 +156,12 @@
<el-input v-model="temp.build_command"/>
</el-form-item>
<el-form-item v-if="temp.deploy_to_testenv" label="Sonar扫描" prop="sonar">
<el-select v-model="temp.sonar" class="filter-item" placeholder="Please select">
<el-option v-for="item in deployOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
</el-select>
</el-form-item>
<el-alert
v-show="temp.type==='java' && temp.deploy_to_testenv"
style="margin-bottom:20px"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment