点巡检、备品备件上层平台改造为只读版本

This commit is contained in:
zhanghan11 2024-06-18 11:19:27 +08:00
parent f4b152c3b0
commit 836d175705
9 changed files with 26 additions and 26 deletions

View File

@ -152,7 +152,7 @@
:gutter="10"
class="mb8"
>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="primary"
plain
@ -183,7 +183,7 @@
@click="handleDelete"
v-hasPermi="['patrol:plan:remove']"
>删除</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
@ -330,7 +330,7 @@
@click="handleView(scope.row)"
v-hasPermi="['patrol:plan:query']"
>查看</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 0"
size="mini"
type="text"
@ -361,7 +361,7 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['patrol:plan:remove']"
>删除</el-button>
>删除</el-button> -->
</template>
</el-table-column>
</el-table>

View File

@ -264,14 +264,14 @@
@click="handleViewTask(scope.row)"
v-hasPermi="['patrol:task:query']"
>查看工单</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 1"
size="mini"
type="text"
icon="el-icon-view"
@click="handleReprot(scope.row)"
v-hasPermi="['patrol:task:edit']"
>报告</el-button>
>报告</el-button> -->
<el-button
v-if="scope.row.status == 2"
size="mini"

View File

@ -102,7 +102,7 @@
:gutter="10"
class="mb8"
>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="primary"
plain
@ -122,7 +122,7 @@
@click="handleDelete"
v-hasPermi="['spareparts:inbound:remove']"
>删除</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"

View File

@ -181,14 +181,14 @@
@click="handleView(scope.row)"
v-hasPermi="['spareparts:inbound:query']"
>查看</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 1"
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['spareparts:inbound:edit']"
>审核</el-button>
>审核</el-button> -->
</template>
</el-table-column>
</el-table>

View File

@ -136,7 +136,7 @@
:gutter="10"
class="mb8"
>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="primary"
plain
@ -167,7 +167,7 @@
@click="handleDelete"
v-hasPermi="['spareparts:info:remove']"
>删除</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
@ -276,7 +276,7 @@
@click="handleView(scope.row)"
v-hasPermi="['spareparts:info:query']"
>查看</el-button>
<el-button
<!-- <el-button
size="mini"
type="text"
icon="el-icon-edit"
@ -289,7 +289,7 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['spareparts:info:remove']"
>删除</el-button>
>删除</el-button> -->
</template>
</el-table-column>
</el-table>

View File

@ -112,7 +112,7 @@
:gutter="10"
class="mb8"
>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="primary"
plain
@ -121,7 +121,7 @@
@click="handleAdd"
v-hasPermi="['spareparts:inventory:add']"
>新增</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
@ -205,7 +205,7 @@
@click="handleDownload(scope.row)"
v-hasPermi="['spareparts:inventory:query']"
>下载数据</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 0"
size="mini"
type="text"
@ -220,7 +220,7 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['spareparts:inventory:remove']"
>删除</el-button>
>删除</el-button> -->
</template>
</el-table-column>
</el-table>

View File

@ -186,7 +186,7 @@
@click="handleView(scope.row)"
v-hasPermi="['spareparts:inventory:query']"
>查看</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 0"
size="mini"
type="text"
@ -201,7 +201,7 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['spareparts:inventory:edit']"
>核实反馈</el-button>
>核实反馈</el-button> -->
<el-button
v-if="scope.row.status > 0"
size="mini"

View File

@ -122,7 +122,7 @@
:gutter="10"
class="mb8"
>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="primary"
plain
@ -142,7 +142,7 @@
@click="handleDelete"
v-hasPermi="['spareparts:outbound:remove']"
>删除</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
@ -230,7 +230,7 @@
@click="handleView(scope.row)"
v-hasPermi="['spareparts:outbound:edit']"
>查看</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 0 || scope.row.status == 2"
size="mini"
type="text"
@ -245,7 +245,7 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['spareparts:outbound:remove']"
>删除</el-button>
>删除</el-button> -->
</template>
</el-table-column>
</el-table>

View File

@ -202,14 +202,14 @@
@click="handleView(scope.row)"
v-hasPermi="['spareparts:outbound:edit']"
>查看</el-button>
<el-button
<!-- <el-button
v-if="scope.row.status == 1"
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['spareparts:outbound:edit']"
>审核</el-button>
>审核</el-button> -->
</template>
</el-table-column>
</el-table>