230320a303 преди 1 година
родител
ревизия
2e83ff7fc0

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.html


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/chunk-8d5d71ea.ddb42d86.css


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.23f3d861.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/chunk-1e7d63e3.55eb8f97.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/chunk-8d5d71ea.d9aab7be.js


+ 3 - 0
src/views/activity/components/popup/IndexEdit.vue

@@ -45,6 +45,7 @@ export default {
   methods: {
     getDef() {
       let params = { ...this.curObj }
+      if (!params.max_enroll) params.max_enroll = 0
       this.formData = [
         { label: '活动楼盘', key: 'estate_id', rules: 1, type: 'selectRemote', changeHandle: this.estateChange,
           remoteParams: { skey: 'estate_name', api: `house.admestatelist`, opKey: 'estate_name', opVal: 'id' },
@@ -56,6 +57,8 @@ export default {
         { label: '分类', key: 'activity_type', rules: 1, type: 'select', options: this.$dictData.activity_type},
         { label: '群聊', key: 'image', type: 'uploads' },
         { label: '备注', key: 'remark', rules: 1, type: 'textarea'},
+        { label: '需要报名', key: 'is_sign', type: 'select', options: this.$dictData.sys_yesno},
+        { label: '上限人数', key: 'max_enroll'},
       ]
       this.setDefaultValue(params)
     },

+ 8 - 1
src/views/activity/dtl.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-    <search-form/>
+    <search-form @change="searchHandle2"/>
     <table-list
       :listLoading="listLoading"
       :data="tableData2"
@@ -59,6 +59,7 @@ export default {
     if (query.t == 2) {
       this.listConfig = {
         rows: [
+          { label: '签到时间', prop: 'sign_at' },
           { label: '公司/门店', prop: 'info1' },
           { label: '名字', prop: 'info2' },
           { label: '电话', prop: 'info3' },
@@ -69,6 +70,7 @@ export default {
     } else {
       this.listConfig = {
         rows: [
+          { label: '签到时间', prop: 'sign_at' },
           { label: '抖音名', prop: 'info1' },
           { label: '抖音账号', prop: 'info2' },
           { label: '姓名', prop: 'info3' },
@@ -109,6 +111,11 @@ export default {
     }
   },
   methods: {
+    searchHandle2 (params) {
+      // console.log(params)
+      this.searchForm = {...this.searchForm, ...params}
+      this.fetchData()
+    },
     delHandle (row) {
       const msgHtml = `确定要删除此字典吗?`
       this.$msg(msgHtml, 'confirm', ()=> {

Някои файлове не бяха показани, защото твърде много файлове са промени