| | |
| | | :show-overflow-tooltip="true" |
| | | align="center" |
| | | > |
| | | <!-- 编辑和展示逻辑 --> |
| | | <!-- <template slot-scope="{ row }">--> |
| | | <!-- <el-input v-if="editingRow === row && editShow== item.prop" v-model="row[item.prop]" @blur="saveRow"></el-input>--> |
| | | <!-- <span v-else>{{row[item.prop]}}</span>--> |
| | | <!-- <el-switch--> |
| | | <!-- v-if="editShow === 'true'"--> |
| | | <!-- v-model="row[item.prop]"--> |
| | | <!-- active-color="#13ce66"--> |
| | | <!-- inactive-color="#ff4949">--> |
| | | <!-- </el-switch>--> |
| | | <!-- </template>--> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-row> |
| | |
| | | }, |
| | | // 发布 |
| | | setHandler() { |
| | | console.log("1111"); |
| | | console.log("父", this.parameter); |
| | | |
| | | if (this.selectRow.length <= 0) { |
| | | this.$message.warning("请选择一条数据"); |
| | | } else { |
| | |
| | | row.forEach((item) => { |
| | | this.parameter.ids.push(item.oid); |
| | | }); |
| | | console.log( ' this.parameter.ids',this.parameter.ids) |
| | | }, |
| | | //编辑 |
| | | editHandler() { |