Commit 2ec69f58 authored by 刘怀志's avatar 刘怀志

71930 【管理端】试用申请-查看申请课程清单图片不显示

parent d17ce61b
...@@ -145,10 +145,9 @@ ...@@ -145,10 +145,9 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div :id="step(scope.$index)"> <div :id="step(scope.$index)">
<el-image <el-image
:src="scope.row.imageSrc" :src="scope.row.path"
:preview-src-list="scope.row.srclist" :preview-src-list="[scope.row.path]"
style="width:100%;height:100%;" style="width:100%;height:100%;"
@click="handleClickStop(scope.$index)"
@mouseover="justEnter($event)" @mouseover="justEnter($event)"
@mouseout="justOut($event)" @mouseout="justOut($event)"
/> />
......
...@@ -58,14 +58,14 @@ ...@@ -58,14 +58,14 @@
@click="handleAdd" @click="handleAdd"
>{{ commonField.addName }}</el-button> >{{ commonField.addName }}</el-button>
<!-- //导出--> <!-- //导出-->
<!-- <el-button--> <!-- <el-button-->
<!-- v-hasPermi="hasExportPerm"--> <!-- v-hasPermi="hasExportPerm"-->
<!-- :class="commonField.exportClass"--> <!-- :class="commonField.exportClass"-->
<!-- :type="commonField.typeSuccess"--> <!-- :type="commonField.typeSuccess"-->
<!-- :icon="commonField.exportIcon"--> <!-- :icon="commonField.exportIcon"-->
<!-- :size="commonField.smallSize"--> <!-- :size="commonField.smallSize"-->
<!-- @click="handleExport"--> <!-- @click="handleExport"-->
<!-- >{{ commonField.exportName }}</el-button>--> <!-- >{{ commonField.exportName }}</el-button>-->
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<div class="tableTitle">角色管理列表</div> <div class="tableTitle">角色管理列表</div>
<el-table v-loading="loading" border :data="roleList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" border :data="roleList" @selection-change="handleSelectionChange">
<el-table-column type="index" label="序号" width="50" /> <el-table-column type="index" label="序号" width="50" />
<el-table-column label="角色编号" prop="number"></el-table-column> <el-table-column label="角色编号" prop="number" />
<el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true"> <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.roleName || '-' }} {{ scope.row.roleName || '-' }}
...@@ -111,13 +111,13 @@ ...@@ -111,13 +111,13 @@
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
>{{ commonField.updateName }}</el-button> >{{ commonField.updateName }}</el-button>
<!-- //数据权限--> <!-- //数据权限-->
<!-- <el-button--> <!-- <el-button-->
<!-- v-hasPermi="hasDelPerm"--> <!-- v-hasPermi="hasDelPerm"-->
<!-- :class="commonField.delClass"--> <!-- :class="commonField.delClass"-->
<!-- :type="commonField.typeParent"--> <!-- :type="commonField.typeParent"-->
<!-- :size="commonField.size"--> <!-- :size="commonField.size"-->
<!-- @click="handleMenu(scope.row)"--> <!-- @click="handleMenu(scope.row)"-->
<!-- >{{ commonField.dataPower }}</el-button>--> <!-- >{{ commonField.dataPower }}</el-button>-->
<!-- //删除--> <!-- //删除-->
<el-button <el-button
v-hasPermi="hasDelPerm" v-hasPermi="hasDelPerm"
...@@ -439,15 +439,15 @@ export default { ...@@ -439,15 +439,15 @@ export default {
listRole(this.queryParams).then( listRole(this.queryParams).then(
response => { response => {
this.roleList = [] this.roleList = []
// this.roleList = response.rows this.roleList = response.rows
response.rows.forEach(item => { /* response.rows.forEach(item => {
if (item.businessId === 1 || item.businessId === 2 || item.businessId === 108) { if (item.businessId === 1 || item.businessId === 2 || item.businessId === 108) {
this.roleList.push(item) this.roleList.push(item)
} }
}) })*/
// this.roleList = response.rows // this.roleList = response.rows
// this.total = response.total this.total = response.total
this.total = this.roleList.length // this.total = this.roleList.length
this.loading = false this.loading = false
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment