Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zxtb_to_ssfwpt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
卢世豪
zxtb_to_ssfwpt
Commits
0bb1590b
Commit
0bb1590b
authored
May 16, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关联表url修改
parent
5d093f76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
result.js
static/js/yearGLB/result.js
+4
-4
specialHandler.js
static/js/yearGLB/specialHandler.js
+6
-6
tool.js
static/js/yearGLB/tool.js
+3
-3
No files found.
static/js/yearGLB/result.js
View file @
0bb1590b
...
@@ -106,7 +106,7 @@ function selectNb() {
...
@@ -106,7 +106,7 @@ function selectNb() {
NB_cache_data
.
data
=
GLOBAL_INITJSON
;
//更正保存增加参数--20181225 ygy
NB_cache_data
.
data
=
GLOBAL_INITJSON
;
//更正保存增加参数--20181225 ygy
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
"/online_report/declare/save"
,
url
:
URL
+
"/online_report/declare/save"
,
data
:
{
data
:
{
data
:
JSON
.
stringify
(
NB_cache_data
)
data
:
JSON
.
stringify
(
NB_cache_data
)
},
},
...
@@ -1121,14 +1121,14 @@ function saveData(operateType) {
...
@@ -1121,14 +1121,14 @@ function saveData(operateType) {
spread
.
options
.
highlightInvalidData
=
false
;
spread
.
options
.
highlightInvalidData
=
false
;
}
}
showLoading
();
showLoading
();
var
url
=
"/online_report/declare/save"
;
var
url
=
URL
+
"/online_report/declare/save"
;
pagedata
.
operateType
=
operateType
;
pagedata
.
operateType
=
operateType
;
if
(
operateType
==
4
)
{
if
(
operateType
==
4
)
{
url
=
"/online_report/amend/save"
;
url
=
URL
+
"/online_report/amend/save"
;
}
}
if
(
isGZflag
){
if
(
isGZflag
){
url
=
"/online_report/amend/save"
;
url
=
URL
+
"/online_report/amend/save"
;
}
}
pagedata
.
data
=
GLOBAL_INITJSON
;
//更正保存增加参数--20181225 ygy
pagedata
.
data
=
GLOBAL_INITJSON
;
//更正保存增加参数--20181225 ygy
console
.
log
(
"■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
);
console
.
log
(
"■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"
);
...
...
static/js/yearGLB/specialHandler.js
View file @
0bb1590b
...
@@ -94,7 +94,7 @@ function getJmxz_019(){
...
@@ -94,7 +94,7 @@ function getJmxz_019(){
//判断有没有这张表
//判断有没有这张表
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
"/online_report/declare/getZwbzList"
,
url
:
URL
+
"/online_report/declare/getZwbzList"
,
dataType
:
"json"
,
dataType
:
"json"
,
async
:
false
,
async
:
false
,
success
:
function
success
(
datas
,
textStatus
,
jqXHR
)
{
success
:
function
success
(
datas
,
textStatus
,
jqXHR
)
{
...
@@ -120,7 +120,7 @@ function getJmxz_020(){
...
@@ -120,7 +120,7 @@ function getJmxz_020(){
//判断有没有这张表
//判断有没有这张表
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
"/online_report/declare/getYwbzList"
,
url
:
URL
+
"/online_report/declare/getYwbzList"
,
dataType
:
"json"
,
dataType
:
"json"
,
async
:
false
,
async
:
false
,
success
:
function
success
(
datas
,
textStatus
,
jqXHR
)
{
success
:
function
success
(
datas
,
textStatus
,
jqXHR
)
{
...
@@ -796,26 +796,26 @@ function getVal_GDXX(index) {
...
@@ -796,26 +796,26 @@ function getVal_GDXX(index) {
function
getDmbList
(
lx
,
dm
,
isShengJi
,
isGuanLian
)
{
function
getDmbList
(
lx
,
dm
,
isShengJi
,
isGuanLian
)
{
var
list
=
[];
var
list
=
[];
var
url
=
"/online_report/declare/getHydmList"
;
var
url
=
URL
+
"/online_report/declare/getHydmList"
;
var
obj
=
{
var
obj
=
{
lx
:
lx
,
lx
:
lx
,
dm
:
dm
dm
:
dm
}
}
if
(
isShengJi
){
if
(
isShengJi
){
url
=
"/online_report/declare/getDjsList"
;
url
=
URL
+
"/online_report/declare/getDjsList"
;
obj
=
{
obj
=
{
shengJiDm
:
dm
shengJiDm
:
dm
}
}
}
}
if
(
isGuanLian
){
if
(
isGuanLian
){
url
=
"/online_report/declare/getglgxList"
;
url
=
URL
+
"/online_report/declare/getglgxList"
;
obj
=
{
obj
=
{
lx
:
lx
,
lx
:
lx
,
dm
:
dm
dm
:
dm
}
}
}
}
if
(
isGuanLian
&&
(
dm
==
"10420_006"
||
dm
==
"10420_008"
))
{
if
(
isGuanLian
&&
(
dm
==
"10420_006"
||
dm
==
"10420_008"
))
{
url
=
"/online_report/declare/getGljynr"
;
url
=
URL
+
"/online_report/declare/getGljynr"
;
obj
=
{
obj
=
{
code
:
dm
code
:
dm
}
}
...
...
static/js/yearGLB/tool.js
View file @
0bb1590b
...
@@ -64,7 +64,7 @@ function getIEVersion() {
...
@@ -64,7 +64,7 @@ function getIEVersion() {
_show
:
function
_show
(
title
)
{
_show
:
function
_show
(
title
)
{
var
_html
=
'<div id="mb_box1"></div><div id="mb_con1"><span id="mb_tit1">'
+
title
+
'</span>'
;
var
_html
=
'<div id="mb_box1"></div><div id="mb_con1"><span id="mb_tit1">'
+
title
+
'</span>'
;
_html
+=
'<img id="mb_img1" src="/
online_report/
static/tools/images/close.png">'
;
_html
+=
'<img id="mb_img1" src="/static/tools/images/close.png">'
;
_html
+=
'<div id="mb_msg1"></div>'
;
_html
+=
'<div id="mb_msg1"></div>'
;
//必须先将_html添加到body,再设置Css样式
//必须先将_html添加到body,再设置Css样式
$
(
"body"
).
append
(
_html
);
$
(
"body"
).
append
(
_html
);
...
@@ -238,7 +238,7 @@ function dateProcessing(type) {
...
@@ -238,7 +238,7 @@ function dateProcessing(type) {
//封装等待框 调用方式:showLoading();hideLoading();
//封装等待框 调用方式:showLoading();hideLoading();
(
function
(
$
)
{
(
function
(
$
)
{
var
renderHtml
=
function
renderHtml
()
{
var
renderHtml
=
function
renderHtml
()
{
var
_html
=
'<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/
online_report/
static/tools/images/loading1.gif" /></div></div>'
;
var
_html
=
'<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/static/tools/images/loading1.gif" /></div></div>'
;
$
(
"body"
).
append
(
_html
);
$
(
"body"
).
append
(
_html
);
};
};
renderHtml
();
renderHtml
();
...
@@ -301,7 +301,7 @@ function dateProcessing(type) {
...
@@ -301,7 +301,7 @@ function dateProcessing(type) {
var
_html
=
""
;
var
_html
=
""
;
_html
+=
'<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">'
+
title
+
'</span>'
_html
+=
'<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">'
+
title
+
'</span>'
if
(
type
==
"confirm"
)
{
if
(
type
==
"confirm"
)
{
_html
+=
'<img id="mb_img" src="/
online_report/
static/tools/images/close.png">'
;
_html
+=
'<img id="mb_img" src="/static/tools/images/close.png">'
;
_html
+=
'<div id="mb_msg">'
+
msg
+
'</div>'
;
_html
+=
'<div id="mb_msg">'
+
msg
+
'</div>'
;
}
}
if
(
type
==
"alert"
)
{
if
(
type
==
"alert"
)
{
...
...
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