liujq 4 年之前
父节点
当前提交
d35b5f5b2a

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


+ 0 - 0
dist/static/css/chunk-29ae0854.eb177a36.css → dist/static/css/chunk-797afc06.eb177a36.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.89be33e7.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-29ae0854.207b58ae.js


+ 1 - 1
dist/static/js/chunk-2d0ccfc9.5ae54dc1.js

@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ccfc9","chunk-2d0ccfc9"],{"4fef":function(t,a,e){"use strict";e.r(a);var i=e("ade3"),c=e("5530");e("1276"),e("ac1f"),e("a9e3"),a["default"]={data:function(){return{listLoading:!1,tableData:[],currentPage:1,pageSize:10,totalRecords:1,listConfig:{},operations:[]}},created:function(){var t=this;this.$nextTick((function(){t.noCreated||t.fetchData()}))},methods:{searchHandle:function(t){this.currentPage=1,this.searchForm=t,this.fetchData()},sizeChange:function(t){this.pageSize=t,this.currentPage=1,this.fetchData()},pageHandle:function(t){this.currentPage=t,this.fetchData()},sortChange:function(t){this.currentPage=1;var a=Object(c["a"])({},this.searchForm);"ascending"===t.order?a.sort=JSON.stringify(Object(i["a"])({},t.prop,"asc")):a.sort=JSON.stringify(Object(i["a"])({},t.prop,"desc")),this.fetchData(a)},fetchData:function(t){var a=this;if(this.apiStr){var e={page:this.currentPage,page_size:this.pageSize};t?e=Object(c["a"])(Object(c["a"])({},e),t):this.searchForm&&(e=Object(c["a"])(Object(c["a"])({},e),this.searchForm)),this.getDataBefore&&this.getDataBefore(e),this.listLoading=!0;var i=this.apiStr.split(".");this.$api[i[0]][i[1]](e).then((function(t){return 1===a.currentPage&&(a.pageSize=t.page_size||1),a.totalRecords=t.total?Number(t.total):0,a.tableData=t.list||[],a.listLoading=!1,a.getMoreData&&a.getMoreData(t,e),t})).catch((function(t){a.listLoading=!1}))}}}}}}]);
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ccfc9","chunk-2d0ccfc9"],{"4fef":function(t,a,e){"use strict";e.r(a);var i=e("ade3"),c=e("5530");e("1276"),e("ac1f"),e("a9e3");a["default"]={data:function(){return{listLoading:!1,tableData:[],currentPage:1,pageSize:10,totalRecords:1,listConfig:{},operations:[]}},created:function(){var t=this;this.$nextTick((function(){t.noCreated||t.fetchData()}))},methods:{searchHandle:function(t){this.currentPage=1,this.searchForm=t,this.fetchData()},sizeChange:function(t){this.pageSize=t,this.currentPage=1,this.fetchData()},pageHandle:function(t){this.currentPage=t,this.fetchData()},sortChange:function(t){this.currentPage=1;var a=Object(c["a"])({},this.searchForm);"ascending"===t.order?a.sort=JSON.stringify(Object(i["a"])({},t.prop,"asc")):a.sort=JSON.stringify(Object(i["a"])({},t.prop,"desc")),this.fetchData(a)},fetchData:function(t){var a=this;if(this.apiStr){var e={page:this.currentPage,page_size:this.pageSize};t?e=Object(c["a"])(Object(c["a"])({},e),t):this.searchForm&&(e=Object(c["a"])(Object(c["a"])({},e),this.searchForm)),this.getDataBefore&&this.getDataBefore(e),this.listLoading=!0;var i=this.apiStr.split(".");this.$api[i[0]][i[1]](e).then((function(t){return 1===a.currentPage&&(a.pageSize=t.page_size||1),a.totalRecords=t.total?Number(t.total):0,a.tableData=t.list||[],a.listLoading=!1,a.getMoreData&&a.getMoreData(t,e),t})).catch((function(t){a.listLoading=!1}))}}}}}}]);

文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-797afc06.a6f5736a.js


+ 6 - 6
src/views/house/components/popup/DiscountGroupJoin.vue

@@ -60,12 +60,12 @@ export default {
         { label: '昵称', prop: 'nickname'},
         { label: '手机号', prop: 'phone' },
         { label: '助力时间', prop: 'create_at' },
-        { label: '操作', width: 120, type: 'handle2', operations:
-          [
-            // { label: '编辑', func: this.openLEPopup, btnType: 'primary' },
-            // { label: '删除', func: this.delHandle, btnType: 'danger' },
-          ]
-        }
+        // { label: '操作', width: 120, type: 'handle2', operations:
+        //   [
+        //     // { label: '编辑', func: this.openLEPopup, btnType: 'primary' },
+        //     // { label: '删除', func: this.delHandle, btnType: 'danger' },
+        //   ]
+        // }
       ]
     }
   },

+ 41 - 0
src/views/house/components/searchForm/DiscountGroup.vue

@@ -0,0 +1,41 @@
+<template>
+  <base-form slot="content" ref="ruleForm" :data="searchData">
+    <div slot="footer">
+      <el-button :loading="listLoading" icon="el-icon-search" class="xl-form-btn bgc1" @click="searchHandle">查询</el-button>
+      </div>
+  </base-form>
+</template>
+<script>
+export default {
+  props: {
+    listLoading: Boolean
+  },
+  inject: ['parentData'],
+  mixins,
+  data() {
+    return {
+      searchData: []
+    }
+  },
+  mounted () {
+    this.getDef()
+  },
+  methods: {
+    getDef (str) {
+      let params = { ...this.$refs.ruleForm.baseForm }
+      this.searchData = [
+        { label: '所属楼盘', key: 'estate_id', type: 'selectRemote',
+          remoteParams: { skey: 'estate_name', api: `house.admestatelist`, opKey: 'estate_name', opVal: 'id' },
+        },
+        { label: 'hash', key: 'hash' },
+      ]
+      this.setDefaultValue(params, 'searchData')
+    },
+    searchHandle() {
+      const oldform = this.$refs.ruleForm.baseForm
+      const newForm = { ...oldform }
+      this.$emit('change', newForm)
+    }
+  }
+}
+</script>

+ 1 - 1
src/views/house/discountGroup.vue

@@ -21,7 +21,7 @@
 </template>
 <script>
 import { arrToObj } from '@/utils'
-import SearchForm from './components/searchForm/Del'
+import SearchForm from './components/searchForm/DiscountGroup'
 import DgJoin from './components/popup/DiscountGroupJoin'
 import baseTable from '_m/baseTable.js'
 export default {

部分文件因为文件数量过多而无法显示