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},