Commit 8a04ee00 authored by mzx's avatar mzx

Merge branch 'mengzixuan' of http://gitlab.91isoft.com:90/car-test/web into develop

parents 2fb7f1e7 ee1d41c3
import request from '@/utils/request'
// 获取测试场景
export function listTestScenar(data) {
return request({
url: '/system/scenario/getList',
method: 'post',
data: data
})
}
// 获取场景类型
export function listTestType(data) {
return request({
url: '/system/type/getList',
method: 'post',
data: data
})
}
......@@ -60,25 +60,14 @@
class-name="small-padding fixed-width"
>
<template slot-scope="scope">
<el-button
<div class="button-bar">
<page-button
v-hasPermi="['setting:template:update']"
size="mini"
type="text"
plain
@click="handleUpdate(scope.row)"
>
上传新文件</el-button
>
<!-- <el-button-->
<!-- v-hasPermi="['setting:template:view']"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- plain-->
<!-- icon="el-icon-arrow-right"-->
<!-- @click="viewTemplate(scope.row)"-->
<!-- >-->
<!-- 查看模板</el-button-->
<!-- >-->
icon="folder-upload"
title="上传新文件"
@click.native="handleUpdate(scope.row)"
></page-button>
</div>
</template>
</el-table-column>
</el-table>
......
This diff is collapsed.
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