|
@@ -1,8 +1,5 @@
|
|
|
const _Http = getApp().globalData.http;
|
|
|
Component({
|
|
|
- /**
|
|
|
- * 组件的属性列表
|
|
|
- */
|
|
|
properties: {
|
|
|
ptype: {
|
|
|
type: String,
|
|
@@ -27,7 +24,6 @@ Component({
|
|
|
},
|
|
|
lifetimes: {
|
|
|
ready() {
|
|
|
- console.log("id", this.data.dataId)
|
|
|
let params = {
|
|
|
"classname": "saletool.notice.data", //默认通告
|
|
|
"method": "getSaleareaInfo", //默认经销商
|
|
@@ -42,20 +38,21 @@ Component({
|
|
|
this.setData({
|
|
|
active: this.data.dataAuth
|
|
|
})
|
|
|
- }
|
|
|
+ };
|
|
|
this.setData({
|
|
|
params
|
|
|
})
|
|
|
this.getData();
|
|
|
},
|
|
|
},
|
|
|
+ pageLifetimes: {
|
|
|
+ show: function () {
|
|
|
+ console.log(31321321)
|
|
|
+ }
|
|
|
+ },
|
|
|
options: {
|
|
|
addGlobalClass: true
|
|
|
},
|
|
|
-
|
|
|
- /**
|
|
|
- * 组件的方法列表
|
|
|
- */
|
|
|
methods: {
|
|
|
onChange(e) {
|
|
|
let {
|