|
|
@ -349,13 +349,15 @@ export default { |
|
|
|
class="flex-shrink-0 myml-12" |
|
|
|
type="success" |
|
|
|
@click="handleChangeQuery" |
|
|
|
>查询</el-button |
|
|
|
>查询 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
class="flex-shrink-0" |
|
|
|
size="small" |
|
|
|
@click="handleResetQuery" |
|
|
|
>重置</el-button |
|
|
|
>重置 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -363,10 +365,14 @@ export default { |
|
|
|
<div class="flex justify-end mb-16"> |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" @click="handleAdd" |
|
|
|
>新增</el-button |
|
|
|
v-hasPermi="['sz:run:inspection:record:add']" |
|
|
|
>新增 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button type="danger" size="small" @click="handleDelAll" :disabled="tableCheckData.length === 0" |
|
|
|
>删除</el-button |
|
|
|
v-hasPermi="['sz:run:inspection:record:delAll']" |
|
|
|
>删除 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -404,8 +410,10 @@ export default { |
|
|
|
</el-table-column> |
|
|
|
<el-table-column align="center" label="维养负责人"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.plan.responsiblePerson && |
|
|
|
scope.row.plan.responsiblePerson.name }}</span> |
|
|
|
<span>{{ |
|
|
|
scope.row.plan.responsiblePerson && |
|
|
|
scope.row.plan.responsiblePerson.name |
|
|
|
}}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="supplements" align="center" label="资金来源/万元"> |
|
|
@ -448,43 +456,45 @@ export default { |
|
|
|
<el-button |
|
|
|
style="margin-right: 16px; margin-left: 10px;" |
|
|
|
@click="handleCheck(scope.row)" |
|
|
|
v-hasPermi="['sz:run:inspection:record:item:check']" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
>查看</el-button |
|
|
|
>查看 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-popconfirm |
|
|
|
style="margin-right: 16px;" |
|
|
|
v-if="scope.row.status == '0'" |
|
|
|
confirm-button-text="确定" |
|
|
|
cancel-button-text="取消" |
|
|
|
icon="el-icon-info" |
|
|
|
icon-color="red" |
|
|
|
title="确认提交吗?" |
|
|
|
class="ml-10" |
|
|
|
@confirm="handleConfirmAccept(scope.row)" |
|
|
|
> |
|
|
|
<el-button type="text" size="small" slot="reference" |
|
|
|
>提交验收</el-button |
|
|
|
<el-button |
|
|
|
style="margin-right: 16px" |
|
|
|
v-if="scope.row.status == 0" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
v-hasPermi="['sz:run:inspection:record:item:submit']" |
|
|
|
@click="handleConfirmAccept(scope.row)" |
|
|
|
> |
|
|
|
</el-popconfirm> |
|
|
|
提交验收 |
|
|
|
</el-button> |
|
|
|
<el-button |
|
|
|
style="color: red; margin-right: 16px" |
|
|
|
v-if="scope.row.status == 1" |
|
|
|
v-hasPermi="['sz:run:inspection:record:item:return']" |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
@click="handleReturn(scope.row)" |
|
|
|
>撤回</el-button |
|
|
|
>撤回 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
style="margin-right: 16px" |
|
|
|
@click="handleEdit(scope.row)" |
|
|
|
type="text" |
|
|
|
v-if="scope.row.status == '0'" |
|
|
|
v-hasPermi="['sz:run:inspection:record:item:edit']" |
|
|
|
size="small" |
|
|
|
>编辑</el-button |
|
|
|
>编辑 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-popconfirm |
|
|
|
v-if="scope.row.status == '0'" |
|
|
|
v-hasPermi="['sz:run:inspection:record:item:del']" |
|
|
|
confirm-button-text="确定" |
|
|
|
cancel-button-text="取消" |
|
|
|
icon="el-icon-info" |
|
|
@ -497,7 +507,8 @@ export default { |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
slot="reference" |
|
|
|
>删除</el-button |
|
|
|
>删除 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
</el-popconfirm> |
|
|
|
</template> |
|
|
@ -532,7 +543,9 @@ export default { |
|
|
|
</div> |
|
|
|
<div class="drawer-footer p-16"> |
|
|
|
<el-button size="mini" type="primary" @click="handleEdit(currentRow)" |
|
|
|
>编辑</el-button |
|
|
|
v-hasPermi="['sz:run:inspection:record:item:edit']" |
|
|
|
>编辑 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button size="mini" @click="dialogVisible = false">取消</el-button> |
|
|
|
</div> |
|
|
@ -544,6 +557,7 @@ export default { |
|
|
|
.search-form { |
|
|
|
.search-item { |
|
|
|
margin-bottom: 16px; |
|
|
|
|
|
|
|
.search-label { |
|
|
|
width: 100px; |
|
|
|
text-align: right; |
|
|
@ -551,6 +565,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.line { |
|
|
|
background: #e5e5e5; |
|
|
|
width: 100%; |
|
|
@ -570,9 +585,11 @@ export default { |
|
|
|
.w-160 { |
|
|
|
width: 170px; |
|
|
|
} |
|
|
|
|
|
|
|
.w-240 { |
|
|
|
width: 240px; |
|
|
|
} |
|
|
|
|
|
|
|
.w-360 { |
|
|
|
width: 360px; |
|
|
|
} |
|
|
|