mirror of
https://gitee.com/maimengcloud/xm-ui-web.git
synced 2025-12-30 10:12:26 +00:00
优化导入产品、项目等
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user