Commit bb45518d authored by 盖献康's avatar 盖献康

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

parents 7fdb8213 018deb17
......@@ -10,4 +10,4 @@ VUE_APP_BASE_API = '/prod-api'
# 图片服务器地址
VUE_APP_IMAGE_API ='/'
VUE_APP_CLIENT_API = 'http://10.12.48.80:1234'
VUE_APP_CLIENT_API = 'http://10.12.48.78:8090'
......@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032'
# 图片服务器地址
VUE_APP_IMAGE_API = 'http://49.232.167.247:22037'
VUE_APP_CLIENT_API = 'http://10.12.48.80:1234'
VUE_APP_CLIENT_API = 'http://10.12.48.78:8090'
......@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!-- <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> -->
<script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_31435_55.923da21ede831095d4d7a8ab05fe30cb.js"></script>
<script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_31435_85.f03f7ada23edcf4cd72e61338ed55693.js"></script>
<title><%= webpackConfig.name %></title>
<!--[if lt IE 11]>
<script>window.location.href = '/html/ie.html';</script><![endif]-->
......
<template>
<el-menu
style="margin-bottom: 30px"
:default-active="activeMenu"
mode="horizontal"
@select="handleSelect"
......
......@@ -60,9 +60,9 @@ export default {
length2: 10 // 挨着文字的直线的长度
},
data: [
{ value: 40, name: 'rose 1' },
{ value: 38, name: 'rose 2' },
{ value: 32, name: 'rose 3' }
{ value: 40, name: '网络安全' },
{ value: 38, name: '软件升级' },
{ value: 32, name: '数据安全' }
]
},
{
......@@ -85,9 +85,9 @@ export default {
show: false
},
data: [
{ value: 40, name: 'rose 1' },
{ value: 38, name: 'rose 2' },
{ value: 32, name: 'rose 3' }
{ value: 40, name: '网络安全' },
{ value: 38, name: '软件升级' },
{ value: 32, name: '数据安全' }
]
}
]
......
......@@ -83,14 +83,9 @@
<div class="cardTitle">任务完成情况占比</div>
<div style="display: flex; justify-content: space-between">
<div class="cardChild" style="background: rgba(18, 190, 223, 0.08)">
<div
style="
width: 36px;
height: 36px;
background: #12bedf;
border-radius: 8px;
"
></div>
<div>
<iconpark-icon name="renwuwancheng" size="36"></iconpark-icon>
</div>
<span>已完成 :43个</span>
<div>
<el-progress
......@@ -103,14 +98,12 @@
</div>
</div>
<div class="cardChild" style="background: rgba(230, 88, 104, 0.08)">
<div
style="
width: 36px;
height: 36px;
background: #e55868;
border-radius: 8px;
"
></div>
<div>
<iconpark-icon
name="renwuweiwancheng"
size="36"
></iconpark-icon>
</div>
<span>已完成 :43个</span>
<div>
<el-progress
......@@ -150,17 +143,23 @@
style="background: rgba(230, 88, 104, 0.08)"
>
<div class="lineOne">高危</div>
<div>高危</div>
<div>
<iconpark-icon name="gaowei" size="24"></iconpark-icon>
</div>
<div class="lineLast">83</div>
</div>
<div class="dangerousCard" style="background: #fef6e9">
<div class="lineOne">中危</div>
<div>高危</div>
<div>
<iconpark-icon name="zhongwei" size="24"></iconpark-icon>
</div>
<div class="lineLast">45</div>
</div>
<div class="dangerousCard" style="background: #e8f1fb">
<div class="lineOne">低危</div>
<div>高危</div>
<div>
<iconpark-icon name="diwei" size="24"></iconpark-icon>
</div>
<div class="lineLast">78</div>
</div>
</div>
......@@ -273,16 +272,16 @@ export default {
}
],
taskCompleted: [
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 },
{ name: '站哨', value: 90 }
{ name: '张晓刚', value: 90 },
{ name: '王小虎', value: 90 },
{ name: '刘生', value: 90 },
{ name: '李丽', value: 90 },
{ name: '赵明明', value: 90 },
{ name: '张晓刚', value: 90 },
{ name: '王小虎', value: 90 },
{ name: '刘生', value: 90 },
{ name: '李丽', value: 90 },
{ name: '赵明明', value: 90 }
]
}
},
......
......@@ -19,7 +19,7 @@
<div class="task-item">
<span class="task-label">任务编号:</span>
<span class="task-content">
{{ model.systemReviewTask.taskNo }}
{{ task.taskNo }}
</span>
</div>
<div class="task-item">
......@@ -37,12 +37,7 @@
<div class="task-item">
<span class="task-label">任务状态:</span>
<span class="task-content">
{{
getDictData(
dict.type.task_test_status,
model.systemReviewTask.taskStatus
)
}}
{{ getDictData(dict.type.task_test_status, task.taskStatus) }}
</span>
</div>
</div>
......@@ -54,7 +49,7 @@
<col style="width: 100px" />
<thead>
<tr>
<th>章节号</th>
<th style="width: 100px">章节号</th>
<th>标准技术要求</th>
<th>标准测试方法</th>
<th>测试场景</th>
......@@ -63,7 +58,7 @@
<th>用例名称</th>
<th>工具</th>
<th>对应输入</th>
<th>测试用例</th>
<th style="width: 370px">测试用例</th>
</tr>
</thead>
<tbody>
......@@ -155,8 +150,8 @@ export default {
methods: {
getRows3,
getTest() {
getBySubtaskId({ taskId: '1768527384203460609' }).then(res => {
if (res === 200) {
getBySubtaskId({ id: '1768527384203460609' }).then(res => {
if (res.code === 200) {
this.task = res.data
}
})
......
......@@ -66,7 +66,7 @@
>新增</el-button
>
</el-col>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
v-hasPermi="['system:dict:edit']"
type="success"
......@@ -77,7 +77,7 @@
@click="handleUpdate"
>修改</el-button
>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
v-hasPermi="['system:dict:remove']"
......@@ -90,7 +90,7 @@
>删除</el-button
>
</el-col>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
v-hasPermi="['system:dict:export']"
type="warning"
......@@ -100,7 +100,7 @@
@click="handleExport"
>导出</el-button
>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
......
......@@ -528,10 +528,11 @@ export default {
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?', {
.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?' ,{
type: 'warning',
title: text,
closeOnClickModal: false
})
.then(function () {
return changeRoleStatus(row.roleId, row.status)
})
......
......@@ -678,6 +678,8 @@ export default {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.userName + '"用户吗?', {
type: 'warning',
title: text,
closeOnClickModal: false
})
.then(function () {
......
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