Commit 49cb8a5e authored by zhengke's avatar zhengke

op 版面调整

parent 435b0ca7
......@@ -137,7 +137,7 @@
@click="onTypeChangeHandler(item.type,1)">
{{item.typeName}}
</div>
<el-dropdown trigger="click">
<el-dropdown trigger="click" v-if="parmas&&!parmas.temptype">
<div class="MarketButton active active2 cursor-pointer">
<span>版面</span>
<el-icon class="el-icon--right reactive" style="top: 2px;left: 5px;"><arrow-down /></el-icon>
......@@ -296,6 +296,9 @@ const queryColor = ref({
Code: '',
})
const parmas = ref({} as any)
parmas.value = router.currentRoute.value.params
// 版型 横版 竖版
const SwitchingVersion = (row: Object) =>{
queryObj.TempType = row.Id
......@@ -377,8 +380,7 @@ const search = () => {
* 获取模板市场分页列表
*/
const queryTemplateBySearchHandler = async () => {
const parmas = router.currentRoute.value.params
if(parmas.temptype) queryObj.TempType = parseInt(parmas.temptype.toString())
if(parmas.value.temptype) queryObj.TempType = parseInt(parmas.value.temptype.toString())
loading.value = true
try {
if(queryObj.pageIndex == 1) dataList.value =[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment