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
565ea216
Commit
565ea216
authored
May 18, 2020
by
yangyuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
年报js文件 修改url地址
parent
bd59481c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
result.js
static/js/year/result.js
+8
-8
specialHandler.js
static/js/year/specialHandler.js
+5
-5
tool.js
static/js/year/tool.js
+3
-3
No files found.
static/js/year/result.js
View file @
565ea216
...
@@ -94,7 +94,7 @@ function selectNb() {
...
@@ -94,7 +94,7 @@ function selectNb() {
var
selectTableArr
=
getSelect_10414_002
();
// 获取被选中的表
var
selectTableArr
=
getSelect_10414_002
();
// 获取被选中的表
$
.
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
)
},
},
...
@@ -1312,16 +1312,16 @@ function saveData(operateType,isZcfxtx) {
...
@@ -1312,16 +1312,16 @@ function saveData(operateType,isZcfxtx) {
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"
;
}
}
if
(
true
==
isZcfxtx
)
{
if
(
true
==
isZcfxtx
)
{
url
=
"/online_report/declare/zcfxts"
;
url
=
URL
+
"/online_report/declare/zcfxts"
;
}
}
if
(
operateType
==
3
)
{
if
(
operateType
==
3
)
{
if
(
localStorage
[
"isZcfxFlag"
]
&&
"true"
==
localStorage
[
"isZcfxFlag"
]){
if
(
localStorage
[
"isZcfxFlag"
]
&&
"true"
==
localStorage
[
"isZcfxFlag"
]){
...
@@ -1522,13 +1522,13 @@ function saveData_003(operateType) {
...
@@ -1522,13 +1522,13 @@ function saveData_003(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/year/specialHandler.js
View file @
565ea216
...
@@ -336,7 +336,7 @@ function bindValueChanged() {
...
@@ -336,7 +336,7 @@ function bindValueChanged() {
// var arr = [];
// var arr = [];
// $.ajax({
// $.ajax({
// type: "post",
// type: "post",
// url: "/online_report/declare/getFylyxmd2019List",
// url:
URL +
"/online_report/declare/getFylyxmd2019List",
// dataType: "json",
// dataType: "json",
// async: false,
// async: false,
// data: {},
// data: {},
...
@@ -868,7 +868,7 @@ function bindNbCellClickEvent() {
...
@@ -868,7 +868,7 @@ function bindNbCellClickEvent() {
// var arr = [];
// var arr = [];
// $.ajax({
// $.ajax({
// type: "post",
// type: "post",
// url: "/online_report/declare/getFylyxmd2019List",
// url:
URL +
"/online_report/declare/getFylyxmd2019List",
// dataType: "json",
// dataType: "json",
// async: false,
// async: false,
// data: {},
// data: {},
...
@@ -1177,7 +1177,7 @@ function getDmbList(lx, dm) {
...
@@ -1177,7 +1177,7 @@ function getDmbList(lx, dm) {
var
list
=
[]
var
list
=
[]
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
"/online_report/declare/getGxjslyList"
,
url
:
URL
+
"/online_report/declare/getGxjslyList"
,
data
:
{
data
:
{
level
:
lx
,
level
:
lx
,
code
:
dm
code
:
dm
...
@@ -1458,7 +1458,7 @@ function compare10414_027(index){
...
@@ -1458,7 +1458,7 @@ function compare10414_027(index){
var
arr
=
[];
var
arr
=
[];
$
.
ajax
({
$
.
ajax
({
type
:
"post"
,
type
:
"post"
,
url
:
"/online_report/declare/getFylyxmd2019List"
,
url
:
URL
+
"/online_report/declare/getFylyxmd2019List"
,
dataType
:
"json"
,
dataType
:
"json"
,
async
:
false
,
async
:
false
,
data
:
{},
data
:
{},
...
@@ -1843,7 +1843,7 @@ function getSwjgDm(lx, dm) {
...
@@ -1843,7 +1843,7 @@ function getSwjgDm(lx, dm) {
},
},
dataType
:
"json"
,
dataType
:
"json"
,
type
:
'POST'
,
type
:
'POST'
,
url
:
'/online_report/declare/getCcsswjgdmData'
,
url
:
URL
+
'/online_report/declare/getCcsswjgdmData'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
// console.log(data);
// console.log(data);
var
html
=
''
;
var
html
=
''
;
...
...
static/js/year/tool.js
View file @
565ea216
...
@@ -63,7 +63,7 @@ function getIEVersion() {
...
@@ -63,7 +63,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
);
...
@@ -237,7 +237,7 @@ function dateProcessing(type) {
...
@@ -237,7 +237,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
();
...
@@ -300,7 +300,7 @@ function dateProcessing(type) {
...
@@ -300,7 +300,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