|
@@ -31,10 +31,16 @@
|
|
<template slot-scope="scope" slot="opt">
|
|
<template slot-scope="scope" slot="opt">
|
|
<div class="opt">
|
|
<div class="opt">
|
|
<el-tooltip effect="light" placement="bottom" content="派单">
|
|
<el-tooltip effect="light" placement="bottom" content="派单">
|
|
- <i class="zoniot_font zoniot-icon-paidan" @click="dispatchTask(scope.row)"></i>
|
|
|
|
|
|
+ <i v-if="scope.row.orderStatus !== 4" class="zoniot_font zoniot-icon-paidan" @click="dispatchTask(scope.row)"></i>
|
|
|
|
+ <i v-else class="zoniot_font zoniot-icon-paidan ashText"></i>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
- <el-tooltip effect="light" placement="bottom" content="关闭">
|
|
|
|
- <i class="zoniot_font zoniot-icon-guanbi2 redText" @click="closeTask(scope.row)"></i>
|
|
|
|
|
|
+ <el-tooltip effect="light" placement="bottom" :content="scope.row.orderStatus == 4 ? '已关闭' : '关闭'">
|
|
|
|
+ <i
|
|
|
|
+ v-if="scope.row.orderStatus !== 4"
|
|
|
|
+ class="zoniot_font zoniot-icon-guanbi2 redText"
|
|
|
|
+ @click="closeTask(scope.row)"
|
|
|
|
+ ></i>
|
|
|
|
+ <i v-else class="zoniot_font zoniot-icon-guanbi2 ashText"></i>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|