[update] 修改文档库
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
:scroll="{x: '100%'}"
|
:scroll="{x: '100%'}"
|
||||||
@change="tableOnChange">
|
@change="tableOnChange">
|
||||||
<!-- 在混入里已经过滤过没有权限的按钮了 -->
|
<!-- 在混入里已经过滤过没有权限的按钮了 -->
|
||||||
<template v-slot:operation="{text, record}">
|
<template slot="operation" slot-scope="{text, record}">
|
||||||
<a v-for="(operation, index) in operationList.slice(0, operateMaxNum)" :key="index" @click="operationClick(operation,record)">
|
<a v-for="(operation, index) in operationList.slice(0, operateMaxNum)" :key="index" @click="operationClick(operation,record)">
|
||||||
<template v-if="operation.text === $t('docLibrary.cancelCollection')">
|
<template v-if="operation.text === $t('docLibrary.cancelCollection')">
|
||||||
{{ !record.collectFlag || record.collectFlag === '0' ? $t('docLibrary.collection') : $t('docLibrary.cancelCollection')
|
{{ !record.collectFlag || record.collectFlag === '0' ? $t('docLibrary.collection') : $t('docLibrary.cancelCollection')
|
||||||
@@ -114,6 +114,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import '@assets/less/common.less'
|
||||||
// 搜索组件
|
// 搜索组件
|
||||||
import Search from '@/components/customField/Search'
|
import Search from '@/components/customField/Search'
|
||||||
// 新增、编辑组件
|
// 新增、编辑组件
|
||||||
@@ -530,5 +531,4 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@import '~@assets/less/common.less';
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user