|
|
@@ -57,6 +57,29 @@ Page({
|
|
|
});
|
|
|
this.getList()
|
|
|
this.getClueArea()
|
|
|
+ _Http.basic({
|
|
|
+ "classname": "sysmanage.develop.optiontype.optiontype",
|
|
|
+ "method": "optiontypeselect",
|
|
|
+ "content": {
|
|
|
+ "typename": "cluesourcesift"
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ console.log("获取来源", res)
|
|
|
+ if (res.code == '1') {
|
|
|
+ this.data.filtratelist.push({
|
|
|
+ label: "来源",
|
|
|
+ index: null,
|
|
|
+ showName: "value", //显示字段
|
|
|
+ valueKey: "cluesource", //返回Key
|
|
|
+ selectKey: "value", //传参 代表选着字段 不传参返回整个选择对象
|
|
|
+ value: "", //选中值
|
|
|
+ list: res.data
|
|
|
+ })
|
|
|
+ this.setData({
|
|
|
+ filtratelist: this.data.filtratelist
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
/* 获取列表 */
|
|
|
getList(init = false) {
|