Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
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
957ee5a2
authored
Jul 11, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
95efa635
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
dist/js/home/index.js
dist/js/quoteprice/inquiry.js
dist/js/quoteprice/quote.js
dist/js/home/index.js
View file @
957ee5a2
...
@@ -21,7 +21,7 @@ $(function () {
...
@@ -21,7 +21,7 @@ $(function () {
if
(
type
==
1
){
if
(
type
==
1
){
getTpl
=
bjTpl
.
innerHTML
getTpl
=
bjTpl
.
innerHTML
}
}
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
var
arr
=
[];
var
arr
=
[];
if
(
type
==
1
){
if
(
type
==
1
){
arr
=
res
.
data
;
arr
=
res
.
data
;
...
@@ -44,6 +44,7 @@ $(function () {
...
@@ -44,6 +44,7 @@ $(function () {
var
self
=
this
;
var
self
=
this
;
$
(
'.index_tab div'
).
on
(
'click'
,
function
()
{
$
(
'.index_tab div'
).
on
(
'click'
,
function
()
{
var
i
=
$
(
this
).
attr
(
'data-i'
);
var
i
=
$
(
this
).
attr
(
'data-i'
);
$
(
".goods_data_list"
).
empty
()
self
.
getXbData
(
i
);
self
.
getXbData
(
i
);
$
(
this
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
)
$
(
this
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
)
});
});
...
...
dist/js/quoteprice/inquiry.js
View file @
957ee5a2
...
@@ -24,7 +24,7 @@ $(function () {
...
@@ -24,7 +24,7 @@ $(function () {
IcController
.
getData
(
apis
.
inquirycount
,
'GET'
,
{
IcController
.
getData
(
apis
.
inquirycount
,
'GET'
,
{
"token"
:
Util
.
getCookie
(
'token'
)
||
""
"token"
:
Util
.
getCookie
(
'token'
)
||
""
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
$
(
'.xj h3'
).
text
(
res
.
count
.
all
||
'0'
);
$
(
'.xj h3'
).
text
(
res
.
count
.
all
||
'0'
);
$
(
'.wxj h3'
).
text
(
res
.
count
.
reply
||
'0'
)
$
(
'.wxj h3'
).
text
(
res
.
count
.
reply
||
'0'
)
}
}
...
@@ -36,7 +36,7 @@ $(function () {
...
@@ -36,7 +36,7 @@ $(function () {
params
,
params
,
function
(
res
)
{
function
(
res
)
{
var
getTpl
=
htmlTp
.
innerHTML
;
var
getTpl
=
htmlTp
.
innerHTML
;
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
$
(
'#pagination'
).
show
();
$
(
'#pagination'
).
show
();
layui
.
laytpl
(
getTpl
).
render
(
res
.
inquiry_list
,
function
(
html
)
{
layui
.
laytpl
(
getTpl
).
render
(
res
.
inquiry_list
,
function
(
html
)
{
$
(
".inquiry_data"
).
empty
().
html
(
html
);
$
(
".inquiry_data"
).
empty
().
html
(
html
);
...
@@ -77,7 +77,7 @@ $(function () {
...
@@ -77,7 +77,7 @@ $(function () {
},
function
(
res
)
{
},
function
(
res
)
{
$
(
ele
).
parent
(
'.data_item'
).
find
(
'.show_more'
).
slideUp
();
$
(
ele
).
parent
(
'.data_item'
).
find
(
'.show_more'
).
slideUp
();
var
getTpl
=
myxjTp
.
innerHTML
;
var
getTpl
=
myxjTp
.
innerHTML
;
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
if
(
res
.
total
==
0
)
{
if
(
res
.
total
==
0
)
{
layer
.
msg
(
'暂无数据'
)
layer
.
msg
(
'暂无数据'
)
}
else
{
}
else
{
...
@@ -102,7 +102,7 @@ $(function () {
...
@@ -102,7 +102,7 @@ $(function () {
"inquiry_items_id"
:
id
,
"inquiry_items_id"
:
id
,
"status"
:
type
"status"
:
type
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
layer
.
msg
(
'操作成功'
,
{
layer
.
msg
(
'操作成功'
,
{
time
:
600
time
:
600
},
function
()
{
},
function
()
{
...
...
dist/js/quoteprice/quote.js
View file @
957ee5a2
...
@@ -24,7 +24,7 @@ $(function () {
...
@@ -24,7 +24,7 @@ $(function () {
IcController
.
getData
(
apis
.
offercount
,
'GET'
,
{
IcController
.
getData
(
apis
.
offercount
,
'GET'
,
{
"token"
:
Util
.
getCookie
(
'token'
)
||
""
"token"
:
Util
.
getCookie
(
'token'
)
||
""
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
$
(
'.xj h3'
).
text
(
res
.
count
.
reply
||
'0'
);
$
(
'.xj h3'
).
text
(
res
.
count
.
reply
||
'0'
);
$
(
'.wxj h3'
).
text
(
res
.
count
.
notreply
||
'0'
)
$
(
'.wxj h3'
).
text
(
res
.
count
.
notreply
||
'0'
)
}
}
...
@@ -36,7 +36,7 @@ $(function () {
...
@@ -36,7 +36,7 @@ $(function () {
params
,
params
,
function
(
res
)
{
function
(
res
)
{
var
getTpl
=
myBj
.
innerHTML
;
var
getTpl
=
myBj
.
innerHTML
;
if
(
res
.
errcode
==
0
)
{
if
(
res
.
errcode
==
=
0
)
{
$
(
'#pagination'
).
show
();
$
(
'#pagination'
).
show
();
self
.
listData
=
res
.
data
;
self
.
listData
=
res
.
data
;
layui
.
laytpl
(
getTpl
).
render
(
res
.
data
,
function
(
html
)
{
layui
.
laytpl
(
getTpl
).
render
(
res
.
data
,
function
(
html
)
{
...
...
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