fangyuan
2022-12-30 b50cec3a8368dd842c5919bf4e25da83f6c4447b
src/views/layout/components/Header/index.vue
@@ -56,35 +56,40 @@
      </div>
      <el-dialog :visible.sync="channelSettingVisible" width="25%" title="消息栏目设置" v-if="channelSettingVisible"
        :before-close="handleChannelClose">
        <el-table
        ref="multipleTable"
            :header-cell-style="{
        <el-table ref="multipleTable" :header-cell-style="{
            'font-size': '14px',
            'font-weight': '650',
            'line-height': '45px',
          }"
            :data="channelData"
            style="width: 100%"
            @selection-change="handleSelectionChange"
        >  <el-table-column
      type="selection"
      width="55"
      >
                                      }" :data="channelData" style="width: 100%" @selection-change="handleSelectionChange">
          <el-table-column width="55">
    </el-table-column>
          <el-table-column prop="columnName" label="全部" min-width="5"  align="center">
            <!-- <template slot-scope="scope">{{ scope.row.id }}</template> -->
          </el-table-column>
          <el-table-column prop="isReceive" label="启用" min-width="5">
            <template slot-scope="scope">
              <!-- @change="handleChangeStatus(scope.row)" -->
              <el-switch class="switchStyle"
              v-model="scope.row.isReceive"
              active-color="#3fef9a"
              inactive-color="#000212"
              active-value="1"
              inactive-value="0">
              </el-switch>
              {{ scope.row.isReceive}}
            </template>
          </el-table-column>
          </el-table>
     
          <el-button type="button" @click="channelSetting">取消</el-button>
      </el-dialog>
      <el-dialog :visible.sync="updatePasswordDialog" width="40%" title="修改密码" v-if="updatePasswordDialog"
        :before-close="handleClose">
        <updatePassword />
      </el-dialog>
      <el-dialog :visible.sync="baseInformationVisible" width="35%" title="基本信息" v-if="baseInformationVisible"
        >
      <el-dialog :visible.sync="baseInformationVisible" width="35%" title="基本信息" v-if="baseInformationVisible">
        <el-form :model="info" class="info" label-width="6vw">
          <el-form-item label="用户ID" min-width="6">
            <el-input v-model="info.id"></el-input>