优化导入产品、项目等

This commit is contained in:
陈裕财
2025-04-16 17:02:11 +08:00
parent 13a0b5903a
commit e1907a36ab

View File

@@ -34,6 +34,7 @@
<el-button plain ref="tableOrCardBtn" v-if="showType=='table'" icon="Menu" @click="showType='card'" title="切换成卡片模式"/>
<mdp-select width="250px" v-model="filters.queryScope" :options="[
{id:'branchId',name:'本企所有的产品'+(isTpl?'模板':'')},
{id:'showOut9', name: '全网公开的产品'+(isTpl?'模板':'') },
{id:'compete',name:'我相关的产品'+(isTpl?'模板':'')},
{id:'productId',name:'按产品编号精确查找'},
{id:'createUserid',name:'我创建的'},
@@ -609,9 +610,19 @@ import { MdpTableMixin } from '@/components/mdp-ui/mixin/MdpTableMixin.js'
return 0
}
},
goToTplList(){
this.$router.push({name:'XmProductTplMng'})
}
goToTplList(){
this.$router.push({name:'XmProductTplMng'})
},
//获取列表 XmProject xm_project
preQueryParamCheck(params) {
if(this.isTpl=='1'){
params.isTpl='1'
}
if(this.filters.queryScope=='showOut9'){
params.showOut='9'
}
return true
},
},//end methods
components: {
'xm-product-add':XmProductAdd,