|
@@ -12,7 +12,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<cpEdit class="mt-10" v-if="tool.checkAuth($route.name,'update')" :formPath="formPath" :oldFormPath="oldFormPath" :data="editData" btnType="default" @onAddSuccess="onSuccess" v-on="$listeners"></cpEdit>
|
|
<cpEdit class="mt-10" v-if="tool.checkAuth($route.name,'update')" :formPath="formPath" :oldFormPath="oldFormPath" :data="editData" btnType="default" @onAddSuccess="onSuccess" v-on="$listeners"></cpEdit>
|
|
|
<!-- 打印 -->
|
|
<!-- 打印 -->
|
|
|
- <reportCenter size="mini" position="detail" class="inline-16 mt-10" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163">
|
|
|
|
|
|
|
+ <reportCenter size="mini" position="detail" class="inline-16 mt-10" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163" :btnName="btnNameReport">
|
|
|
<template v-slot:print="scope2">
|
|
<template v-slot:print="scope2">
|
|
|
<el-button @click="printBtn($route.query.id,scope2.data)" type="text" size="mini">{{$t('打 印')}}</el-button>
|
|
<el-button @click="printBtn($route.query.id,scope2.data)" type="text" size="mini">{{$t('打 印')}}</el-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -139,7 +139,7 @@ import {mapGetters} from 'vuex'
|
|
|
export default {
|
|
export default {
|
|
|
props:['titleText','mainAreaData','turnPageId','delApiId','idname','ownertable','formPath','oldFormPath','editData','tags','tabs','statusCheck','pageChange','justsaler',
|
|
props:['titleText','mainAreaData','turnPageId','delApiId','idname','ownertable','formPath','oldFormPath','editData','tags','tabs','statusCheck','pageChange','justsaler',
|
|
|
'mainData','status','typeTask','isGroup','isBatch','modelName','isDelete','column','attachmentDisabled','disabled','isGoDetail','detailPath','nowDetailPath','detailId',
|
|
'mainData','status','typeTask','isGroup','isBatch','modelName','isDelete','column','attachmentDisabled','disabled','isGoDetail','detailPath','nowDetailPath','detailId',
|
|
|
- 'isAdmin'],
|
|
|
|
|
|
|
+ 'isAdmin','btnNameReport'],
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
drawer:false,
|
|
drawer:false,
|