Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
13a8aa42
authored
Dec 26, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
跟进页面完善
parent
b7cff4a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
app/Http/Transformers/ChainTransformer.php
resources/views/script/ChainListScript.blade.php
app/Http/Transformers/ChainTransformer.php
View file @
13a8aa42
...
...
@@ -19,10 +19,10 @@ class ChainTransformer
$item
[
'data_type_name'
]
=
array_get
(
config
(
'field.ChainDataType'
),
$item
[
'data_type'
],
'无'
);
$item
[
'company_nature'
]
=
array_get
(
config
(
'field.ChainCompanyNature'
),
$item
[
'company_nature'
],
'无'
);
$item
[
'region'
]
=
array_get
(
config
(
'field.ChainRegion'
),
$item
[
'region'
],
'无'
);
$item
[
'check_status_name'
]
=
array_get
(
config
(
'field.ChainCheckStatus'
),
$item
[
'check_status'
]);
$item
[
'is_entity_name'
]
=
array_get
(
config
(
'field.IsEntity'
),
$item
[
'is_entity'
]);
$item
[
'check_status_name'
]
=
array_get
(
config
(
'field.ChainCheckStatus'
),
$item
[
'check_status'
]);
$item
[
'is_entity_name'
]
=
array_get
(
config
(
'field.IsEntity'
),
$item
[
'is_entity'
]);
if
(
!
empty
(
$item
[
'mobile'
]))
{
$item
[
'mobile'
]
=
substr
(
$item
[
'mobile'
],
0
,
3
)
.
'****'
.
substr
(
$item
[
'mobile'
],
7
);
$item
[
'mobile'
]
=
substr
(
$item
[
'mobile'
],
0
,
3
)
.
'****'
.
substr
(
$item
[
'mobile'
],
7
);
}
if
(
!
empty
(
$item
[
'email'
]))
{
...
...
@@ -38,7 +38,8 @@ class ChainTransformer
if
(
!
empty
(
$item
[
'chain_check'
]))
{
foreach
(
$item
[
'chain_check'
]
as
&
$value
)
{
$value
[
'check_status_name'
]
=
array_get
(
config
(
'field.ChainCheckStatus'
),
$value
[
'check_status'
]);
$value
[
'check_time'
]
=
!
empty
(
$value
[
'check_time'
])
?
date
(
'Y-m-d H:i:s'
,
$value
[
'check_time'
])
:
''
;
$value
[
'check_status_name'
]
=
array_get
(
config
(
'field.ChainCheckStatus'
),
$value
[
'check_status'
]);
}
unset
(
$value
);
}
...
...
resources/views/script/ChainListScript.blade.php
View file @
13a8aa42
...
...
@@ -119,14 +119,10 @@
}
});
$(function () {
$('
.
view_check
').click(function () {
alert(123);
$(this).prev().click();
});
$(document).on('
click
', '
.
view_check
', function (e) {
$(this).prev().click();
});
form.on('
submit
(
load
)
', function (data) {
whereCondition = $.extend(false, initCondition, data.field);
//执行重载
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment