Procházet zdrojové kódy

Merge branch 'master' of http://git.cc-lotus.info/Consumables/admin-cms-two

zs před 2 roky
rodič
revize
6e297dc8cb

+ 0 - 3
src/views/menu/apply/index.vue

@@ -31,19 +31,16 @@ export default {
   },
   data: function () {
     return {
-      // 数据项
       fields: [
         { label: '联系人', prop: 'user_name', filter: true },
         { label: '联系电话', prop: 'user_phone', filter: true },
         { label: '审核时间', prop: 'examine_date' },
         { label: '审核状态', prop: 'status_name' },
       ],
-      //操作项
       opera: [
         { label: '详情', method: 'view' },
         { label: '领取确定', method: 'receive', type: 'success', confirm: true, display: (i) => i.status == '2' },
       ],
-      //表格数据
       list: [
         {
           id: '111',

+ 4 - 7
src/views/menu/apply_examine/index.vue

@@ -48,15 +48,12 @@ export default {
   },
   data: function () {
     return {
-      // 数据项
       fields: [
         { label: '联系电话', prop: 'user_phone', filter: true },
         { label: '审核时间', prop: 'examine_date', filter: true },
         { label: '审核状态', prop: 'status_name', filter: 'select' },
       ],
-      //操作项
       opera: [{ label: '详情', method: 'view' }],
-      //表格数据
       list: [
         {
           id: '111',
@@ -91,14 +88,14 @@ export default {
       this.$set(this, `form`, data);
       this.dialog = { title: '详细信息', show: true, type: '2', widths: '40%' };
     },
-    //导出数据
-    async toExport() {
-      console.log(this.selected);
-    },
     // 多选
     handleSelect(data) {
       this.$set(this, `selected`, data);
     },
+    //导出数据
+    async toExport() {
+      console.log(this.selected);
+    },
     // 提交保存,创建/修改
     async toSave({ data }) {
       console.log(data);