Commit 85ba8afd by member

链接小工具

parent 14d2d6e6
......@@ -57,7 +57,7 @@ export default {
return {
currentPage: 1,
activeIndex: -1,
pageSize: 5,
pageSize: 6,
total: 0,
giftVal: null,
giftOptions: [],
......@@ -96,6 +96,7 @@ export default {
},
handleChange() {
this.currentPage = 1;
this.getData();
},
......@@ -106,7 +107,11 @@ export default {
currentPage: this.currentPage,
pageSize: this.pageSize,
category: this.giftVal,
giftName: this.giftName
giftName: this.giftName,
changeType: -1,
releaseType: -1,
showStatus: -1,
porHot: -1
};
this.axios.post(`${this.baseUrl}/api-integral-mall/page-gift`, qs.stringify(params))
......@@ -127,6 +132,7 @@ export default {
},
handleSearch() {
this.currentPage = 1;
this.getData();
}
},
......
......@@ -35,7 +35,7 @@ components: {linkId
<el-dialog :class="activeName == 'first'? 'min-1026':'min-720'"
title="链接小工具"
:visible.sync="mylinkToolsVisible"
:before-close="handleClose">
:modal-append-to-body="false">
<!-- 链接类型 -->
<div class="links-types">
<label class="types-title">链接类型</label>
......@@ -122,7 +122,7 @@ components: {linkId
<label class="h5link-title">网址</label>
<el-input v-model="h5linkObj.url" placeholder="请输入网址"></el-input><a class="h5link-help" href="http://doc.demogic.com/doc/index.php?s=/41&page_id=441" target="_blank">【帮助文档】请联系公司技术人员查看文档配置标准链接</a>
</div>
<div class="h5link-row">
<div class="h5link-row" v-if="false">
<label class="h5link-title h5link-dynamic-title">动态参数(选填)</label>
<div class="h5-table">
<table cellspacing="0" cellpadding="0" border="0" class=" el-table el-table__header">
......@@ -1268,27 +1268,12 @@ export default {
// 商品分类 goodsCategorySelect
goodsCategorySelect(node, id) {
var that = this
console.log(node, id, that.threeLevelValue)
// 调用
// that.selectLinkItem()
},
// --------------------------------------------
// 关闭
handleClose(done) {
var that = this
that.$confirm('确认关闭?')
.then(_ => {
done();
that.mylinkToolsVisible = false;
that.$emit('linkSelect')
})
.catch(_ => {
console.log('取消关闭')
});
},
// 分页
linkSizeChange(val) {
var that = this
......
<template>
<!-- 链接小工具 -->
<div class="link-tools-contain">
<el-dialog :class="activeName == 'first'? 'min-1026':'min-720'"
title="链接小工具"
:visible.sync="mylinkToolsVisible"
:before-close="handleClose">
:modal-append-to-body="false">
<!-- 链接类型 -->
<div class="links-types">
<label class="types-title">链接类型</label>
......@@ -92,7 +91,7 @@
<label class="h5link-title">网址</label>
<el-input v-model="h5linkObj.url" placeholder="请输入网址"></el-input><a class="h5link-help" href="http://doc.demogic.com/doc/index.php?s=/41&page_id=441" target="_blank">【帮助文档】请联系公司技术人员查看文档配置标准链接</a>
</div>
<div class="h5link-row">
<div class="h5link-row" v-if="false">
<label class="h5link-title h5link-dynamic-title">动态参数(选填)</label>
<div class="h5-table">
<table cellspacing="0" cellpadding="0" border="0" class=" el-table el-table__header">
......@@ -1238,27 +1237,12 @@ export default {
// 商品分类 goodsCategorySelect
goodsCategorySelect(node, id) {
var that = this
console.log(node, id, that.threeLevelValue)
// 调用
// that.selectLinkItem()
},
// --------------------------------------------
// 关闭
handleClose(done) {
var that = this
that.$confirm('确认关闭?')
.then(_ => {
done();
that.mylinkToolsVisible = false;
that.$emit('linkSelect')
})
.catch(_ => {
console.log('取消关闭')
});
},
// 分页
linkSizeChange(val) {
var that = this
......
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