WIN-2308041133\Administrator преди 1 месец
родител
ревизия
24d9d84247
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      application/admin/lang/zh-cn/wechat/plan_record.php
  2. 1 1
      application/api/controller/Lave.php
  3. 1 1
      public/assets/js/backend/wechat/plan_record.js

+ 1 - 1
application/admin/lang/zh-cn/wechat/plan_record.php

@@ -10,7 +10,7 @@ return [
     'Is_open 0'   => '不公开',
     'Is_open 1'   => '公开',
     'Is_signing'     => '是否解约',
-    'Is_signing -1'   => '未支付',
+    'Is_signing 2'   => '未支付',
     'Is_signing 0'   => '签约中',
     'Is_signing 1'   => '已解约',
     'Createtime' => '创建时间',

+ 1 - 1
application/api/controller/Lave.php

@@ -207,7 +207,7 @@ class Lave extends Api
                 'cid'=>$where['cid'],
                 'uid'=>$where['user_id'],
                 'price'=>$where['amount'],
-                'is_signing'=>-1,
+                'is_signing'=>2,
                 'contract_code'=>$where1['contract_code'],
                 'contract_display_account'=>$where1['contract_display_account'],
                 'is_open'=>$where1['is_open'],

+ 1 - 1
public/assets/js/backend/wechat/plan_record.js

@@ -28,7 +28,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
                         {field: 'contract_display_account', title: __('contract_display_account')},
                         // {field: 'text', title: __('Text')},
                         {field: 'price', title: __('price')},
-                        {field: 'is_signing', title: __('is_signing'), searchList: {"-1":__('is_signing -1'),"0":__('is_signing 0'),"1":__('is_signing 1')}, formatter: Table.api.formatter.normal},
+                        {field: 'is_signing', title: __('is_signing'), searchList: {"0":__('is_signing 0'),"1":__('is_signing 1'),"2":__('is_signing 2')}, formatter: Table.api.formatter.normal},
                         {field: 'createtime', title: __('Create time'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
                         // {field: 'updatetime', title: __('Update time'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
                         // {field: 'status', title: __('Status'), formatter: Table.api.formatter.status},