|
@@ -144,17 +144,17 @@
|
|
|
<el-table-column align="center"
|
|
|
width="250px"
|
|
|
label="操作">
|
|
|
- <template slot-scope="scope" v-if="scope.row.status != 0">
|
|
|
- <auth auths="inspectionItemPlanConclusion/getPlanConclusion">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <auth auths="inspectionItemPlanConclusion/getPlanConclusion" v-if="scope.row.status != 0">
|
|
|
<el-button type="text" @click="onLook(scope.row)">查看</el-button>
|
|
|
</auth>
|
|
|
- <auth auths="inspectionItemPlanConclusion/GPS-INFO">
|
|
|
+ <auth auths="inspectionItemPlanConclusion/GPS-INFO" v-if="scope.row.status != 0">
|
|
|
<el-button type="text" @click="onGPS(scope.row)">GPS定位</el-button>
|
|
|
</auth>
|
|
|
- <auth auths="inspectionItemPlanConclusion/exportPlanConclusion">
|
|
|
+ <auth auths="inspectionItemPlanConclusion/exportPlanConclusion" v-if="scope.row.status != 0">
|
|
|
<el-button type="text" @click="onExport(scope.row)">下载</el-button>
|
|
|
</auth>
|
|
|
- <auth auths="inspectionItemPlan/updateMemo" v-if="scope.row.conclusionStatus == 1 || scope.row.conclusionStatus == 0">
|
|
|
+ <auth auths="inspectionItemPlan/updateMemo" v-if="scope.row.conclusionStatus == 1 || scope.row.status == 0">
|
|
|
<el-button type="text" @click="handleClick(scope.row)">处理方式</el-button>
|
|
|
</auth>
|
|
|
</template>
|
|
@@ -277,7 +277,6 @@ export default {
|
|
|
...getTimes(createTimer, ["startTime", "endTime"]),
|
|
|
}
|
|
|
const res = await inspectionItemPlan(params)
|
|
|
- console.log(res)
|
|
|
this.tableList = res.data.rows
|
|
|
this.pageInfo.total = res.data.total
|
|
|
} catch(err) {}
|