mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
Fixed: Fix the issue where batch updates cannot be performed on the detection results page in risk detection
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
:table-config="tableConfig"
|
||||
:tree-setting="treeSetting"
|
||||
/>
|
||||
<BatchResolveDialog :visible.sync="batchResolveDialog.visible" v-bind="batchResolveDialog" />
|
||||
<BatchResolveDialog v-if="batchResolveDialog.visible" :visible.sync="batchResolveDialog.visible" v-bind="batchResolveDialog" />
|
||||
<RiskScanDialog v-if="detectDialog.visible" :asset="detectDialog.asset" :visible.sync="detectDialog.visible" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<Dialog :destroy-on-close="true" :show-buttons="false" :title="$tc('ResolveSelected')" :visible.sync="iVisible">
|
||||
<div v-if="iVisible">
|
||||
<div>
|
||||
<el-form class="el-form">
|
||||
<el-form-item class="risk-select" prop="selected">
|
||||
<el-select v-model="riskSelected" :placeholder="$t('Select risk')">
|
||||
@@ -58,6 +58,7 @@ export default {
|
||||
label: this.$t('Pending')
|
||||
},
|
||||
tableConfig: {
|
||||
url: '',
|
||||
totalData: [],
|
||||
columns: [
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="drawer-footer">
|
||||
<div v-if="row.status.value === '0'">
|
||||
<div v-if="row.status && row.status.value === '0'">
|
||||
<el-input v-model="comment" :placeholder="$tc('PleaseEnterReason')" type="textarea" />
|
||||
<span class="buttons">
|
||||
<el-button size="small" type="primary" @click="handleClose">
|
||||
@@ -181,7 +181,7 @@ export default {
|
||||
case 'authorized_key_changed':
|
||||
return this.$t('Diff') + `:
|
||||
<pre>
|
||||
${detail.diff}
|
||||
${detail.diff}
|
||||
</pre>
|
||||
`
|
||||
case 'long_time_password':
|
||||
|
||||
Reference in New Issue
Block a user