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
010925a3
Commit
010925a3
authored
Aug 21, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
20c90b06
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
agent.js
public/resource/js/agent.js
+1
-1
attendanceList.js
public/resource/js/attendanceList.js
+2
-1
costCheck.js
public/resource/js/costCheck.js
+3
-1
openCheckList.js
public/resource/js/openCheckList.js
+1
-0
No files found.
public/resource/js/agent.js
View file @
010925a3
...
@@ -679,7 +679,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -679,7 +679,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
//获取反面图片
//获取反面图片
if
(
data
.
data
.
id_card_image_back
){
if
(
data
.
data
.
id_card_image_back
){
$
(
'#container_body_img_area_reverse_edit'
).
append
(
'<div class="result-reverse-edit"><img data-imgname="{0}" src="{1}" alt="" class="diagram-image J_preview"/> <span class="span-del-reverse">删除</span></div>'
.
stringFormatObj
({
$
(
'#container_body_img_area_reverse_edit'
).
append
(
'<div class="result-reverse-edit"><img data-imgname="{0}" src="{1}" alt="" class="diagram-image J_preview"/> <span class="span-del-reverse">删除</span></div>'
.
stringFormatObj
({
'0'
:
data
.
data
.
id_card_image_
front
,
'0'
:
data
.
data
.
id_card_image_
back
,
'1'
:
ServerHostImageLiu
+
'/static/user_id_card/'
+
data
.
data
.
id_card_image_back
'1'
:
ServerHostImageLiu
+
'/static/user_id_card/'
+
data
.
data
.
id_card_image_back
}));
}));
}
}
...
...
public/resource/js/attendanceList.js
View file @
010925a3
...
@@ -106,7 +106,7 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
...
@@ -106,7 +106,7 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
that
.
checkFinish
(
e
.
target
.
dataset
.
index
)
that
.
checkFinish
(
e
.
target
.
dataset
.
index
)
})
})
//批量上传上传处理事件
//批量上传上传处理事件
$
(
"#file_input"
).
change
(
function
()
{
$
(
"#file_input"
).
change
(
function
(
e
)
{
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
var
formData
=
new
FormData
();
var
formData
=
new
FormData
();
formData
.
append
(
'setting_date'
,
cost
.
getDate
());
formData
.
append
(
'setting_date'
,
cost
.
getDate
());
...
@@ -126,6 +126,7 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
...
@@ -126,6 +126,7 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
if
(
_data
.
code
==
200
)
{
if
(
_data
.
code
==
200
)
{
alert
(
_data
.
msg
);
alert
(
_data
.
msg
);
cost
.
getList
(
1
);
cost
.
getList
(
1
);
e
.
target
.
value
=
''
;
//置空input值 可以上传重复文件
}
else
{
}
else
{
alert
(
_data
.
msg
);
alert
(
_data
.
msg
);
};
};
...
...
public/resource/js/costCheck.js
View file @
010925a3
...
@@ -261,7 +261,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -261,7 +261,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
}
}
});
});
//批量上传上传处理事件
//批量上传上传处理事件
$
(
"#file_input"
).
change
(
function
()
{
$
(
"#file_input"
).
change
(
function
(
e
)
{
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
var
formData
=
new
FormData
();
var
formData
=
new
FormData
();
// formData.append('AuthToken', user_info_obj.AuthToken);
// formData.append('AuthToken', user_info_obj.AuthToken);
...
@@ -281,6 +281,8 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -281,6 +281,8 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
if
(
_data
.
code
==
200
)
{
if
(
_data
.
code
==
200
)
{
alert
(
_data
.
msg
);
alert
(
_data
.
msg
);
cost
.
getList
(
1
);
cost
.
getList
(
1
);
e
.
target
.
value
=
''
;
//置空input值 可以上传重复文件
}
else
{
}
else
{
alert
(
_data
.
msg
);
alert
(
_data
.
msg
);
};
};
...
...
public/resource/js/openCheckList.js
View file @
010925a3
...
@@ -595,6 +595,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
...
@@ -595,6 +595,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
$
(
'#order_id'
).
val
(
""
);
$
(
'#order_id'
).
val
(
""
);
$
(
'#house_id'
).
val
(
""
);
$
(
'#house_id'
).
val
(
""
);
$
(
'#house_address'
).
val
(
""
);
$
(
'#house_address'
).
val
(
""
);
$
(
'#district_id2_city'
).
val
(
""
);
$
(
'#commit_home'
).
val
(
""
);
$
(
'#commit_home'
).
val
(
""
);
$
(
'#commit_shop'
).
val
(
""
);
$
(
'#commit_shop'
).
val
(
""
);
$
(
'#comit_name'
).
val
(
""
);
$
(
'#comit_name'
).
val
(
""
);
...
...
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