src/pages/library/components/baseList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/pages/library/components/carList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/pages/library/components/personList.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/pages/library/components/baseList.vue
@@ -12,13 +12,13 @@ class="el-icon-circle-plus-outline ml10" style="font-size:20px;color:#3D68E1;" @click.stop="add('sync')" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" ></i> <span class="ml5" style="font-size:14px;color:#3D68E1;" @click.stop="add('sync')" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" >新增</span> </template> <div class="max-height"> @@ -52,14 +52,14 @@ <span class="iconfont iconbianji iconStyle1" @click.stop="edit(item,'sync')" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" ></span> </el-tooltip> <el-tooltip content="删除" placement="top" popper-class="atooltip"> <span class="iconfont iconshanchu iconStyle1" style="color:#E74C3C;" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" @click.stop="deleteBase(item.id)" ></span> </el-tooltip> @@ -80,13 +80,13 @@ class="el-icon-circle-plus-outline ml10" style="font-size:20px;color:#3D68E1;" @click.stop="add('local')" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" ></i> <span class="ml5" style="font-size:14px;color:#3D68E1;" @click.stop="add('local')" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" >新增</span> </template> <div class="max-height"> @@ -118,14 +118,14 @@ <span class="iconfont iconbianji iconStyle1" @click.stop="edit(item,'local')" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" ></span> </el-tooltip> <el-tooltip content="删除" placement="top" popper-class="atooltip"> <span class="iconfont iconshanchu iconStyle1" style="color:#E74C3C;" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" @click.stop="deleteBase(item.id)" ></span> </el-tooltip> @@ -222,7 +222,7 @@ }, isDisabled(item) { var flag = true if (this.isShow('videoTable:edit')) { if (this.isShow('library:set')) { if (item.endTime == "") { flag = false } else { @@ -329,7 +329,7 @@ }, // 左侧底库生效开关是否启用判断 // isDisa(data) { // if (!this.isShow('videoTable:edit')) { // if (!this.isShow('library:set')) { // return true // } else { // return false src/pages/library/components/carList.vue
@@ -40,13 +40,13 @@ <el-button size="small" type="primary" @click="handleSearch">搜索</el-button> </el-col> <el-col :offset="8" :span="3"> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-button size="small" class="ml10" type="danger" @click="deleteBatch" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" >批量删除</el-button> </fTemplate> </el-col> @@ -196,7 +196,6 @@ tooltip-effect="dark" style="width: 100%;" :fit="true" :default-sort="{prop: 'createTime', order: 'descending'}" @selection-change="handleSelectionChange" :header-cell-style="{background:'#f8f8f8',color:'#222222'}" @@ -272,7 +271,7 @@ <el-switch v-model="scope.row.enable" :active-value="1" :disabled="!isShow('videoTable:edit')" :disabled="!isShow('library:set')" :inactive-value="0" @change="enable(scope.row)" ></el-switch> @@ -280,7 +279,7 @@ </el-table-column> <el-table-column label="操作" min-width="200" align="center"> <template slot-scope="scope"> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="编辑" placement="top" popper-class="atooltip"> <span class="iconfont iconbianji iconStyle1" @@ -292,7 +291,7 @@ <el-tooltip content="查找此人" placement="top" popper-class="atooltip"> <span class="iconfont iconsousuoren iconStyle1" @click="tosearch(scope.row)"></span> </el-tooltip> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="复制" placement="top" popper-class="atooltip"> <span class="iconfont iconfuzhi iconStyle1" @@ -301,7 +300,7 @@ ></span> </el-tooltip> </fTemplate> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="移动" placement="top" popper-class="atooltip"> <span class="iconfont iconyidongzhi iconStyle1" @@ -311,7 +310,7 @@ ></span> </el-tooltip> </fTemplate> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="删除" placement="top" popper-class="atooltip"> <span class="iconfont iconshanchu iconStyle1" src/pages/library/components/personList.vue
@@ -42,13 +42,13 @@ <el-button size="small" type="primary" @click="handleSearch">搜索</el-button> </el-col> <el-col :offset="11" :span="3"> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-button size="small" class="ml10" type="danger" @click="deleteBatch" v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" >批量删除</el-button> </fTemplate> </el-col> @@ -59,7 +59,7 @@ limitSize uploadBtntext="上传照片" uploadBtnIcon v-if="isShow('videoTable:edit')" v-if="isShow('library:set')" uploadBtnSize="small" :isDrag="true" @addFilesBaBackFN="changeDialog" @@ -135,7 +135,7 @@ <el-switch v-model="scope.row.enable" :active-value="1" :disabled="!isShow('videoTable:edit')" :disabled="!isShow('library:set')" :inactive-value="0" @change="enable(scope.row)" ></el-switch> @@ -143,7 +143,7 @@ </el-table-column> <el-table-column label="操作" min-width="200" align="center"> <template slot-scope="scope"> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="编辑" placement="top" popper-class="atooltip"> <span class="iconfont iconbianji iconStyle1" @@ -158,7 +158,7 @@ <el-tooltip content="查看详情" placement="top" popper-class="atooltip"> <span class="iconfont iconsousuoren iconStyle1" @click="showDetail(scope.row)"></span> </el-tooltip> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="复制" placement="top" popper-class="atooltip"> <span class="iconfont iconfuzhi iconStyle1" @@ -167,7 +167,7 @@ ></span> </el-tooltip> </fTemplate> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="移动" placement="top" popper-class="atooltip"> <span class="iconfont iconyidongzhi iconStyle1" @@ -177,7 +177,7 @@ ></span> </el-tooltip> </fTemplate> <fTemplate authority="videoTable:edit"> <fTemplate authority="library:set"> <el-tooltip content="删除" placement="top" popper-class="atooltip"> <span class="iconfont iconshanchu iconStyle1" @@ -1289,6 +1289,7 @@ } .avatar-uploader { margin: auto; max-width: 150px; min-width: 150px; min-height: 152px;