瀏覽代碼

数据展示

zhaoxiaohai 2 年之前
父節點
當前提交
528b60fe5b

+ 6 - 9
pages/annunciate/modules/displayData.js → components/My_displayData/displayData.js

@@ -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 {

+ 0 - 0
pages/annunciate/modules/displayData.json → components/My_displayData/displayData.json


+ 0 - 0
pages/annunciate/modules/displayData.scss → components/My_displayData/displayData.scss


+ 0 - 1
pages/annunciate/modules/displayData.wxml → components/My_displayData/displayData.wxml

@@ -59,5 +59,4 @@
         </view>
     </view>
 </My_card>
-
 <van-action-sheet show="{{ actionShow }}" actions="{{ actions }}" cancel-text="取消" bind:close="onClose" bind:cancel='onClose' bind:select='handleCallOut' />