|
@@ -208,7 +208,12 @@
|
|
|
{{ scope.row.isConvertibleScore ? "是" : "否" }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="状态">
|
|
|
+ <el-table-column align="center" label="曲目状态">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.clientShowFlag ? "启用" : "停用" }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="center" label="项目状态">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.showFlag ? "启用" : "停用" }}
|
|
|
</template>
|
|
@@ -229,7 +234,7 @@
|
|
|
v-permission="'sysMusicScore/state'"
|
|
|
type="text"
|
|
|
@click="changeStatus(scope.row)"
|
|
|
- >{{ scope.row.showFlag ? "停用" : "启用" }}</el-button
|
|
|
+ >{{ scope.row.clientShowFlag ? "停用" : "启用" }}</el-button
|
|
|
>
|
|
|
<!-- <el-button
|
|
|
type="text"
|
|
@@ -241,7 +246,7 @@
|
|
|
<el-button
|
|
|
type="text"
|
|
|
@click="edit(scope.row)"
|
|
|
- :disabled="!!scope.row.showFlag"
|
|
|
+ :disabled="!!scope.row.clientShowFlag"
|
|
|
v-permission="'sysMusicScore/update'"
|
|
|
>修改</el-button
|
|
|
>
|
|
@@ -584,7 +589,7 @@ export default {
|
|
|
},
|
|
|
async changeStatus(row) {
|
|
|
try {
|
|
|
- let status = row.showFlag ? "停用" : "启用";
|
|
|
+ let status = row.clientShowFlag ? "停用" : "启用";
|
|
|
await this.$confirm("是否确认" + status + "此曲目?", "提示", {
|
|
|
type: "warning"
|
|
|
});
|