{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/systemSetting/administratorAuthority/identityManager/index.vue?vue&type=template&id=3bf3aba4&scoped=true","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/systemSetting/administratorAuthority/identityManager/index.vue","mtime":1701742078558},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/loaders/templateLoader.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["\n<div class=\"divBox\">\n  <el-card class=\"box-card\">\n    <el-form inline size=\"small\" @submit.native.prevent v-hasPermi=\"['merchant:admin:role:list']\">\n      <el-form-item>\n        <el-input v-model.trim=\"listPram.roleName\" placeholder=\"请输入角色昵称\" clearable class=\"selWidth\" />\n      </el-form-item>\n      <el-form-item>\n        <el-button\n          size=\"mini\"\n          type=\"primary\"\n          @click.native=\"handleGetRoleList\"\n          v-hasPermi=\"['merchant:admin:role:list']\"\n          >查询</el-button\n        >\n      </el-form-item>\n    </el-form>\n    <el-form inline @submit.native.prevent>\n      <el-form-item>\n        <el-button size=\"small\" type=\"primary\" @click=\"handlerOpenEdit(0)\" v-hasPermi=\"['merchant:admin:role:save']\"\n          >添加角色</el-button\n        >\n      </el-form-item>\n    </el-form>\n    <el-table\n      :data=\"listData.list\"\n      size=\"mini\"\n      :header-cell-style=\"{ fontWeight: 'bold', background: '#f8f8f9', color: '#515a6e', height: '40px' }\"\n    >\n      <el-table-column label=\"角色编号\" prop=\"id\" width=\"120\"></el-table-column>\n      <el-table-column label=\"角色昵称\" prop=\"roleName\" min-width=\"130\" />\n      <el-table-column label=\"状态\" prop=\"status\">\n        <template slot-scope=\"scope\">\n          <el-switch\n            v-if=\"checkPermi(['merchant:admin:role:update:status'])\"\n            v-model=\"scope.row.status\"\n            :active-value=\"true\"\n            :inactive-value=\"false\"\n            active-text=\"开启\"\n            inactive-text=\"关闭\"\n            style=\"width: 40px\"\n            @change=\"handleStatusChange(scope.row)\"\n          ></el-switch>\n          <div v-else>{{ scope.row.status ? '开启' : '关闭' }}</div>\n        </template>\n      </el-table-column>\n      <el-table-column label=\"创建时间\" prop=\"createTime\" min-width=\"150\" />\n      <el-table-column label=\"更新时间\" prop=\"updateTime\" min-width=\"150\" />\n      <el-table-column label=\"操作\" min-width=\"130\" fixed=\"right\">\n        <template slot-scope=\"scope\">\n          <el-button\n            size=\"small\"\n            type=\"text\"\n            @click=\"handlerOpenEdit(1, scope.row)\"\n            v-hasPermi=\"['merchant:admin:role:update']\"\n            >编辑</el-button\n          >\n          <el-button\n            size=\"small\"\n            type=\"text\"\n            @click=\"handlerOpenDel(scope.row)\"\n            v-hasPermi=\"['merchant:admin:role:delete']\"\n            >删除</el-button\n          >\n        </template>\n      </el-table-column>\n    </el-table>\n    <el-pagination\n      :current-page=\"listPram.page\"\n      :page-sizes=\"constants.page.limit\"\n      :layout=\"constants.page.layout\"\n      :total=\"listData.total\"\n      @size-change=\"handleSizeChange\"\n      @current-change=\"handleCurrentChange\"\n    />\n  </el-card>\n  <el-dialog\n    :visible.sync=\"editDialogConfig.visible\"\n    :title=\"editDialogConfig.isCreate === 0 ? '创建身份' : '编辑身份'\"\n    destroy-on-close\n    :close-on-click-modal=\"false\"\n    width=\"500px\"\n  >\n    <edit\n      v-if=\"editDialogConfig.visible\"\n      :is-create=\"editDialogConfig.isCreate\"\n      :edit-data=\"editDialogConfig.editData\"\n      @hideEditDialog=\"hideEditDialog\"\n      ref=\"editForm\"\n    />\n  </el-dialog>\n</div>\n",null]}