|
@ -81,7 +81,7 @@ |
|
|
:disabled="$route.query.mode === 'check'" |
|
|
:disabled="$route.query.mode === 'check'" |
|
|
class="flex-shrink-0 myml-12" |
|
|
class="flex-shrink-0 myml-12" |
|
|
type="success" |
|
|
type="success" |
|
|
v-hasPermi="['df:run:patrol:inspection:detail:add']" |
|
|
v-hasPermi="['df:run:pestanimal2:inspection:detail:add']" |
|
|
@click="addProblems" |
|
|
@click="addProblems" |
|
|
>新增</el-button |
|
|
>新增</el-button |
|
|
> |
|
|
> |
|
@ -90,7 +90,7 @@ |
|
|
:disabled="$route.query.mode === 'check'" |
|
|
:disabled="$route.query.mode === 'check'" |
|
|
class="flex-shrink-0" |
|
|
class="flex-shrink-0" |
|
|
@click="delProblems" |
|
|
@click="delProblems" |
|
|
v-hasPermi="['df:run:patrol:inspection:detail:allDel']" |
|
|
v-hasPermi="['df:run:pestanimal2:inspection:detail:allDel']" |
|
|
size="small" |
|
|
size="small" |
|
|
>删除</el-button |
|
|
>删除</el-button |
|
|
> |
|
|
> |
|
@ -237,7 +237,7 @@ |
|
|
size="small" |
|
|
size="small" |
|
|
style="margin-right: 10px" |
|
|
style="margin-right: 10px" |
|
|
type="text" |
|
|
type="text" |
|
|
v-hasPermi="['df:run:patrol:inspection:detail:item:upload']" |
|
|
v-hasPermi="['df:run:pestanimal2:inspection:detail:item:upload']" |
|
|
>上传图片</el-button |
|
|
>上传图片</el-button |
|
|
> |
|
|
> |
|
|
</el-upload> |
|
|
</el-upload> |
|
@ -255,7 +255,7 @@ |
|
|
size="small" |
|
|
size="small" |
|
|
:disabled="$route.query.mode === 'check'" |
|
|
:disabled="$route.query.mode === 'check'" |
|
|
slot="reference" |
|
|
slot="reference" |
|
|
v-hasPermi="['df:run:patrol:inspection:detail:item:del']" |
|
|
v-hasPermi="['df:run:pestanimal2:inspection:detail:item:del']" |
|
|
>删除</el-button |
|
|
>删除</el-button |
|
|
> |
|
|
> |
|
|
</el-popconfirm> |
|
|
</el-popconfirm> |
|
@ -267,14 +267,14 @@ |
|
|
<div class="bottom-btns" v-if="$route.query.mode !== 'check'"> |
|
|
<div class="bottom-btns" v-if="$route.query.mode !== 'check'"> |
|
|
<el-button |
|
|
<el-button |
|
|
type="primary" |
|
|
type="primary" |
|
|
v-hasPermi="['df:run:patrol:inspection:detail:submit']" |
|
|
v-hasPermi="['df:run:pestanimal2:inspection:detail:submit']" |
|
|
@click="handleSave(true)" |
|
|
@click="handleSave(true)" |
|
|
> |
|
|
> |
|
|
保存并提交 |
|
|
保存并提交 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button |
|
|
<el-button |
|
|
type="primary" |
|
|
type="primary" |
|
|
v-hasPermi="['df:run:patrol:inspection:detail:save']" |
|
|
v-hasPermi="['df:run:pestanimal2:inspection:detail:save']" |
|
|
@click="handleSave(false)" |
|
|
@click="handleSave(false)" |
|
|
> |
|
|
> |
|
|
保存 |
|
|
保存 |
|
|