|
|
@@ -20,7 +20,10 @@ Page({
|
|
|
id: "sort"
|
|
|
}],
|
|
|
classShow: false,
|
|
|
- classActions: [],
|
|
|
+ classActions: [{
|
|
|
+ name:'全部',
|
|
|
+ index:''
|
|
|
+ }],
|
|
|
content: {
|
|
|
"isExport":0,
|
|
|
"nocache": true,
|
|
|
@@ -44,7 +47,7 @@ Page({
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
this.getList();
|
|
|
- this.getTypeList()
|
|
|
+ // this.getTypeList()
|
|
|
},
|
|
|
/* 获取列表 */
|
|
|
getList(init = false, data) {
|
|
|
@@ -197,10 +200,20 @@ Page({
|
|
|
detail
|
|
|
}) {
|
|
|
if (this.data.content.type == detail.index) return this.classClose();
|
|
|
- this.setData({
|
|
|
- "content.where.status": detail.index,
|
|
|
- 'navList[0].label': detail.name
|
|
|
- })
|
|
|
+ if (detail.index == '待分配') {
|
|
|
+ this.setData({
|
|
|
+ "content.where.allocationstatus": detail.index,
|
|
|
+ "content.where.status": '',
|
|
|
+ 'navList[0].label': detail.name
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.setData({
|
|
|
+ "content.where.status": detail.index,
|
|
|
+ "content.where.allocationstatus":'',
|
|
|
+ 'navList[0].label': detail.name
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
this.classClose();
|
|
|
this.getList(true)
|
|
|
},
|