Merge remote-tracking branch 'origin/thirdStage' into thirdStage
This commit is contained in:
@@ -193,7 +193,7 @@
|
|||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||||
<a @click="handleDetail(record)" class="table-ope-btn" v-has="'enterpriseStandardLibrary:plan:detail'">{{ $t('view') }}</a>
|
<a @click="handleDetail(record)" class="table-ope-btn" v-has="'enterpriseStandardLibrary:plan:detail'">{{ $t('view') }}</a>
|
||||||
<a-divider type="vertical" />
|
<a-divider v-if="isHasPermission('enterpriseStandardLibrary:plan:detail') && record.allowDel && isHasPermission('enterpriseStandardLibrary:plan:delete')" type="vertical" />
|
||||||
<a @click="handleDelete(record.id)" class="table-ope-btn" v-if="record.allowDel" v-has="'enterpriseStandardLibrary:plan:delete'">{{ $t('delete') }}</a>
|
<a @click="handleDelete(record.id)" class="table-ope-btn" v-if="record.allowDel" v-has="'enterpriseStandardLibrary:plan:delete'">{{ $t('delete') }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -207,6 +207,7 @@ import { queryDepartTreeList } from '@/api/api'
|
|||||||
import JTable from '@/components/jero/JTable'
|
import JTable from '@/components/jero/JTable'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
import { downFile } from '../../../api/manage'
|
import { downFile } from '../../../api/manage'
|
||||||
|
import { isHasPermission } from '@/utils/hasPermission'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'PlanList',
|
name: 'PlanList',
|
||||||
@@ -424,6 +425,7 @@ export default {
|
|||||||
this.currentDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
|
this.currentDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
isHasPermission,
|
||||||
// 获取组织机构树
|
// 获取组织机构树
|
||||||
getSysCategoryTree () {
|
getSysCategoryTree () {
|
||||||
queryDepartTreeList().then((res) => {
|
queryDepartTreeList().then((res) => {
|
||||||
|
|||||||
@@ -85,6 +85,6 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="less">
|
||||||
|
@import '~@assets/less/common.less';
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user