检查项目设置-》检查类型维护
This commit is contained in:
@@ -3,9 +3,7 @@
|
|||||||
<!-- 顶部操作按钮区 -->
|
<!-- 顶部操作按钮区 -->
|
||||||
<div class="header-actions">
|
<div class="header-actions">
|
||||||
<el-button type="primary" @click="handlePackageManagement">套餐设置</el-button>
|
<el-button type="primary" @click="handlePackageManagement">套餐设置</el-button>
|
||||||
<el-button v-if="!isReadOnly" @click="handleRefresh" :loading="loading">
|
<el-button type="primary" v-if="!isReadOnly" @click="handleRefresh" :loading="loading">刷新</el-button>
|
||||||
刷新
|
|
||||||
</el-button>
|
|
||||||
<el-button v-if="!isReadOnly" type="success" @click="handleSave">保存</el-button>
|
<el-button v-if="!isReadOnly" type="success" @click="handleSave">保存</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -231,9 +231,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-actions">
|
<div class="search-actions">
|
||||||
<el-button type="primary" :style="{ backgroundColor: hoverAddButton ? '#8a49e0' : '#722ED1', borderColor: hoverAddButton ? '#8a49e0' : '#722ED1' }" @mouseenter="hoverAddButton = true" @mouseleave="hoverAddButton = false" @click="handleAddNewRow">新增</el-button>
|
<el-button type="primary" @mouseenter="hoverAddButton = true" @mouseleave="hoverAddButton = false" @click="handleAddNewRow">新增</el-button>
|
||||||
<el-button type="primary" @click="handleSearch">查询</el-button>
|
<el-button type="primary" @click="handleSearch">查询</el-button>
|
||||||
<el-button @click="handleReset">重置</el-button>
|
<el-button type="primary" @click="handleReset">重置</el-button>
|
||||||
<el-button type="success" @click="handleExport">导出表格</el-button>
|
<el-button type="success" @click="handleExport">导出表格</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -254,11 +254,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr
|
<tr
|
||||||
v-for="(item, index) in checkMethodData"
|
v-for="(item, index) in checkMethodData"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="{ 'editing-row': item.editing }"
|
:class="{ 'editing-row': item.editing }"
|
||||||
@click=""
|
@click="handleEdit(index)"
|
||||||
>
|
>
|
||||||
<td>{{ item.row }}</td>
|
<td>{{ item.row }}</td>
|
||||||
<td>
|
<td>
|
||||||
@@ -328,15 +328,22 @@
|
|||||||
</template>
|
</template>
|
||||||
</td>
|
</td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
<button class="btn btn-edit" @click.stop="handleEdit(index)">
|
<template v-if="item.actions">
|
||||||
✏️
|
<button class="btn btn-confirm" @click.stop="handleConfirm(index)">
|
||||||
</button>
|
✓
|
||||||
<button class="btn btn-confirm" @click.stop="handleConfirm(index)">
|
</button>
|
||||||
✓
|
<button class="btn btn-delete" @click.stop="handleDelete(index)">
|
||||||
</button>
|
🗑
|
||||||
<button class="btn btn-delete" @click.stop="handleDelete(index)">
|
</button>
|
||||||
🗑
|
</template>
|
||||||
</button>
|
<template v-else>
|
||||||
|
<button class="btn btn-confirm" @click.stop="handleConfirm(index)">
|
||||||
|
✓
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-delete" @click.stop="handleDelete(index)">
|
||||||
|
🗑
|
||||||
|
</button>
|
||||||
|
</template>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -374,7 +381,7 @@
|
|||||||
<div class="search-actions">
|
<div class="search-actions">
|
||||||
<el-button type="primary" @click="handleAddNewRow">新增</el-button>
|
<el-button type="primary" @click="handleAddNewRow">新增</el-button>
|
||||||
<el-button type="primary" @click="handleSearch">查询</el-button>
|
<el-button type="primary" @click="handleSearch">查询</el-button>
|
||||||
<el-button @click="handleReset">重置</el-button>
|
<el-button type="primary" @click="handleReset">重置</el-button>
|
||||||
<el-button type="success" @click="handleExport">导出表格</el-button>
|
<el-button type="success" @click="handleExport">导出表格</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -398,11 +405,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr
|
<tr
|
||||||
v-for="(item, index) in checkPartData"
|
v-for="(item, index) in checkPartData"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="{ 'editing-row': item.editing }"
|
:class="{ 'editing-row': item.editing }"
|
||||||
@click=""
|
@click="handleEdit(index)"
|
||||||
>
|
>
|
||||||
<td>{{ item.row }}</td>
|
<td>{{ item.row }}</td>
|
||||||
<td>
|
<td>
|
||||||
@@ -504,15 +511,22 @@
|
|||||||
</template>
|
</template>
|
||||||
</td>
|
</td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
<button class="btn btn-edit" @click.stop="handleEdit(index)">
|
<template v-if="item.actions">
|
||||||
✏️
|
<button class="btn btn-confirm" @click.stop="handleConfirm(index)">
|
||||||
</button>
|
✓
|
||||||
<button class="btn btn-confirm" @click.stop="handleConfirm(index)">
|
</button>
|
||||||
✓
|
<button class="btn btn-delete" @click.stop="handleDelete(index)">
|
||||||
</button>
|
🗑
|
||||||
<button class="btn btn-delete" @click.stop="handleDelete(index)">
|
</button>
|
||||||
🗑
|
</template>
|
||||||
</button>
|
<template v-else>
|
||||||
|
<button class="btn btn-confirm" @click.stop="handleConfirm(index)">
|
||||||
|
✓
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-delete" @click.stop="handleDelete(index)">
|
||||||
|
🗑
|
||||||
|
</button>
|
||||||
|
</template>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user