liujq 3 năm trước cách đây
mục cha
commit
dcce5c5cad

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-56ce15b9.861b8995.js


+ 16 - 5
src/views/room/clickRecord.vue

@@ -16,16 +16,23 @@
       @add="openPopup"
       :operationsDefaultLength="5"
     />
+    <popup-edit
+      :isShow="isDtlShow"
+      :curObj="curObj"
+      @close="closePopup"
+    />
   </div>
 </template>
 <script>
 import { arrToObj } from '@/utils'
 import SearchForm from './components/searchForm/ClickRecord'
+import PopupEdit from './components/popup/IndexEdit'
 import baseTable from '_m/baseTable.js'
 export default {
   name: 'index',
   components: {
     SearchForm,
+    PopupEdit,
   },
   provide() {
     return {
@@ -57,9 +64,15 @@ export default {
         { label: '客户头像', prop: 'avatar', type: 'img' },
         { label: '点击类型', prop: 'click_type', type: 'flag', flags: arrToObj(this.$dictData.contact_click_type) },
         // { label: '目标类型', prop: 'target_type', type: 'flag', flags: arrToObj(this.$dictData.contact_target_type) },
+        { label: '联系ID', prop: 'target_id', },
         { label: '置业经理', prop: 'sale_name' },
-        // { label: '置业经理头像', prop: 'sale_avatar', type: 'img' },
+        { label: '置业经理头像', prop: 'sale_avatar', type: 'img' },
         { label: '创建时间', prop: 'create_at' },
+        { label: '操作', width: 120, type: 'handle2', operations:
+          [
+            { label: '查看咨询房源', func: this.openPopup, btnType: 'primary' },
+          ]
+        }
       ]
     }
   },
@@ -85,10 +98,8 @@ export default {
       }, null, true)
     },
     openPopup(row) {
-      if (row && row.id) {
-        this.curObj = row
-      } else {
-        this.curObj = {}
+      this.curObj = {
+        id: row.target_id
       }
       this.isDtlShow = true
     },

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác