|
@@ -82,7 +82,7 @@
|
|
</el-button>
|
|
</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
- <el-button type="success" @click="addtask">新增</el-button>
|
|
|
|
|
|
+ <el-button type="success" @click="addtask" v-if="route.params.status==1">新增</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -141,18 +141,18 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="address" label="操作" :width="currentstatus==6?'400px':''">
|
|
<el-table-column prop="address" label="操作" :width="currentstatus==6?'400px':''">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <el-button text size="small" @click.stop="edittask(scope.row)"
|
|
|
|
|
|
+ <el-button text size="small" v-if="route.params.status!=6" @click.stop="edittask(scope.row)"
|
|
>修改
|
|
>修改
|
|
</el-button>
|
|
</el-button>
|
|
- <el-popconfirm title="确定删除?" @confirm="deltask(scope.row)">
|
|
|
|
|
|
+ <el-popconfirm title="确定删除?" @confirm="deltask(scope.row)" v-if="route.params.status==1">
|
|
<template #reference>
|
|
<template #reference>
|
|
<el-button text size="small" @click.stop="">删除</el-button>
|
|
<el-button text size="small" @click.stop="">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
- <el-button v-if="scope.row.status==6" text size="small" @click.stop="exportexcel(scope.row)"
|
|
|
|
|
|
+ <el-button v-if="scope.row.status==6 && route.params.status==6" text size="small" @click.stop="exportexcel(scope.row)"
|
|
>导出工单
|
|
>导出工单
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button v-if="scope.row.status==6" text size="small" @click.stop="exportexcel1(scope.row)"
|
|
|
|
|
|
+ <el-button v-if="scope.row.status==6 && route.params.status==6" text size="small" @click.stop="exportexcel1(scope.row)"
|
|
>导出热线照片
|
|
>导出热线照片
|
|
</el-button>
|
|
</el-button>
|
|
|
|
|