|
@@ -19,7 +19,6 @@ var productList = new Vue({
|
|
|
listRecord: 0,
|
|
|
pageInput: '1',
|
|
|
source:'www',
|
|
|
- paramsIndex:1,
|
|
|
params: {
|
|
|
id:'',
|
|
|
identity:GLOBAL_USER_IDENTITY,
|
|
@@ -97,17 +96,6 @@ var productList = new Vue({
|
|
|
if (pageNum <= this.pageTotal) {
|
|
|
this.params.pageNum = pageNum;
|
|
|
this.getproductList();
|
|
|
- // switch (this.paramsIndex) {
|
|
|
- // case 1:
|
|
|
- // this.getproductList();
|
|
|
- // break;
|
|
|
- // case 1:
|
|
|
- // this.getsmallList();
|
|
|
- // break;
|
|
|
- // case 1:
|
|
|
- // this.gettinyList();
|
|
|
- // break;
|
|
|
- // }
|
|
|
}
|
|
|
},
|
|
|
toSortList: function (sortField, sortType) {
|
|
@@ -115,17 +103,6 @@ var productList = new Vue({
|
|
|
this.params.sortType = sortType;
|
|
|
this.params.pageNum = 1;
|
|
|
this.getproductList();
|
|
|
- // switch (this.paramsIndex) {
|
|
|
- // case 1:
|
|
|
- // this.getproductList();
|
|
|
- // break;
|
|
|
- // case 1:
|
|
|
- // this.getsmallList();
|
|
|
- // break;
|
|
|
- // case 1:
|
|
|
- // this.gettinyList();
|
|
|
- // break;
|
|
|
- // }
|
|
|
},
|
|
|
removesmall:function(){//删除二级
|
|
|
this.smallName = '';
|
|
@@ -134,8 +111,8 @@ var productList = new Vue({
|
|
|
this.tinyName = ''
|
|
|
},
|
|
|
checkedClasslyFn:function(item,index){
|
|
|
- this.paramsIndex = index;
|
|
|
- this.idType = index;
|
|
|
+ this.params.pageNum = 1;
|
|
|
+ this.params.idType = index;
|
|
|
switch (index) {
|
|
|
case 1://选择1集分类查询
|
|
|
this.bigName=item.name;
|