微调
This commit is contained in:
@@ -219,9 +219,7 @@ const columns = reactive<ColumnProps<Plan.ReqPlan>[]>([
|
||||
width: 360,
|
||||
render: scope => {
|
||||
return (
|
||||
<el-link type='primary' link onClick={() => showTestScript(scope.row.scriptId)}>
|
||||
{scope.row.scriptName}
|
||||
</el-link>
|
||||
<span>{scope.row.scriptName}</span>
|
||||
)
|
||||
},
|
||||
},
|
||||
@@ -231,7 +229,7 @@ const columns = reactive<ColumnProps<Plan.ReqPlan>[]>([
|
||||
width: 200,
|
||||
render: scope => {
|
||||
return (
|
||||
<el-link type='primary' link onClick={() => showData(scope.row.errorSysName || '')}>
|
||||
<el-link type='primary' link onClick={() => showData(scope.row)}>
|
||||
{scope.row.errorSysName}
|
||||
</el-link>
|
||||
)
|
||||
@@ -282,8 +280,9 @@ function isVisible(row: Plan.ReqPlan) {
|
||||
}
|
||||
|
||||
|
||||
function showData(row: string) {
|
||||
errorStandardPopup.value?.open(row, row)
|
||||
function showData(row: any) {
|
||||
let split = row.errorSysName.split('-')
|
||||
errorStandardPopup.value?.open(row.errorSysName, {id:row.errorSysId,devLevel:split[split.length-1]})
|
||||
}
|
||||
|
||||
async function showTestSource(row:string) {
|
||||
|
||||
Reference in New Issue
Block a user