Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
hujun
tl_estate
Commits
908575c3
Commit
908575c3
authored
Feb 15, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
043644c5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
addNoticeView.js
public/resource/js/addNoticeView.js
+1
-1
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+1
-1
public.js
public/resource/js/public.js
+2
-2
schoolBusinessNew.js
public/resource/js/schoolBusinessNew.js
+1
-1
No files found.
public/resource/js/addNoticeView.js
View file @
908575c3
...
@@ -42,7 +42,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -42,7 +42,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
formData
.
append
(
'image'
,
_this
[
0
].
files
[
0
]);
formData
.
append
(
'image'
,
_this
[
0
].
files
[
0
]);
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
'/index/uploadImg'
,
url
:
ServerHostImageLiu
+
'/index/uploadImg'
,
data
:
formData
,
data
:
formData
,
dataType
:
'json'
,
dataType
:
'json'
,
contentType
:
false
,
contentType
:
false
,
...
...
public/resource/js/financial_manager_daily_list.js
View file @
908575c3
...
@@ -133,7 +133,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
...
@@ -133,7 +133,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
formData
.
append
(
'image'
,
_this
[
0
].
files
[
0
]);
formData
.
append
(
'image'
,
_this
[
0
].
files
[
0
]);
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
'/index/uploadImg'
,
url
:
ServerHostImageLiu
+
'/index/uploadImg'
,
data
:
formData
,
data
:
formData
,
dataType
:
'json'
,
dataType
:
'json'
,
contentType
:
false
,
contentType
:
false
,
...
...
public/resource/js/public.js
View file @
908575c3
...
@@ -362,7 +362,7 @@ function getTimeStamp(date){
...
@@ -362,7 +362,7 @@ function getTimeStamp(date){
};
};
//处理图片域名 测试 正式
//处理图片域名 测试 正式
// let ServerHostImageLiu = 'http://images.pre2.tonglianjituan.com';
// let ServerHostImageLiu = 'http://images.pre2.tonglianjituan.com';
let
ServerHostImageLiu
=
'http
s://pre2.tonglianjituan.com'
;
let
ServerHostImageLiu
=
'http
://images.tonglianjituan.com'
;
//测试 本地用测试域名
if
(
location
.
origin
===
'https://api.tonglianjituan.com'
)
{
if
(
location
.
origin
===
'https://api.tonglianjituan.com'
)
{
ServerHostImageLiu
=
'http://images.tonglianjituan.com'
;
ServerHostImageLiu
=
'http://images.tonglianjituan.com'
;
//正式用正式域名
};
};
public/resource/js/schoolBusinessNew.js
View file @
908575c3
...
@@ -144,7 +144,7 @@ define(['doT', 'text!temp/schoolBusiness_template_tpl.html', 'ckfinder', 'ckfind
...
@@ -144,7 +144,7 @@ define(['doT', 'text!temp/schoolBusiness_template_tpl.html', 'ckfinder', 'ckfind
// formData.append('name', _this[0].files[0].name);
// formData.append('name', _this[0].files[0].name);
$
.
ajax
({
$
.
ajax
({
type
:
'post'
,
type
:
'post'
,
url
:
'/index/uploadImg'
,
url
:
ServerHostImageLiu
+
'/index/uploadImg'
,
data
:
formData
,
data
:
formData
,
dataType
:
'json'
,
dataType
:
'json'
,
contentType
:
false
,
contentType
:
false
,
...
...
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