|  | @@ -109,9 +109,9 @@
 | 
											
												
													
														|  |        </el-table-column>
 |  |        </el-table-column>
 | 
											
												
													
														|  |        <el-table-column label="状态" align="center" prop="status">
 |  |        <el-table-column label="状态" align="center" prop="status">
 | 
											
												
													
														|  |          <template slot-scope="scope">
 |  |          <template slot-scope="scope">
 | 
											
												
													
														|  | -          <el-tag type="success" v-if="scope.row.status == '1'">发布</el-tag>
 |  | 
 | 
											
												
													
														|  | -          <el-tag type="danger" v-else-if="scope.row.status == '2'">下架</el-tag>
 |  | 
 | 
											
												
													
														|  | -          <el-tag type="info" v-else>待发布</el-tag>
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <el-tag type="success" v-if="scope.row.status == '1'">启用</el-tag>
 | 
											
												
													
														|  | 
 |  | +          <el-tag type="danger" v-else-if="scope.row.status == '2'">禁用</el-tag>
 | 
											
												
													
														|  | 
 |  | +          <!-- <el-tag type="info" v-else>待发布</el-tag> -->
 | 
											
												
													
														|  |            <!-- <span>{{ scope.row.status }}</span> -->
 |  |            <!-- <span>{{ scope.row.status }}</span> -->
 | 
											
												
													
														|  |            <!-- <dict-tag :options="statusList" :value="String( scope.row.status)"/> -->
 |  |            <!-- <dict-tag :options="statusList" :value="String( scope.row.status)"/> -->
 | 
											
												
													
														|  |          </template>
 |  |          </template>
 | 
											
										
											
												
													
														|  | @@ -123,7 +123,7 @@
 | 
											
												
													
														|  |              type="text"
 |  |              type="text"
 | 
											
												
													
														|  |              @click="ionlineApi(scope.row)"
 |  |              @click="ionlineApi(scope.row)"
 | 
											
												
													
														|  |              v-hasPermi="['schedulingMr:schedulingMr:edit']"
 |  |              v-hasPermi="['schedulingMr:schedulingMr:edit']"
 | 
											
												
													
														|  | -          >{{scope.row.status == '1' ? '取消发布' : '发布'}}</el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +          >{{scope.row.status == '1' ? '禁用' : '启用'}}</el-button>
 | 
											
												
													
														|  |            <el-button
 |  |            <el-button
 | 
											
												
													
														|  |              size="mini"
 |  |              size="mini"
 | 
											
												
													
														|  |              type="text"
 |  |              type="text"
 | 
											
										
											
												
													
														|  | @@ -219,9 +219,9 @@ export default {
 | 
											
												
													
														|  |          type: undefined,
 |  |          type: undefined,
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        statusList: [
 |  |        statusList: [
 | 
											
												
													
														|  | -        {id: 1, name: '未发布', value: 0},
 |  | 
 | 
											
												
													
														|  | -        {id: 2, name: '发布', value: 1},
 |  | 
 | 
											
												
													
														|  | -        {id: 3, name: '下架', value: 2},
 |  | 
 | 
											
												
													
														|  | 
 |  | +        // {id: 1, name: '未发布', value: 0},
 | 
											
												
													
														|  | 
 |  | +        {id: 1, name: '启用', value: 1},
 | 
											
												
													
														|  | 
 |  | +        {id: 2, name: '禁用', value: 2},
 | 
											
												
													
														|  |        ],
 |  |        ],
 | 
											
												
													
														|  |        visibleStatus: false,
 |  |        visibleStatus: false,
 | 
											
												
													
														|  |        newObj: {},
 |  |        newObj: {},
 | 
											
										
											
												
													
														|  | @@ -282,7 +282,7 @@ export default {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      /** 发布或者取消发布按钮操作 */
 |  |      /** 发布或者取消发布按钮操作 */
 | 
											
												
													
														|  |      ionlineApi(row) {
 |  |      ionlineApi(row) {
 | 
											
												
													
														|  | -      this.$confirm("是否对:" + row.performName + row.goodsNames + "的数据进行" + (row.status == 1 ? '下架?' : '发布?'), '提示', {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$confirm("是否对:" + row.performName + row.goodsNames + "的数据进行" + (row.status == 1 ? '禁用?' : '启用?'), '提示', {
 | 
											
												
													
														|  |          confirmButtonText: '确定',
 |  |          confirmButtonText: '确定',
 | 
											
												
													
														|  |          cancelButtonText: '取消',
 |  |          cancelButtonText: '取消',
 | 
											
												
													
														|  |          type: 'warning'
 |  |          type: 'warning'
 |