版本测试功能
parent
39b2524c7c
commit
ef4d7ab18c
|
@ -129,7 +129,6 @@ export function generate(data){
|
|||
}
|
||||
|
||||
|
||||
//根据版本id查询版本信息
|
||||
export function getVersionData(id){
|
||||
return request({
|
||||
url: "/engine/version/getVersionById/" + id,
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
<el-button type="text" @click="dialogTableVisible = true">打开嵌套表格的 Dialog</el-button>
|
||||
|
||||
<el-dialog title="收货地址" :visible.sync="dialogTableVisible">
|
||||
<el-dialog title="规则版本测试" :visible.sync="dialogTableVisible">
|
||||
|
||||
<el-table :data="maintenance.engineMaintenanceList">
|
||||
|
||||
|
@ -158,11 +158,11 @@
|
|||
|
||||
</el-button>
|
||||
|
||||
<el-button v-show="scope.row.isActivate==2" @click="selectVersionData(scope.row.id)" type="text" size="small">
|
||||
<!-- <el-button v-show="scope.row.isActivate==2" @click="selectVersionData(scope.row.id)" type="text" size="small">-->
|
||||
|
||||
测试规则
|
||||
<!-- 测试规则-->
|
||||
|
||||
</el-button>
|
||||
<!-- </el-button>-->
|
||||
|
||||
</template>
|
||||
|
||||
|
@ -232,6 +232,8 @@
|
|||
|
||||
<el-button type="primary" @click="back()">确 定</el-button>
|
||||
|
||||
<el-button type="primary" @click="testEngine()">测试</el-button>
|
||||
|
||||
</div>
|
||||
|
||||
</el-dialog>
|
||||
|
@ -344,10 +346,20 @@ export default {
|
|||
|
||||
methods: {
|
||||
|
||||
testEngine(){
|
||||
|
||||
|
||||
|
||||
},
|
||||
|
||||
selectVersionData(id) {
|
||||
|
||||
getVersionData(id).then(res => {
|
||||
|
||||
this.versions = res.data;
|
||||
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
closes() {
|
||||
|
|
Loading…
Reference in New Issue