|
@@ -149,23 +149,23 @@
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
v-hasPermi="['admin:salesite:edit']"
|
|
|
>编辑</el-button> -->
|
|
|
- <!-- <el-button
|
|
|
+ <el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
@click="handleStatusChange(scope.row)"
|
|
|
- v-hasPermi="['admin:salesite:remove']"
|
|
|
+ v-hasPermi="['admin:salesite:edit']"
|
|
|
>
|
|
|
- <span v-if="getValue(scope.row.status) == 1"> 停用</span>
|
|
|
- <span v-if="getValue(scope.row.status) == 2"> 启用</span>
|
|
|
- </el-button> -->
|
|
|
- <el-switch
|
|
|
+ <span v-if="getValue(scope.row.status) == 1" style="color: red;"> 停用</span>
|
|
|
+ <span v-if="getValue(scope.row.status) == 2" style="color: blue;"> 启用</span>
|
|
|
+ </el-button>
|
|
|
+ <!-- <el-switch
|
|
|
style="margin-left: 9px;"
|
|
|
v-model="scope.row.statusV"
|
|
|
active-value="1"
|
|
|
inactive-value="2"
|
|
|
@change="handleStatusChange(scope.row)"
|
|
|
v-hasPermi="['business:salesite:edit']"
|
|
|
- ></el-switch>
|
|
|
+ ></el-switch> -->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|