Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
22708494
Commit
22708494
authored
May 30, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改异地证系统的废证、交接单
parent
6dd677bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
690 additions
and
264 deletions
+690
-264
ReportApi.java
src/main/java/com/yxproject/start/api/ReportApi.java
+6
-8
FailedCardMapper.java
...ain/java/com/yxproject/start/mapper/FailedCardMapper.java
+2
-2
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+58
-14
TaskListService.java
...ain/java/com/yxproject/start/service/TaskListService.java
+2
-0
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+1
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+0
-0
confirmFailedCards.html
src/main/resources/static/dialogs/confirmFailedCards.html
+2
-1
confirmRestCards.html
src/main/resources/static/dialogs/confirmRestCards.html
+1
-1
confirmTagCards.html
src/main/resources/static/dialogs/confirmTagCards.html
+2
-1
index.html
src/main/resources/static/index.html
+14
-3
app.js
src/main/resources/static/js/app.js
+5
-1
service.js
src/main/resources/static/js/service.js
+102
-6
addFailed.html
src/main/resources/static/views/addFailed/addFailed.html
+10
-3
addFailed.js
src/main/resources/static/views/addFailed/addFailed.js
+7
-6
addRest.html
src/main/resources/static/views/addRest/addRest.html
+1
-1
addRest.js
src/main/resources/static/views/addRest/addRest.js
+5
-2
addTag.html
src/main/resources/static/views/addTag/addTag.html
+1
-1
addTag.js
src/main/resources/static/views/addTag/addTag.js
+1
-1
cardReport.html
src/main/resources/static/views/cardReport/cardReport.html
+27
-31
cardReport.js
src/main/resources/static/views/cardReport/cardReport.js
+7
-0
createTaskList.html
...resources/static/views/createTaskList/createTaskList.html
+1
-1
createTaskList.js
...n/resources/static/views/createTaskList/createTaskList.js
+5
-3
dispatchTask.html
...ain/resources/static/views/dispatchTask/dispatchTask.html
+1
-1
dispatchTask.js
src/main/resources/static/views/dispatchTask/dispatchTask.js
+5
-1
excelAndSearch.html
...resources/static/views/excelAndSearch/excelAndSearch.html
+2
-2
filmManagement.html
...resources/static/views/filmManagement/filmManagement.html
+25
-10
filmManagement.js
...n/resources/static/views/filmManagement/filmManagement.js
+3
-2
filmReport.html
src/main/resources/static/views/filmReport/filmReport.html
+1
-1
historyBack.html
...main/resources/static/views/historyCards/historyBack.html
+99
-18
historyBack.js
src/main/resources/static/views/historyCards/historyBack.js
+109
-4
insertCardBody.html
...resources/static/views/insertCardBody/insertCardBody.html
+26
-28
insertCardBody.js
...n/resources/static/views/insertCardBody/insertCardBody.js
+8
-0
insertFilm.html
src/main/resources/static/views/insertFilm/insertFilm.html
+5
-5
materialManagement.html
...s/static/views/materialManagement/materialManagement.html
+35
-23
materialManagement.js
...ces/static/views/materialManagement/materialManagement.js
+12
-4
querySortingReport.js
...ces/static/views/querySortingReport/querySortingReport.js
+5
-5
queryWorkGroupReport.html
...atic/views/queryWorkGroupReport/queryWorkGroupReport.html
+2
-2
queryWorkGroupReport.js
...static/views/queryWorkGroupReport/queryWorkGroupReport.js
+4
-2
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+4
-2
task.js
src/main/resources/static/views/task/task.js
+18
-2
taskListEwriting.html
src/main/resources/static/views/task/taskListEwriting.html
+1
-1
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+1
-1
taskListSorting.html
src/main/resources/static/views/task/taskListSorting.html
+1
-1
uploadExcelAndSearch.html
...atic/views/uploadExcelAndSearch/uploadExcelAndSearch.html
+63
-62
No files found.
src/main/java/com/yxproject/start/api/ReportApi.java
View file @
22708494
...
@@ -61,9 +61,9 @@ public class ReportApi {
...
@@ -61,9 +61,9 @@ public class ReportApi {
* @return
* @return
*/
*/
@RequestMapping
(
"queryWorkGroupReport"
)
@RequestMapping
(
"queryWorkGroupReport"
)
public
List
<
Map
<
String
,
Object
>>
queryWorkGroupReport
(
@RequestParam
(
value
=
"startDate"
)
String
startDate
,
@RequestParam
(
value
=
"endDate"
)
String
endDate
,
@RequestParam
(
value
=
"workGroup"
)
String
workGroup
)
{
public
List
<
Map
<
String
,
Object
>>
queryWorkGroupReport
(
@RequestParam
(
value
=
"startDate"
)
String
startDate
,
@RequestParam
(
value
=
"endDate"
)
String
endDate
,
@RequestParam
(
value
=
"workGroup"
)
String
workGroup
)
{
List
<
Map
<
String
,
Object
>>
mapList
=
taskListService
.
selectWorkGroupReport
(
replaceDate
(
startDate
),
replaceDate
(
endDate
),
workGroup
);
List
<
Map
<
String
,
Object
>>
map
=
taskListService
.
selectWorkGroupReport
(
replaceDate
(
startDate
),
replaceDate
(
endDate
),
workGroup
);
return
map
List
;
return
map
;
}
}
/**
/**
...
@@ -82,17 +82,15 @@ public class ReportApi {
...
@@ -82,17 +82,15 @@ public class ReportApi {
/**
/**
* 查询报表
* 查询报表
* 质检
* 质检
仓库
* @param startDate 开始时间
* @param startDate 开始时间
* @param endDate 结束时间
* @param endDate 结束时间
* @return
* @return
*/
*/
@RequestMapping
(
"queryQualityCheckReport"
)
@RequestMapping
(
"queryQualityCheckReport"
)
public
List
<
Map
<
String
,
Object
>>
queryQualityCheckReport
(
@RequestParam
(
value
=
"startDate"
)
String
startDate
,
@RequestParam
(
value
=
"endDate"
)
String
endDate
)
{
public
List
<
Map
<
String
,
Object
>>
queryQualityCheckReport
(
@RequestParam
(
value
=
"startDate"
)
String
startDate
,
@RequestParam
(
value
=
"endDate"
)
String
endDate
)
{
//todo
List
<
Map
<
String
,
Object
>>
mapList
=
taskListService
.
selectQualityCheckReport
(
replaceDate
(
startDate
),
replaceDate
(
endDate
));
// List<Map<String, Object>> mapList = dataAuditingService.selectDataAuditingReport(startDate, endDate);
return
mapList
;
// return mapList;
return
null
;
}
}
/**
/**
...
...
src/main/java/com/yxproject/start/mapper/FailedCardMapper.java
View file @
22708494
...
@@ -35,7 +35,7 @@ public interface FailedCardMapper {
...
@@ -35,7 +35,7 @@ public interface FailedCardMapper {
"left join SPECIAL_CARD on PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO "
+
"left join SPECIAL_CARD on PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO "
+
"left join failed_card on PROD_CARD_T.ACCEPT_NO = failed_card.ACCEPT_NO "
+
"left join failed_card on PROD_CARD_T.ACCEPT_NO = failed_card.ACCEPT_NO "
+
" left join FAILED_CARD_REASON_DIC on failed_card.FAILED_CARD_REASON_ID =FAILED_CARD_REASON_DIC.FAILED_CARD_REASON_ID"
+
" left join FAILED_CARD_REASON_DIC on failed_card.FAILED_CARD_REASON_ID =FAILED_CARD_REASON_DIC.FAILED_CARD_REASON_ID"
+
"WHERE PROD_CARD_T.ID_NO=#{cardId} OR PROD_CARD_T.ACCEPT_NO=#{cardId}"
)
"
WHERE PROD_CARD_T.ID_NO=#{cardId} OR PROD_CARD_T.ACCEPT_NO=#{cardId}"
)
public
Map
<
String
,
Object
>
selectInfoByCardId
(
@Param
(
"cardId"
)
String
cardId
);
public
Map
<
String
,
Object
>
selectInfoByCardId
(
@Param
(
"cardId"
)
String
cardId
);
...
@@ -96,7 +96,7 @@ public interface FailedCardMapper {
...
@@ -96,7 +96,7 @@ public interface FailedCardMapper {
@Select
(
"select substr(ACCEPT_NO,0,8) from PROD_CARD_T where ID_NO in"
+
@Select
(
"select substr(ACCEPT_NO,0,8) from PROD_CARD_T where ID_NO in"
+
" (#{cardList})
group by substr(ACCEPT_NO,0,8);
"
)
" (#{cardList})
group by substr(ACCEPT_NO,0,8)
"
)
public
List
<
String
>
selectGroupNo
(
@Param
(
"cardIdList"
)
String
cardIdList
);
public
List
<
String
>
selectGroupNo
(
@Param
(
"cardIdList"
)
String
cardIdList
);
...
...
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
22708494
...
@@ -1488,22 +1488,44 @@ public interface TaskListMapper {
...
@@ -1488,22 +1488,44 @@ public interface TaskListMapper {
"group by CARD_TYPE, CARD_TYPE_ID, failed_count, PRINT_OUT_DATE"
)
"group by CARD_TYPE, CARD_TYPE_ID, failed_count, PRINT_OUT_DATE"
)
public
List
<
Map
<
String
,
Object
>>
selectFilmReport
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
);
public
List
<
Map
<
String
,
Object
>>
selectFilmReport
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
);
@Select
(
"SELECT CARD_TYPE,CARD_TYPE_ID,SUM(valid_count) valid_count , failed_count,PUNCHING_DATE FROM (select CARD_TYPE_DIC.CARD_TYPE,CARD_TYPE_DIC.CARD_TYPE_ID,decode(group_no.valid_count,null,1,GROUP_NO.VALID_COUNT) valid_count ,\n"
+
// @Select("SELECT CARD_TYPE,CARD_TYPE_ID,SUM(valid_count) valid_count , failed_count,PUNCHING_DATE FROM (select CARD_TYPE_DIC.CARD_TYPE,CARD_TYPE_DIC.CARD_TYPE_ID,decode(group_no.valid_count,null,1,GROUP_NO.VALID_COUNT) valid_count ,\n" +
"failed_info.failed_count,to_char(PUNCHING_DATE,'yyyyMMdd') PUNCHING_DATE\n"
+
// "failed_info.failed_count,to_char(PUNCHING_DATE,'yyyyMMdd') PUNCHING_DATE\n" +
"from task \n"
+
// "from task \n" +
"left join GROUP_NO on task.TASK_ID = GROUP_NO.TASK_ID\n"
+
// "left join GROUP_NO on task.TASK_ID = GROUP_NO.TASK_ID\n" +
"left join SPECIAL_CARD on SPECIAL_CARD.TASK_ID = task.TASK_ID\n"
+
// "left join SPECIAL_CARD on SPECIAL_CARD.TASK_ID = task.TASK_ID\n" +
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE\n"
+
// "left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE\n" +
"left join (\n"
+
// "left join (\n" +
" select to_char(ALLOT_DATE,'yyyyMMdd') printDate ,count(FAILED_CARD_id) failed_count \n"
+
// " select to_char(ALLOT_DATE,'yyyyMMdd') printDate ,count(FAILED_CARD_id) failed_count \n" +
" from FAILED_CARD where FAILED_CARD.WORK_GROUP = #{workGroup} GROUP BY to_char(ALLOT_DATE,'yyyyMMdd')\n"
+
// " from FAILED_CARD where FAILED_CARD.WORK_GROUP = #{workGroup} GROUP BY to_char(ALLOT_DATE,'yyyyMMdd')\n" +
" ) failed_info on failed_info.printDate = to_char(PUNCHING_DATE,'yyyyMMdd')\n"
+
// " ) failed_info on failed_info.printDate = to_char(PUNCHING_DATE,'yyyyMMdd')\n" +
"where to_char(PUNCHING_DATE,'yyyyMMdd') BETWEEN #{startDate} and #{endDate} and task.WORK_GROUP = #{workGroup}\n"
+
// "where to_char(PUNCHING_DATE,'yyyyMMdd') BETWEEN #{startDate} and #{endDate} and task.WORK_GROUP = #{workGroup}\n" +
"group by task.task_id, task.CARD_TYPE, CARD_TYPE_DIC.CARD_TYPE, failed_info.failed_count, CARD_TYPE_DIC.CARD_TYPE_ID, \n"
+
// "group by task.task_id, task.CARD_TYPE, CARD_TYPE_DIC.CARD_TYPE, failed_info.failed_count, CARD_TYPE_DIC.CARD_TYPE_ID, \n" +
"decode(group_no.valid_count,null,1,GROUP_NO.VALID_COUNT), to_char(PUNCHING_DATE,'yyyyMMdd')) \n"
+
// "decode(group_no.valid_count,null,1,GROUP_NO.VALID_COUNT), to_char(PUNCHING_DATE,'yyyyMMdd')) \n" +
"group by CARD_TYPE, CARD_TYPE_ID, failed_count, PUNCHING_DATE"
)
// "group by CARD_TYPE, CARD_TYPE_ID, failed_count, PUNCHING_DATE")
// public List<Map<String, Object>> selectWorkGroupReport(@Param("startDate")String startDate,@Param("endDate") String endDate,@Param("workGroup") String workGroup);
@Select
(
"select a.card_type,a.finish_date,a.work_group,sum(a.valid_count) valid_count,sum(decode(a.failed_count,null,0,a.failed_count)) failed_count from (\n"
+
" select task.TASK_ID,card_type,to_char(punching_date,'yyyyMMdd') finish_date ,work_group,FAILED_CARD.failed_count,\n"
+
" sum(decode(group_no.VALID_COUNT,null,1,group_no.VALID_COUNT-group_no.SPECIAL_CARD_COUNT)) valid_count\n"
+
" from task \n"
+
" left join group_no on task.TASK_ID = group_no.TASK_ID\n"
+
" left join SPECIAL_CARD on task.TASK_ID = SPECIAL_CARD.TASK_ID\n"
+
" left join (select TASK_ID,count(FAILED_CARD.accept_no) failed_count \n"
+
" from FAILED_CARD \n"
+
" group by TASK_ID\n"
+
" ) FAILED_CARD on FAILED_CARD.TASK_ID = task.TASK_ID\n"
+
" where to_char(punching_date,'yyyyMMdd') BETWEEN #{startDate} and #{endDate} and task.WORK_GROUP = #{workGroup} \n"
+
" group by task.TASK_ID, card_type, to_char(punching_date,'yyyyMMdd'), work_group, FAILED_CARD.failed_count\n"
+
" ) a group by a.card_type, a.finish_date, a.work_group"
)
public
List
<
Map
<
String
,
Object
>>
selectWorkGroupReport
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
,
@Param
(
"workGroup"
)
String
workGroup
);
public
List
<
Map
<
String
,
Object
>>
selectWorkGroupReport
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
,
@Param
(
"workGroup"
)
String
workGroup
);
@Select
(
"select to_char(FINISH_DATE,'yyyyMMdd')FINISH_DATE,WORK_GROUP,count(FAILED_CARD.accept_no) failed_count \n"
+
"from FAILED_CARD \n"
+
"where to_char(FINISH_DATE,'yyyyMMdd') BETWEEN #{startDate} and #{endDate} and WORK_GROUP = #{workGroup}\n"
+
"group by to_char(FINISH_DATE,'yyyyMMdd'),WORK_GROUP"
)
public
List
<
Map
<
String
,
Object
>>
selectWorkGroupReportBu
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
,
@Param
(
"workGroup"
)
String
workGroup
);
@Update
(
"update task set work_group = ${workGroup} where TASK_ID = ${taskId}"
)
@Update
(
"update task set work_group = ${workGroup} where TASK_ID = ${taskId}"
)
public
boolean
updateWorkGroup
(
@Param
(
"taskId"
)
String
taskId
,
@Param
(
"workGroup"
)
long
workGroup
);
public
boolean
updateWorkGroup
(
@Param
(
"taskId"
)
String
taskId
,
@Param
(
"workGroup"
)
long
workGroup
);
...
@@ -1542,4 +1564,26 @@ public interface TaskListMapper {
...
@@ -1542,4 +1564,26 @@ public interface TaskListMapper {
@Delete
(
"delete task where task_id = ${taskId}"
)
@Delete
(
"delete task where task_id = ${taskId}"
)
public
boolean
deleteTaskByTaskId
(
@Param
(
"taskId"
)
long
taskId
);
public
boolean
deleteTaskByTaskId
(
@Param
(
"taskId"
)
long
taskId
);
@Select
(
"select a.card_type,a.finish_date,sum(a.valid_count) valid_count,sum(decode(a.failed_count,null,0,a.failed_count)) failed_count from (\n"
+
" select task.TASK_ID,card_type,to_char(punching_date,'yyyyMMdd') finish_date ,FAILED_CARD.failed_count,\n"
+
" sum(decode(group_no.VALID_COUNT,null,1,group_no.VALID_COUNT-group_no.SPECIAL_CARD_COUNT)) valid_count\n"
+
" from task \n"
+
" left join group_no on task.TASK_ID = group_no.TASK_ID\n"
+
" left join SPECIAL_CARD on task.TASK_ID = SPECIAL_CARD.TASK_ID\n"
+
" left join (select TASK_ID,count(FAILED_CARD.accept_no) failed_count \n"
+
" from FAILED_CARD \n"
+
" group by TASK_ID\n"
+
" ) FAILED_CARD on FAILED_CARD.TASK_ID = task.TASK_ID\n"
+
" where to_char(punching_date,'yyyyMMdd') BETWEEN #{startDate} and #{endDate} \n"
+
" group by task.TASK_ID, card_type, to_char(punching_date,'yyyyMMdd'), FAILED_CARD.failed_count\n"
+
" ) a group by a.card_type, a.finish_date"
)
public
List
<
Map
<
String
,
Object
>>
selectQualityCheckReport
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
);
@Select
(
"select to_char(FINISH_DATE,'yyyyMMdd')FINISH_DATE,count(FAILED_CARD.accept_no) failed_count \n"
+
"from FAILED_CARD \n"
+
"where to_char(FINISH_DATE,'yyyyMMdd') BETWEEN #{startDate} and #{endDate} \n"
+
"group by to_char(FINISH_DATE,'yyyyMMdd')"
)
public
List
<
Map
<
String
,
Object
>>
selectQualityCheckReportBu
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
);
}
}
src/main/java/com/yxproject/start/service/TaskListService.java
View file @
22708494
...
@@ -109,4 +109,6 @@ public interface TaskListService {
...
@@ -109,4 +109,6 @@ public interface TaskListService {
public
List
<
Map
<
String
,
Object
>>
selectRedoTask
(
String
date
);
public
List
<
Map
<
String
,
Object
>>
selectRedoTask
(
String
date
);
public
boolean
deleteRedoTask
(
long
taskId
);
public
boolean
deleteRedoTask
(
long
taskId
);
public
List
<
Map
<
String
,
Object
>>
selectQualityCheckReport
(
String
startDate
,
String
endDate
);
}
}
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
22708494
...
@@ -333,7 +333,7 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -333,7 +333,7 @@ public class ReceiptServiceImpl implements ReceiptService {
}
}
}
else
{
}
else
{
if
((((
countyMapList
.
get
(
i
)).
get
(
"QR_CODE"
))
+
""
).
length
()
==
8
)
{
if
((((
countyMapList
.
get
(
i
)).
get
(
"QR_CODE"
))
+
""
).
length
()
==
8
)
{
nsList
.
add
(
Integer
.
parseInt
((((
countyMapList
.
get
(
i
)).
get
(
"QR_CODE"
))
+
""
)));
nsList
.
add
(
Integer
.
parseInt
((((
countyMapList
.
get
(
i
)).
get
(
"QR_CODE"
))
+
""
)
.
substring
(
1
,
(((
countyMapList
.
get
(
i
)).
get
(
"QR_CODE"
))
+
""
).
length
())
));
}
}
}
}
}
}
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
22708494
This diff is collapsed.
Click to expand it.
src/main/resources/static/dialogs/confirmFailedCards.html
View file @
22708494
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<th>
身份证号
</th>
<th>
身份证号
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th>
性别
</th>
<th>
性别
</th>
<th>
类型
</th>
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in personInfo"
>
<tr
ng-repeat=
"item in personInfo"
>
...
@@ -20,7 +21,7 @@
...
@@ -20,7 +21,7 @@
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==
0
"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==
null&&item.NAME!='查无此人'
"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
</tr>
</tr>
</tbody>
</tbody>
...
...
src/main/resources/static/dialogs/confirmRestCards.html
View file @
22708494
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==
0
"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==
null&&item.NAME!='查无此人'
"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
</tr>
</tr>
</tbody>
</tbody>
...
...
src/main/resources/static/dialogs/confirmTagCards.html
View file @
22708494
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<th>
身份证号
</th>
<th>
身份证号
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th>
性别
</th>
<th>
性别
</th>
<th>
类型
</th>
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in personInfo"
>
<tr
ng-repeat=
"item in personInfo"
>
...
@@ -20,7 +21,7 @@
...
@@ -20,7 +21,7 @@
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==
0
"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==
null&&item.NAME!='查无此人'
"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
</tr>
</tr>
</tbody>
</tbody>
...
...
src/main/resources/static/index.html
View file @
22708494
...
@@ -81,8 +81,9 @@
...
@@ -81,8 +81,9 @@
<!-- mini logo for sidebar mini 50x50 pixels -->
<!-- mini logo for sidebar mini 50x50 pixels -->
<span
class=
"logo-mini"
><span><img
src=
"newTheme/dist/img/logo.jpg"
style=
"width:25px;height:25px;"
></span></span>
<span
class=
"logo-mini"
><span><img
src=
"newTheme/dist/img/logo.jpg"
style=
"width:25px;height:25px;"
></span></span>
<!-- logo for regular state and mobile devices -->
<!-- logo for regular state and mobile devices -->
<span
class=
"logo-lg"
style=
"font-size: 14px;"
>
<span
class=
"logo-lg"
>
北京市公安局证件制作管理中心
<span
ng-if=
"loginData.roleList[0].process!=8"
>
北京制证辅助平台
</span>
<span
ng-if=
"loginData.roleList[0].process==8"
>
邮政管理系统
</span>
</span>
</span>
</a>
</a>
<!-- Header Navbar: style can be found in header.less -->
<!-- Header Navbar: style can be found in header.less -->
...
@@ -113,10 +114,17 @@
...
@@ -113,10 +114,17 @@
<div
class=
"navbar-custom-menu"
>
<div
class=
"navbar-custom-menu"
>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"dropdown user"
>
<li
class=
"dropdown user"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<
!--<
a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="glyphicon glyphicon-user"></i>
<i class="glyphicon glyphicon-user"></i>
<span class="hidden-xs" ng-bind="loginData.name"></span>
<span class="hidden-xs" ng-bind="loginData.name"></span>
</a>-->
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<i
class=
"glyphicon glyphicon-user"
></i>
<span
class=
"hidden-xs"
ng-bind=
"loginData.name"
></span>
</a>
</a>
<ul
class=
"dropdown-menu"
style=
"padding: 0;"
>
<li
class=
"header"
style=
"text-align: center;"
><a
style=
"padding: 8px;"
href=
"#!/updatePass"
><strong>
修改密码
</strong></a></li>
</ul>
</li>
</li>
<li
class=
"dropdown user user-menu"
>
<li
class=
"dropdown user user-menu"
>
<a
ng-click=
"logout()"
class=
"btn btn-flat"
style=
"background-color: #0c6ba2;border: 0"
><i
class=
"glyphicon glyphicon-off"
></i>
退出当前用户
</a>
<a
ng-click=
"logout()"
class=
"btn btn-flat"
style=
"background-color: #0c6ba2;border: 0"
><i
class=
"glyphicon glyphicon-off"
></i>
退出当前用户
</a>
...
@@ -198,5 +206,7 @@
...
@@ -198,5 +206,7 @@
<script
src=
"views/filmReport/filmReport.js"
></script>
<script
src=
"views/filmReport/filmReport.js"
></script>
<script
src=
"views/dataCheckReport/dataCheckReport.js"
></script>
<script
src=
"views/dataCheckReport/dataCheckReport.js"
></script>
<script
src=
"views/blank/blank.js"
></script>
<script
src=
"views/blank/blank.js"
></script>
<script
src=
"views/addBackCard/addBackCard.js"
></script>
<script
src=
"views/updatePass/updatePass.js"
></script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/resources/static/js/app.js
View file @
22708494
...
@@ -40,6 +40,8 @@ angular.module('AvatarCheck', [
...
@@ -40,6 +40,8 @@ angular.module('AvatarCheck', [
'AvatarCheck.filmReport'
,
'AvatarCheck.filmReport'
,
"AvatarCheck.dataCheckReport"
,
"AvatarCheck.dataCheckReport"
,
'AvatarCheck.cardReport'
,
'AvatarCheck.cardReport'
,
'AvatarCheck.addBackCard'
,
'AvatarCheck.updatePass'
,
'AvatarCheck.blank'
'AvatarCheck.blank'
]).
config
([
'$locationProvider'
,
'$routeProvider'
,
'localStorageServiceProvider'
,
'$qProvider'
,
function
(
$locationProvider
,
$routeProvider
,
localStorageServiceProvider
,
$qProvider
)
{
]).
config
([
'$locationProvider'
,
'$routeProvider'
,
'localStorageServiceProvider'
,
'$qProvider'
,
function
(
$locationProvider
,
$routeProvider
,
localStorageServiceProvider
,
$qProvider
)
{
$locationProvider
.
hashPrefix
(
'!'
);
$locationProvider
.
hashPrefix
(
'!'
);
...
@@ -192,7 +194,6 @@ angular.module('AvatarCheck', [
...
@@ -192,7 +194,6 @@ angular.module('AvatarCheck', [
if
(
$location
.
path
()
==
"/saveDeliveredFailedInfo"
){
if
(
$location
.
path
()
==
"/saveDeliveredFailedInfo"
){
$rootScope
.
tab
=
'/saveDeliveredFailedInfo'
;
$rootScope
.
tab
=
'/saveDeliveredFailedInfo'
;
}
}
if
(
$location
.
path
()
==
"/queryDeliveredReport"
){
if
(
$location
.
path
()
==
"/queryDeliveredReport"
){
$rootScope
.
tab
=
'/queryDeliveredReport'
;
$rootScope
.
tab
=
'/queryDeliveredReport'
;
}
}
...
@@ -214,6 +215,9 @@ angular.module('AvatarCheck', [
...
@@ -214,6 +215,9 @@ angular.module('AvatarCheck', [
if
(
$location
.
path
()
==
"/dataCheckReport"
){
if
(
$location
.
path
()
==
"/dataCheckReport"
){
$rootScope
.
tab
=
'/dataCheckReport'
;
$rootScope
.
tab
=
'/dataCheckReport'
;
}
}
if
(
$location
.
path
()
==
"/addBackCard"
){
$rootScope
.
tab
=
'/addBackCard'
;
}
...
...
src/main/resources/static/js/service.js
View file @
22708494
...
@@ -25,7 +25,26 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -25,7 +25,26 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
DebugService
.
debug
(
$scope
.
ngDialogData
)
DebugService
.
debug
(
$scope
.
ngDialogData
)
}]
}]
});
});
}
},
showAlertAndLogout
:
function
(
msg
)
{
ngDialog
.
openConfirm
({
template
:
'dialogs/alertLogin.html'
+
urlTimeStamp
(),
width
:
400
,
cache
:
false
,
data
:
msg
,
controller
:
[
'$scope'
,
'$rootScope'
,
'$location'
,
'localStorageService'
,
'HttpService'
,
function
(
$scope
,
$rootScope
,
$location
,
localStorageService
,
HttpService
)
{
$scope
.
msgText
=
$scope
.
ngDialogData
;
$scope
.
confirmYes
=
function
()
{
HttpService
.
logout
(
function
(
data
)
{
$scope
.
closeThisDialog
();
localStorage
.
clear
();
$rootScope
.
loginData
=
{
userid
:
'用户未登录'
,
login
:
false
};
$location
.
path
(
"/login"
);
})
}
}]
});
},
}
}
})
})
...
@@ -981,6 +1000,30 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -981,6 +1000,30 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
},
aselectBackInfoData
:
function
(
date
,
name
,
success
){
console
.
log
(
date
,
name
);
$http
({
method
:
'GET'
,
url
:
"../TaskList/queryRedoTask"
,
params
:{
date
:
date
},
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
addBackCardDataBySjhy
:
function
(
data
,
success
){
var
body
=
JSON
.
stringify
(
data
);
$http
({
method
:
'POST'
,
url
:
"../TaskList/createRedoTask"
,
data
:
body
,
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
giveBackCard
:
function
(
data
,
success
)
{
giveBackCard
:
function
(
data
,
success
)
{
var
body
=
JSON
.
stringify
(
data
);
var
body
=
JSON
.
stringify
(
data
);
$http
({
$http
({
...
@@ -1121,7 +1164,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -1121,7 +1164,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
date1
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
date1
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
}
if
(
date2
==
""
){
if
(
date2
==
""
){
date
1
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
date
2
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
}
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
...
@@ -1316,6 +1359,14 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -1316,6 +1359,14 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
},
getCardBodyTypeList
:
function
(
success
){
$http
({
method
:
'GET'
,
url
:
"../MaterialManagementApi/queryCardBodyDic"
+
urlTimeStamp
()
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
selectMaterialManagement
:
function
(
date
,
name
,
success
)
{
selectMaterialManagement
:
function
(
date
,
name
,
success
)
{
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
...
@@ -1351,6 +1402,25 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -1351,6 +1402,25 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
},
getFailedTypeList
:
function
(
success
){
$http
({
method
:
'GET'
,
url
:
"../FailedCardApi/selectFailedCardDic"
+
urlTimeStamp
()
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
addHistoryCard
:
function
(
data
,
success
){
var
body
=
JSON
.
stringify
(
data
);
$http
({
method
:
'POST'
,
url
:
"../FailedCardApi/insertHistoryCard"
,
data
:
body
,
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
updateFilmStateData
:
function
(
id
,
success
)
{
updateFilmStateData
:
function
(
id
,
success
)
{
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
...
@@ -1377,6 +1447,19 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -1377,6 +1447,19 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
},
selectBackDataInfo
:
function
(
date
,
name
,
success
){
$http
({
method
:
'GET'
,
url
:
"../FailedCardApi/queryFailedCardInfo"
,
params
:{
date
:
date
,
name
:
name
},
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
selectFilmData
:
function
(
date1
,
date2
,
operator
,
cardType
,
currPage
,
itemsPerPage
,
success
)
{
selectFilmData
:
function
(
date1
,
date2
,
operator
,
cardType
,
currPage
,
itemsPerPage
,
success
)
{
console
.
log
(
date1
,
date2
,
operator
,
cardType
,
currPage
,
itemsPerPage
);
console
.
log
(
date1
,
date2
,
operator
,
cardType
,
currPage
,
itemsPerPage
);
$http
({
$http
({
...
@@ -1444,13 +1527,26 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -1444,13 +1527,26 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
},
deleteFailedCard
:
function
(
failedCardId
,
success
){
deleteFailedCard
:
function
(
taskid
,
success
){
console
.
log
(
failedCardId
)
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
url
:
"../
FailedCardApi/deleteFailedCardInfo
"
+
urlTimeStamp
(),
url
:
"../
TaskList/deleteRedoTask
"
+
urlTimeStamp
(),
params
:{
params
:{
failedCardId
:
cardid
taskId
:
taskid
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
updatePass
:
function
(
password
,
newPwd
,
success
){
console
.
log
(
password
,
newPwd
,
$rootScope
.
loginData
.
id
);
$http
({
method
:
'GET'
,
url
:
"../user/updatePwd"
+
urlTimeStamp
(),
params
:
{
password
:
password
,
newPwd
:
newPwd
,
userId
:
$rootScope
.
loginData
.
id
}
}
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
success
(
response
.
data
)
...
...
src/main/resources/static/views/addFailed/addFailed.html
View file @
22708494
...
@@ -33,13 +33,13 @@
...
@@ -33,13 +33,13 @@
</style>
</style>
<div
class=
"content row"
>
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box"
ng-if=
"loginData.roleList[0].process
==3
"
>
<div
class=
"box"
ng-if=
"loginData.roleList[0].process
!=2
"
>
<strong
class=
"box-header"
>
废证添加
</strong>
<strong
class=
"box-header"
>
废证添加
</strong>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom:10px;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom:10px;"
>
<tr>
<tr>
<td
width=
"200px"
>
<td
width=
"200px"
>
<span
style=
"font-size:20px;"
>
废证数量:
</span>
<span>
废证数量:
</span>
</td>
</td>
<td
width=
"200px"
>
<td
width=
"200px"
>
<input
style=
""
type=
"number"
ng-model=
"failedCount"
></td>
<input
style=
""
type=
"number"
ng-model=
"failedCount"
></td>
...
@@ -48,6 +48,13 @@
...
@@ -48,6 +48,13 @@
<input
type=
"submit"
ng-click=
"createInputs(failedCount)"
class=
"btn btn-primary"
value=
"确定"
>
<input
type=
"submit"
ng-click=
"createInputs(failedCount)"
class=
"btn btn-primary"
value=
"确定"
>
</div>
</div>
</td>
</td>
<!--<form ng-submit="createInputs()" style="padding-left: 15px;">-->
<!--<span style="font-size:20px;">余证数量:</span>-->
<!--<input style="margin-top:20px;height: 30px;" type="number" ng-model="restCount">-->
<!--<input type="submit" class="btn btn-primary" value="确定">-->
<!--<span style="font-size:14px;color: red;" ng-if="errMsglb">{{errMsglb}}</span>-->
<!--</form>-->
</tr>
</tr>
</table>
</table>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
...
@@ -109,8 +116,8 @@
...
@@ -109,8 +116,8 @@
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
<th>
受理组号
</th>
<th>
受理组号
</th>
<th>
身份证号
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th>
身份证号
</th>
<th>
废证原因
</th>
<th>
废证原因
</th>
<th>
保存时间
</th>
<th>
保存时间
</th>
<th>
工作组
</th>
<th>
工作组
</th>
...
...
src/main/resources/static/views/addFailed/addFailed.js
View file @
22708494
...
@@ -32,15 +32,15 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
...
@@ -32,15 +32,15 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
$scope
.
failedInfo
=
data
;
$scope
.
failedInfo
=
data
;
console
.
log
(
$scope
.
failedInfo
)
console
.
log
(
$scope
.
failedInfo
)
})
})
};
if
(
$rootScope
.
loginData
.
login
==
true
){
$scope
.
aselectFailedInfo
();
}
}
$scope
.
aselectFailedInfo
();
HttpService
.
getFailedReasonListData
(
function
(
data
)
{
HttpService
.
getFailedReasonListData
(
function
(
data
)
{
$scope
.
failedReason
=
data
;
$scope
.
failedReason
=
data
;
console
.
log
(
data
)
console
.
log
(
data
)
})
})
$scope
.
createInputs
=
function
(
failedCount
){
$scope
.
createInputs
=
function
(
failedCount
){
if
(
failedCount
>
0
){
if
(
failedCount
>
0
){
var
count
=
failedCount
;
var
count
=
failedCount
;
...
@@ -64,6 +64,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
...
@@ -64,6 +64,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
var
cancelAdd
=
$scope
.
cancelAdd
;
var
cancelAdd
=
$scope
.
cancelAdd
;
var
reGet
=
$scope
.
aselectFailedInfo
;
$scope
.
addFailed
=
function
(){
$scope
.
addFailed
=
function
(){
var
array
=
[];
var
array
=
[];
for
(
var
i
=
0
;
i
<
$scope
.
arr
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
arr
.
length
;
i
++
){
...
@@ -94,7 +95,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
...
@@ -94,7 +95,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
if
(
count
>
0
){
if
(
count
>
0
){
MessageService
.
showAlert
(
"身份证或者受理号不能为空"
)
MessageService
.
showAlert
(
"身份证或者受理号不能为空"
)
}
else
{
}
else
{
console
.
log
(
list
)
console
.
log
(
list
)
;
ngDialog
.
open
({
ngDialog
.
open
({
template
:
'dialogs/confirmFailedCards.html'
+
urlTimeStamp
(),
template
:
'dialogs/confirmFailedCards.html'
+
urlTimeStamp
(),
width
:
800
,
width
:
800
,
...
@@ -118,7 +119,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
...
@@ -118,7 +119,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
$scope
.
confirmAdd
=
function
(){
$scope
.
confirmAdd
=
function
(){
HttpService
.
addFailedCard
(
list
,
function
(
data
){
HttpService
.
addFailedCard
(
list
,
function
(
data
){
$scope
.
closeThisDialog
();
$scope
.
closeThisDialog
();
// MessageService.showAlert("添加成功"
);
reGet
(
);
cancelAdd
();
cancelAdd
();
console
.
log
(
data
)
console
.
log
(
data
)
})
})
...
@@ -139,7 +140,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
...
@@ -139,7 +140,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
$scope
.
confirmDelete
=
function
()
{
$scope
.
confirmDelete
=
function
()
{
HttpService
.
deleteFailedCard
(
failedCardId
,
function
(
data
)
{
HttpService
.
deleteFailedCard
(
failedCardId
,
function
(
data
)
{
$scope
.
closeThisDialog
();
$scope
.
closeThisDialog
();
$scope
.
aselectFailedInfo
();
reGet
();
})
})
};
};
}]
}]
...
...
src/main/resources/static/views/addRest/addRest.html
View file @
22708494
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<strong
class=
"box-header with-border"
>
余证添加
</strong>
<strong
class=
"box-header with-border"
>
余证添加
</strong>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
>
<form
ng-submit=
"createInputs()"
style=
"padding-left: 15px;"
>
<form
ng-submit=
"createInputs()"
style=
"padding-left: 15px;"
>
<span
style=
"font-size:20px;"
>
余证数量:
</span>
<span>
余证数量:
</span>
<input
style=
"margin-top:20px;height: 30px;"
type=
"number"
ng-model=
"restCount"
>
<input
style=
"margin-top:20px;height: 30px;"
type=
"number"
ng-model=
"restCount"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
...
...
src/main/resources/static/views/addRest/addRest.js
View file @
22708494
...
@@ -21,6 +21,7 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
...
@@ -21,6 +21,7 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//查询余证
//查询余证
$scope
.
aselectRestInfo
=
function
()
{
$scope
.
aselectRestInfo
=
function
()
{
var
date
=
$
(
'#datepicker'
).
val
();
var
date
=
$
(
'#datepicker'
).
val
();
...
@@ -47,13 +48,14 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
...
@@ -47,13 +48,14 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
}
else
{
}
else
{
MessageService
.
showAlert
(
"请输入正确的数字"
)
MessageService
.
showAlert
(
"请输入正确的数字"
)
}
}
}
}
;
$scope
.
cancelAddRest
=
function
(){
$scope
.
cancelAddRest
=
function
(){
$scope
.
arr
=
[];
$scope
.
arr
=
[];
}
}
;
var
cancel
=
$scope
.
cancelAddRest
;
var
cancel
=
$scope
.
cancelAddRest
;
var
reGetData
=
$scope
.
aselectRestInfo
;
$scope
.
addRest
=
function
(){
$scope
.
addRest
=
function
(){
var
array
=
[];
var
array
=
[];
var
count
=
0
;
var
count
=
0
;
...
@@ -92,6 +94,7 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
...
@@ -92,6 +94,7 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
$scope
.
closeThisDialog
();
$scope
.
closeThisDialog
();
// MessageService.showAlert("添加成功");
// MessageService.showAlert("添加成功");
cancel
();
cancel
();
reGetData
();
console
.
log
(
data
)
console
.
log
(
data
)
})
})
}
}
...
...
src/main/resources/static/views/addTag/addTag.html
View file @
22708494
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<strong
class=
"box-header with-border"
>
添加详单备注
</strong>
<strong
class=
"box-header with-border"
>
添加详单备注
</strong>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
>
<form
ng-submit=
"createInputs()"
style=
"padding-left: 15px;"
>
<form
ng-submit=
"createInputs()"
style=
"padding-left: 15px;"
>
<span
style=
"font-size:20px;"
>
证件数量:
</span>
<span>
证件数量:
</span>
<input
style=
"margin-top:20px;height: 30px;"
type=
"number"
ng-model=
"tagCount"
>
<input
style=
"margin-top:20px;height: 30px;"
type=
"number"
ng-model=
"tagCount"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
...
...
src/main/resources/static/views/addTag/addTag.js
View file @
22708494
...
@@ -32,7 +32,7 @@ angular.module('AvatarCheck.addTag', ['ngRoute', 'AvatarCheck.http'])
...
@@ -32,7 +32,7 @@ angular.module('AvatarCheck.addTag', ['ngRoute', 'AvatarCheck.http'])
}
}
var
cancelAdd
=
$scope
.
cancelAdd
var
cancelAdd
=
$scope
.
cancelAdd
;
$scope
.
addTags
=
function
(){
$scope
.
addTags
=
function
(){
var
array
=
[];
var
array
=
[];
for
(
var
i
=
0
;
i
<
$scope
.
arr
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
arr
.
length
;
i
++
){
...
...
src/main/resources/static/views/cardReport/cardReport.html
View file @
22708494
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</style>
</style>
<div
class=
"content row"
>
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box
box-default
"
>
<div
class=
"box"
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
<strong>
身份证卡体耗材统计报表
</strong>
<strong>
身份证卡体耗材统计报表
</strong>
</div>
</div>
...
@@ -47,12 +47,10 @@
...
@@ -47,12 +47,10 @@
</td>
</td>
<td>
卡体类型:
</td>
<td>
卡体类型:
</td>
<td>
<td>
<select
class=
"form-control select2"
id=
"cardBodyType1"
>
<select
class=
"form-control select2"
id=
"cardBodyType1"
data-placeholder=
"--请选择卡体类型--"
style=
"width: 100%;"
>
<option
value=
"0"
>
全部
</option>
<option
value=
"0"
>
全部
</option>
<option
value=
"1"
>
身份证卡体
</option>
<option
value=
"{{item.CARD_BODY_TYPE_ID}}"
ng-repeat=
"item in cardBodyTypeList"
>
{{item.CARD_BODY_TYPE_NAME}}
</option>
<option
value=
"2"
>
台湾居住证卡体
</option>
</select>
<option
value=
"3"
>
港澳居住证卡体
</option>
</select>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -76,9 +74,9 @@
...
@@ -76,9 +74,9 @@
</div></td>
</div></td>
</tr>
</tr>
</table>
</table>
<
!--<div ng-if="cardBodyCountData.list.length==0
">
<
div
ng-if=
"cardBodyCountData.list.length==1
"
>
<h4
style=
"padding-left: 10px;"
>
暂无数据
</h4>
<h4
style=
"padding-left: 10px;"
>
暂无数据
</h4>
</div>
-->
</div>
<div
class=
"box-info"
style=
"padding: 7px;padding-top: 0px;"
>
<div
class=
"box-info"
style=
"padding: 7px;padding-top: 0px;"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"cardBodyCountData.list.length>1"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"cardBodyCountData.list.length>1"
>
<thead>
<thead>
...
@@ -95,37 +93,36 @@
...
@@ -95,37 +93,36 @@
<td>
{{item.SAVE_DATE}}
</td>
<td>
{{item.SAVE_DATE}}
</td>
<td>
{{item.COUNT1}}
</td>
<td>
{{item.COUNT1}}
</td>
<td>
{{item.COUNT2}}
</td>
<td>
{{item.COUNT2}}
</td>
<td
ng-if=
"item.CARD_BODY_TYPE==0"
></td>
<td
ng-show=
"item.CARD_BODY_TYPE!=0"
>
{{item.CARD_BODY_TYPE}}
</td>
<td
ng-if=
"item.CARD_BODY_TYPE==1"
>
身份证卡体
</td>
<td
ng-show=
"item.CARD_BODY_TYPE==0"
></td>
<td
ng-if=
"item.CARD_BODY_TYPE==2"
>
香港居住证卡体
</td>
<td
ng-if=
"item.CARD_BODY_TYPE==3"
>
港澳居住证卡体
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.NAME}}
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<table
class=
"table table-bordered bg-info"
>
<th>
总计
</th>
<th>
出库数:
<span
ng-if=
"cardBodyCountData.total1==null"
>
0
</span>
<span
ng-if=
"cardBodyCountData.total1!=null"
>
{{cardBodyCountData.total1}}
</span>
</th>
<th>
入库数
<span
ng-if=
"cardBodyCountData.total2==null"
>
0
</span>
<span
ng-if=
"cardBodyCountData.total2!=null"
>
{{cardBodyCountData.total2}}
</span>
</th>
<th
colspan=
"2"
>
库存:{{cardBodyCountData.total2-cardBodyCountData.total1}}
</th>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"cardBodyCountData.list.length>1"
>
<div
style=
"padding-left: 27%;"
ng-if=
"cardBodyCountData.list.length>1"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box-header"
>
<strong>
卡体库存
</strong>
</div>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
>
<thead>
<tr>
<th
ng-repeat=
"name in cardBodyCountData.total"
>
{{name.CARD_BODY_TYPE_NAME}}
</th>
</tr>
</thead>
<tbody>
<tr>
<td
ng-repeat=
"count in cardBodyCountData.total"
>
{{count.TOTAL_COUNT}}
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/cardReport/cardReport.js
View file @
22708494
...
@@ -20,6 +20,13 @@ angular.module('AvatarCheck.cardReport', ['ngRoute', 'AvatarCheck.http', 'tm.pag
...
@@ -20,6 +20,13 @@ angular.module('AvatarCheck.cardReport', ['ngRoute', 'AvatarCheck.http', 'tm.pag
});
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
var
getCardTypeList
=
function
()
{
HttpService
.
getCardBodyTypeList
(
function
(
data
)
{
$scope
.
cardBodyTypeList
=
data
;
console
.
log
(
$scope
.
cardBodyTypeList
)
});
};
getCardTypeList
();
//Date picker
//Date picker
$
(
'#datepicker2'
).
datetimepicker
({
$
(
'#datepicker2'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
...
...
src/main/resources/static/views/createTaskList/createTaskList.html
View file @
22708494
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header with-border"
>
<div
class=
"box-header with-border"
>
<strong>
创建任务单
</strong>
<strong>
创建任务单
(
<span
ng-bind=
"totalCardProd"
></span>
)
</strong>
<div
class=
"box-tools pull-right"
>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
...
...
src/main/resources/static/views/createTaskList/createTaskList.js
View file @
22708494
...
@@ -23,19 +23,19 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
...
@@ -23,19 +23,19 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
todayBtn
:
1
,
todayBtn
:
1
,
autoclose
:
1
autoclose
:
1
});
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
searchCurrent
=
function
(){
$scope
.
searchCurrent
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
selected
=
[];
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
HttpService
.
getTaskListToCreate
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
HttpService
.
getTaskListToCreate
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -49,10 +49,12 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
...
@@ -49,10 +49,12 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
$scope
.
searchCurrent
();
$scope
.
searchCurrent
();
$scope
.
searchHistory
=
function
(){
$scope
.
searchHistory
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
1
;
$scope
.
isHistory
=
1
;
HttpService
.
getCreateHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
HttpService
.
getCreateHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
...
src/main/resources/static/views/dispatchTask/dispatchTask.html
View file @
22708494
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"box "
>
<div
class=
"box "
>
<div
class=
"box-header with-border"
>
<div
class=
"box-header with-border"
>
<strong>
请选择下发任务单
</strong>
<strong>
请选择下发任务单
(
<span
ng-bind=
"totalCardProd"
></span>
)
</strong>
<div
class=
"box-tools pull-right"
>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
...
...
src/main/resources/static/views/dispatchTask/dispatchTask.js
View file @
22708494
...
@@ -24,14 +24,16 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
...
@@ -24,14 +24,16 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
searchTaskList
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
selected
=
[];
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
HttpService
.
getTaskListByProcess
(
function
(
data
){
HttpService
.
getTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -44,10 +46,12 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
...
@@ -44,10 +46,12 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
searchTaskList
();
$scope
.
searchTaskList
();
$scope
.
searchHistory
=
function
(){
$scope
.
searchHistory
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
1
;
$scope
.
isHistory
=
1
;
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
...
src/main/resources/static/views/excelAndSearch/excelAndSearch.html
View file @
22708494
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
</div>
</div>
<div
class=
"box "
>
<div
class=
"box "
>
<strong
class=
"box-header with-border"
>
格口文件管理
</strong>
<strong
class=
"box-header with-border"
>
格口文件管理
</strong>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<tr>
<td>
上传时间:
</td>
<td>
上传时间:
</td>
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<div
class=
"box-info"
style=
"padding
: 7px;padding
-top: 0;"
>
<div
class=
"box-info"
style=
"padding-top: 0;"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"postPackageData.length>0"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"postPackageData.length>0"
>
<thead>
<thead>
<tr>
<tr>
...
...
src/main/resources/static/views/filmManagement/filmManagement.html
View file @
22708494
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box "
>
<div
class=
"box "
>
<strong
class=
"box-header"
>
添加膜耗材数据
</strong>
<strong
class=
"box-header"
>
添加膜耗材数据
</strong>
<
div
class=
"box box-primary"
>
<
form
name=
"form"
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<tr>
<td>
数量:
</td>
<td>
数量:
</td>
...
@@ -48,12 +48,12 @@
...
@@ -48,12 +48,12 @@
<td><input
type=
"text"
class=
"form-control"
ng-model=
"note"
placeholder=
"备注"
></td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"note"
placeholder=
"备注"
></td>
<td>
<td>
<div
style=
"text-align: left;"
>
<div
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"insertFilm()"
>
提交
</button>
<button
class=
"btn btn-primary"
ng-click=
"insertFilm()"
ng-disabled=
"form.$invalid"
>
提交
</button>
</div>
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
</
div
>
</
form
>
</div>
</div>
<div
class=
"box box-default"
>
<div
class=
"box box-default"
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</div>
</div>
</td>
</td>
<td
style=
"text-align: left;"
>
<td
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"select
Material
Management()"
>
查询
</button>
<button
class=
"btn btn-primary"
ng-click=
"select
Film
Management()"
>
查询
</button>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
<th>
保存时间
</th>
<th>
保存时间
</th>
<th>
数量
</th>
<th>
数量
(盒)
</th>
<th>
操作
</th>
<th>
操作
</th>
<th>
备注
</th>
<th>
备注
</th>
<th>
提交人
</th>
<th>
提交人
</th>
...
@@ -93,17 +93,32 @@
...
@@ -93,17 +93,32 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody
ng-repeat=
"item in filmManagement"
>
<tr
ng-repeat=
"item in filmManagement"
>
<tr
ng-if=
"item.plasticFilmType==1"
class=
"bg-gray"
>
<td>
{{item.plasticFilmId}}
</td>
<td>
{{item.saveDate | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.totalCount}}
</td>
<td>
出库
</td>
<td>
{{item.note}}
</td>
<td>
{{item.name}}
</td>
<td
ng-show=
"item.state==0"
>
<button
class=
"btn btn-info"
ng-click=
"updateFilmState(item)"
>
确认出库
</button>
</td>
<td
ng-show=
"item.state==1"
>
已确认
</td>
</tr>
<tr
ng-if=
"item.plasticFilmType==2"
>
<td>
{{item.plasticFilmId}}
</td>
<td>
{{item.plasticFilmId}}
</td>
<td>
{{item.saveDate | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.saveDate | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.totalCount}}
</td>
<td>
{{item.totalCount}}
</td>
<td
ng-if=
"item.plasticFilmType==1"
>
出库
</td>
<td>
入库
</td>
<td
ng-if=
"item.plasticFilmType==2"
>
入库
</td>
<td>
{{item.note}}
</td>
<td>
{{item.note}}
</td>
<td>
{{item.name}}
</td>
<td>
{{item.name}}
</td>
<td
ng-show=
"item.state==0"
>
<td
ng-show=
"item.state==0"
>
<button
class=
"btn btn-info"
ng-click=
"updateFilmState(item)"
>
确认审核
</button>
<button
class=
"btn btn-info"
ng-click=
"updateFilmState(item)"
>
确认入库
</button>
</td>
</td>
<td
ng-show=
"item.state==1"
>
已确认
</td>
<td
ng-show=
"item.state==1"
>
已确认
</td>
</tr>
</tr>
...
...
src/main/resources/static/views/filmManagement/filmManagement.js
View file @
22708494
...
@@ -55,9 +55,10 @@ angular.module('AvatarCheck.filmManagement', ['ngRoute', 'AvatarCheck.http'])
...
@@ -55,9 +55,10 @@ angular.module('AvatarCheck.filmManagement', ['ngRoute', 'AvatarCheck.http'])
$scope
.
filmManagement
=
data
;
$scope
.
filmManagement
=
data
;
console
.
log
(
$scope
.
filmManagement
,
"$scope.filmManagement"
)
console
.
log
(
$scope
.
filmManagement
,
"$scope.filmManagement"
)
})
})
};
if
(
$rootScope
.
loginData
.
login
==
true
){
$scope
.
selectFilmManagement
();
}
}
$scope
.
selectFilmManagement
();
$scope
.
updateFilmState
=
function
(
item
)
{
$scope
.
updateFilmState
=
function
(
item
)
{
HttpService
.
updateFilmStateData
(
item
.
plasticFilmId
,
function
(
data
)
{
HttpService
.
updateFilmStateData
(
item
.
plasticFilmId
,
function
(
data
)
{
$scope
.
selectFilmManagement
();
$scope
.
selectFilmManagement
();
...
...
src/main/resources/static/views/filmReport/filmReport.html
View file @
22708494
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<table
class=
"table table-bordered bg-
info
"
>
<table
class=
"table table-bordered bg-
gray
"
>
<th>
总计
</th>
<th>
总计
</th>
<th>
<th>
出库数:
出库数:
...
...
src/main/resources/static/views/historyCards/historyBack.html
View file @
22708494
...
@@ -8,12 +8,28 @@
...
@@ -8,12 +8,28 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
>
<strong
class=
"box-header with-border"
>
回迁证添加
</strong>
<strong
class=
"box-header with-border"
>
回迁证添加
</strong>
<form
style=
"padding-left: 15px;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom:10px;"
>
<span
style=
"font-size:20px;"
>
回迁证数量:
</span>
<tr>
<input
style=
"margin-top:20px;height: 30px;"
type=
"text"
ng-model=
"historyCount"
>
<td
width=
"200px"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
ng-click=
"createHistoryInputs()"
>
<span>
回迁证数量:
</span>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
</td>
</form>
<td
width=
"200px"
>
<input
class=
"form-control"
type=
"number"
ng-model=
"historyCount"
></td>
<td>
<div
style=
"text-align: left;"
>
<input
type=
"submit"
ng-click=
"createHistoryInputs(historyCount)"
class=
"btn btn-primary"
value=
"确定"
>
</div>
</td>
<!--<form style="padding-left: 15px;">
<span style="font-size:20px;">回迁证数量:</span>
<input style="margin-top:20px;height: 30px;" type="text" ng-model="historyCount">
<input type="submit" class="btn btn-primary" value="确定" ng-click="createHistoryInputs()">
<span style="font-size:14px;color: red;" ng-if="errMsglb">{{errMsglb}}</span>
</form>-->
</tr>
</table>
<div
style=
"padding: 15px;"
>
<div
style=
"padding: 15px;"
>
<table
class=
"table table-bordered"
>
<table
class=
"table table-bordered"
>
<tr
ng-repeat=
"item in arr"
>
<tr
ng-repeat=
"item in arr"
>
...
@@ -22,34 +38,98 @@
...
@@ -22,34 +38,98 @@
身份证号:
身份证号:
</td>
</td>
<td>
<td>
<input
type=
"text"
placeholder=
"请填写身份证号"
style=
"height: 34px;"
>
<input
type=
"text"
placeholder=
"请填写身份证号"
class=
"{{$index}}"
style=
"height: 34px;"
>
</td>
</td>
<td>
<td>
制证类型
:
工作组
:
</td>
</td>
<td>
<td>
<select
class=
"form-control select2
"
id=
"state
"
>
<select
class=
"form-control select2
{{$index}}"
id=
"workGroup
"
>
<option
value=
"
"
>
普通证
</option>
<option
value=
"
1"
>
A组
</option>
<option
value=
"
"
>
邮寄证
</option>
<option
value=
"
2"
>
B组
</option>
</select>
</select>
</td>
</td>
<td>
<td>
地区:
废证类型:
</td>
</td>
<td>
<td>
<select
class=
"form-control select2"
id=
"state"
>
<select
class=
"form-control select2 {{$index}}"
id=
"faildType"
>
<option
value=
""
>
回迁证
</option>
<option
value=
"{{item.failedCardReasonId}}"
ng-repeat=
"item in selectFailedCardDic"
>
{{item.failedCardReason}}
</option>
<option
value=
""
>
东城区
</option>
<option
value=
""
>
西城区
</option>
</select>
</select>
</td>
</td>
<td>
备注:
</td>
<td>
<input
type=
"text"
placeholder=
"请填写备注"
class=
"{{$index}}"
style=
"height: 34px;"
>
</td>
</tr>
</tr>
</table>
</table>
<div
ng-if=
"arr.length>0"
style=
"text-align: right;"
>
<div
ng-if=
"arr.length>0"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
>
添加
</button>
<button
class=
"btn btn-primary"
ng-click=
"addHistory()"
>
提交
</button>
<button
class=
"btn btn-danger"
ng-click=
"cancelAddHistory()"
>
取消
</button>
<button
class=
"btn btn-danger"
ng-click=
"cancelAddHistory()"
>
取消
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box-header"
>
<strong>
回迁证提交详情
</strong>
</div>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<td
width=
"200px;"
>
<span>
日期:
</span>
</td>
<td
width=
"200px;"
>
<input
type=
"text"
class=
"form-control"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
</td>
<td>
<div
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"selectBackInfo()"
>
查询
</button>
</div>
</td>
</tr>
</table>
<div
class=
"box-info"
style=
"padding: 7px;padding-top: 0px;"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"failedInfo.length>0"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
受理组号
</th>
<th>
姓名
</th>
<th>
身份证号
</th>
<th>
废证原因
</th>
<th>
保存时间
</th>
<th>
工作组
</th>
<th>
提交人
</th>
<th>
状态
</th>
<th>
备注
</th>
<th
ng-if=
"loginData.roleList[0].process==2"
>
操作
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in failedInfo"
>
<td>
{{$index+1}}
</td>
<th>
{{item.ACCEPT_NO}}
</th>
<td>
{{item.CARD_NAME}}
</td>
<td>
{{item.ID_NO}}
</td>
<th>
{{item.FAILED_CARD_REASON_ID}}
</th>
<td>
{{item.SUBMIT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td
ng-if=
"item.WORK_GROUP == 1"
>
A组
</td>
<td
ng-if=
"item.WORK_GROUP == 2"
>
B组
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.STATE}}
</td>
<td>
{{item.NOTE}}
</td>
<td
ng-if=
"loginData.roleList[0].process==2"
><a
ng-click=
"deleteFailed(item.FAILED_CARD_ID,item.ID_NO)"
>
删除
</a></td>
</tr>
</tbody>
</table>
<div
ng-if=
"failedInfo.length==0"
>
<h4
style=
"padding-left: 10px;"
>
暂无数据
</h4>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/historyCards/historyBack.js
View file @
22708494
...
@@ -11,15 +11,119 @@ angular.module('AvatarCheck.historyBack', ['ngRoute', 'AvatarCheck.http'])
...
@@ -11,15 +11,119 @@ angular.module('AvatarCheck.historyBack', ['ngRoute', 'AvatarCheck.http'])
.
controller
(
'historyBackCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
.
controller
(
'historyBackCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
$scope
.
createHistoryInputs
=
function
(){
//Date picker
$scope
.
arr
=
[];
$
(
'#datepicker'
).
datetimepicker
({
for
(
var
i
=
0
;
i
<
$scope
.
historyCount
;
i
++
){
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
$scope
.
arr
.
push
(
i
);
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//查询废证
$scope
.
selectBackInfo
=
function
()
{
var
date
=
$
(
'#datepicker'
).
val
();
if
(
date
==
""
){
date
=
$scope
.
choseDate
}
}
HttpService
.
selectFailedInfo
(
date
,
$rootScope
.
loginData
.
name
,
function
(
data
){
$scope
.
failedInfo
=
data
;
console
.
log
(
$scope
.
failedInfo
)
})
};
if
(
$rootScope
.
loginData
.
login
==
true
){
HttpService
.
getFailedTypeList
(
function
(
data
)
{
$scope
.
selectFailedCardDic
=
data
;
console
.
log
(
$scope
.
selectFailedCardDic
)
})
$scope
.
selectBackInfo
();
}
}
$scope
.
createHistoryInputs
=
function
(
historyCount
){
if
(
historyCount
>
0
){
var
count
=
historyCount
;
if
(
count
>
10
){
count
=
10
;
}
$scope
.
arr
=
[];
for
(
var
i
=
0
;
i
<
count
;
i
++
){
$scope
.
arr
.
push
(
i
);
}
}
else
{
MessageService
.
showAlert
(
"请输入正确的数字"
)
}
};
$scope
.
cancelAddHistory
=
function
(){
$scope
.
cancelAddHistory
=
function
(){
$scope
.
arr
=
[];
$scope
.
arr
=
[];
};
var
cancelAdd
=
$scope
.
cancelAdd
;
var
reGet
=
$scope
.
selectBackInfo
;
$scope
.
addHistory
=
function
()
{
var
array
=
[];
for
(
var
i
=
0
;
i
<
$scope
.
arr
.
length
;
i
++
){
for
(
var
j
=
0
;
j
<
$
(
"."
+
i
).
length
;
j
++
){
array
.
push
(
$
(
"."
+
i
)[
j
].
value
)
}
}
var
result
=
[];
console
.
log
(
array
)
for
(
var
i
=
0
,
j
=
array
.
length
;
i
<
j
;
i
+=
4
)
{
result
.
push
(
array
.
slice
(
i
,
i
+
4
));
}
console
.
log
(
result
)
var
list
=
[];
var
count
=
0
;
for
(
var
i
=
0
;
i
<
result
.
length
;
i
++
){
if
(
result
[
i
][
0
]
==
''
){
count
=
count
+
1
;
}
else
{
var
json
=
{};
json
.
cardId
=
result
[
i
][
0
];
json
.
workGroup
=
result
[
i
][
1
];
json
.
failedCardReasonId
=
result
[
i
][
2
];
json
.
note
=
result
[
i
][
3
];
json
.
name
=
$rootScope
.
loginData
.
name
;
list
.
push
(
json
)
}
}
if
(
count
>
0
){
MessageService
.
showAlert
(
"身份证或者受理号不能为空"
)
}
else
{
console
.
log
(
list
);
ngDialog
.
open
({
template
:
'dialogs/confirmFailedCards.html'
+
urlTimeStamp
(),
width
:
800
,
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
'HttpService'
,
'MessageService'
,
function
(
$scope
,
HttpService
,
MessageService
)
{
var
idCardArr
=
[];
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
){
idCardArr
.
push
(
list
[
i
].
cardId
);
}
HttpService
.
getPersonInfo
(
idCardArr
,
function
(
data
){
$scope
.
personInfo
=
data
;
$scope
.
can
=
false
;
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
){
$scope
.
can
=
true
;
}
}
console
.
log
(
$scope
.
personInfo
)
});
console
.
log
(
list
)
$scope
.
confirmAdd
=
function
(){
HttpService
.
addHistoryCard
(
list
,
function
(
data
){
$scope
.
closeThisDialog
();
reGet
();
cancelAdd
();
console
.
log
(
data
)
})
}
}]
});
}
}
}
});
});
\ No newline at end of file
src/main/resources/static/views/insertCardBody/insertCardBody.html
View file @
22708494
...
@@ -35,18 +35,16 @@
...
@@ -35,18 +35,16 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box"
>
<div
class=
"box"
>
<strong
class=
"box-header"
>
添加卡体耗材数据
</strong>
<strong
class=
"box-header"
>
添加卡体耗材数据
</strong>
<
div
class=
"box box-primary"
>
<
form
name=
"form"
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<tr>
<td>
数量:
</td>
<td>
数量:
</td>
<td><input
type=
"number"
ng-model=
"totalCount"
placeholder=
"数量"
></td>
<td><input
type=
"number"
ng-model=
"totalCount"
placeholder=
"数量"
required
></td>
<td>
卡体类型:
</td>
<td>
卡体类型:
</td>
<td>
<td>
<select
class=
"form-control select2"
id=
"cardBodyType"
>
<select
class=
"form-control select2"
id=
"cardBodyType"
data-placeholder=
"--请选择卡体类型--"
style=
"width: 100%;"
>
<option
value=
"1"
>
身份证卡体
</option>
<option
value=
"{{item.CARD_BODY_TYPE_ID}}"
ng-repeat=
"item in cardBodyTypeList"
>
{{item.CARD_BODY_TYPE_NAME}}
</option>
<option
value=
"2"
>
台湾居住证卡体
</option>
</select>
<option
value=
"3"
>
港澳居住证卡体
</option>
</select>
</td>
</td>
<td>
操作:
</td>
<td>
操作:
</td>
<td>
<td>
...
@@ -59,12 +57,12 @@
...
@@ -59,12 +57,12 @@
</td>
</td>
<td>
<td>
<div
style=
"text-align: left;"
>
<div
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"insertCardBody()"
>
提交
</button>
<button
class=
"btn btn-primary"
ng-click=
"insertCardBody()"
ng-disabled=
"form.$invalid"
>
提交
</button>
</div>
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
</
div
>
</
form
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
...
@@ -83,12 +81,10 @@
...
@@ -83,12 +81,10 @@
</td>
</td>
<td>
卡体类型:
</td>
<td>
卡体类型:
</td>
<td>
<td>
<select
class=
"form-control select2"
id=
"cardBodyType1"
>
<select
class=
"form-control select2"
id=
"cardBodyType1"
style=
"width: 100%;"
>
<option
value=
"0"
>
全部
</option>
<option
value=
"0"
>
全部
</option>
<option
value=
"1"
>
身份证卡体
</option>
<option
value=
"{{item.CARD_BODY_TYPE_ID}}"
ng-repeat=
"item in cardBodyTypeList"
>
{{item.CARD_BODY_TYPE_NAME}}
</option>
<option
value=
"2"
>
台湾居住证卡体
</option>
</select>
<option
value=
"3"
>
港澳居住证卡体
</option>
</select>
</td>
</td>
<td>
操作:
</td>
<td>
操作:
</td>
<td>
<td>
...
@@ -112,7 +108,8 @@
...
@@ -112,7 +108,8 @@
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
<th>
保存时间
</th>
<th>
保存时间
</th>
<th>
数量
</th>
<th>
数量(张)
</th>
<th>
卡体类型
</th>
<th>
卡基类型
</th>
<th>
卡基类型
</th>
<th>
备注
</th>
<th>
备注
</th>
<th>
提交人
</th>
<th>
提交人
</th>
...
@@ -121,25 +118,26 @@
...
@@ -121,25 +118,26 @@
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in cardBodyManagement.cardBody"
>
<tr
ng-repeat=
"item in cardBodyManagement.cardBody"
>
<td>
{{item.cardBodyId}}
</td>
<td>
{{item.CARD_BODY_ID}}
</td>
<td>
{{item.saveDate | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.SAVE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.totalCount}}
</td>
<td>
{{item.TOTAL_COUNT}}
</td>
<td
ng-if=
"item.cardType==1"
>
出库
</td>
<td>
{{item.CARD_BODY_TYPE_NAME}}
</td>
<td
ng-if=
"item.cardType==2"
>
入库
</td>
<td
ng-if=
"item.CARD_TYPE==1"
>
出库
</td>
<td>
{{item.note}}
</td>
<td
ng-if=
"item.CARD_TYPE==2"
>
入库
</td>
<td>
{{item.name}}
</td>
<td>
{{item.NOTE}}
</td>
<td
ng-if=
"item.state==0"
class=
"text-danger"
>
未审核
</td>
<td>
{{item.NAME}}
</td>
<td
ng-if=
"item.state==1"
class=
"text-success"
>
审核通过
</td>
<td
ng-if=
"item.STATE==0"
class=
"text-danger"
>
未审核
</td>
<td
ng-if=
"item.STATE==1"
class=
"text-success"
>
审核通过
</td>
</tr>
</tr>
<tr
class=
"bg-
info
"
>
<tr
class=
"bg-
gray
"
>
<th>
合计
</th>
<th>
合计
</th>
<th
colspan=
"2"
>
出库数:
</th>
<th
colspan=
"2"
>
出库数:
</th>
<th
ng-if=
"cardBodyManagement.cardCount1==null"
>
0
</th>
<th
ng-if=
"cardBodyManagement.cardCount1==null"
>
0
</th>
<th
ng-if=
"cardBodyManagement.cardCount1!=null"
>
{{cardBodyManagement.cardCount1}}
</th>
<th
ng-if=
"cardBodyManagement.cardCount1!=null"
>
{{cardBodyManagement.cardCount1}}
</th>
<th
colspan=
"2"
>
入库数:
</th>
<th
colspan=
"2"
>
入库数:
</th>
<th
ng-if=
"cardBodyManagement.cardCount2==null"
>
0
</th>
<th
colspan=
"2"
ng-if=
"cardBodyManagement.cardCount2==null"
>
0
</th>
<th
ng-if=
"cardBodyManagement.cardCount2!=null"
>
{{cardBodyManagement.cardCount2}}
</th>
<th
colspan=
"2"
ng-if=
"cardBodyManagement.cardCount2!=null"
>
{{cardBodyManagement.cardCount2}}
</th>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/views/insertCardBody/insertCardBody.js
View file @
22708494
...
@@ -28,6 +28,14 @@ angular.module("AvatarCheck.insertCardBody",['ngRoute', 'AvatarCheck.http'])
...
@@ -28,6 +28,14 @@ angular.module("AvatarCheck.insertCardBody",['ngRoute', 'AvatarCheck.http'])
});
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
var
getCardTypeList
=
function
()
{
HttpService
.
getCardBodyTypeList
(
function
(
data
)
{
$scope
.
cardBodyTypeList
=
data
;
console
.
log
(
$scope
.
cardBodyTypeList
)
});
};
getCardTypeList
();
$scope
.
insertCardBody
=
function
()
{
$scope
.
insertCardBody
=
function
()
{
var
totalCount
=
$scope
.
totalCount
;
var
totalCount
=
$scope
.
totalCount
;
...
...
src/main/resources/static/views/insertFilm/insertFilm.html
View file @
22708494
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box "
>
<div
class=
"box "
>
<strong
class=
"box-header"
>
添加膜耗材数据
</strong>
<strong
class=
"box-header"
>
添加膜耗材数据
</strong>
<
div
class=
"box box-primary"
>
<
form
name=
"form"
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<tr>
<td>
数量:
</td>
<td>
数量:
</td>
...
@@ -48,12 +48,12 @@
...
@@ -48,12 +48,12 @@
<td><input
type=
"text"
class=
"form-control"
ng-model=
"note"
placeholder=
"备注"
></td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"note"
placeholder=
"备注"
></td>
<td>
<td>
<div
style=
"text-align: left;"
>
<div
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"insertFilm()"
>
提交
</button>
<button
class=
"btn btn-primary"
ng-click=
"insertFilm()"
ng-disabled=
"form.$invalid"
>
提交
</button>
</div>
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
</
div
>
</
form
>
</div>
</div>
<div
class=
"box box-default"
>
<div
class=
"box box-default"
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
<th>
提交时间
</th>
<th>
提交时间
</th>
<th>
数量
</th>
<th>
数量
(盒)
</th>
<th>
操作
</th>
<th>
操作
</th>
<th>
备注
</th>
<th>
备注
</th>
<th>
提交人
</th>
<th>
提交人
</th>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
<td
ng-if=
"item.state==1"
class=
"text-success"
>
已审核
</td>
<td
ng-if=
"item.state==1"
class=
"text-success"
>
已审核
</td>
</tr>
</tr>
<tr
class=
"bg-
info
"
>
<tr
class=
"bg-
gray
"
>
<th>
合计
</th>
<th>
合计
</th>
<th
colspan=
"2"
>
出库数:
</th>
<th
colspan=
"2"
>
出库数:
</th>
<th
ng-if=
"plasticFilmdata.plasticFilmCount1==null"
>
0
</th>
<th
ng-if=
"plasticFilmdata.plasticFilmCount1==null"
>
0
</th>
...
...
src/main/resources/static/views/materialManagement/materialManagement.html
View file @
22708494
...
@@ -35,18 +35,16 @@
...
@@ -35,18 +35,16 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box"
>
<div
class=
"box"
>
<strong
class=
"box-header"
>
添加卡体耗材数据
</strong>
<strong
class=
"box-header"
>
添加卡体耗材数据
</strong>
<
div
class=
"box box-primary"
>
<
form
name=
"form"
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<tr>
<td>
数量:
</td>
<td>
数量:
</td>
<td><input
type=
"number"
class=
"form-control"
ng-model=
"totalCount"
placeholder=
"数量"
></td>
<td><input
type=
"number"
class=
"form-control"
ng-model=
"totalCount"
placeholder=
"数量"
required
></td>
<td>
卡体类型:
</td>
<td>
卡体类型:
</td>
<td>
<td>
<select
class=
"form-control select2"
id=
"cardBodyType"
>
<select
class=
"form-control select2"
id=
"cardBodyType"
data-placeholder=
"--请选择卡体类型--"
style=
"width: 100%;"
>
<option
value=
"1"
>
身份证卡体
</option>
<option
value=
"{{item.CARD_BODY_TYPE_ID}}"
ng-repeat=
"item in cardBodyTypeList"
>
{{item.CARD_BODY_TYPE_NAME}}
</option>
<option
value=
"2"
>
香港居住证卡体
</option>
</select>
<option
value=
"3"
>
港澳居住证卡体
</option>
</select>
</td>
</td>
<td>
操作:
</td>
<td>
操作:
</td>
<td>
<td>
...
@@ -59,12 +57,12 @@
...
@@ -59,12 +57,12 @@
</td>
</td>
<td>
<td>
<div
style=
"text-align: left;"
>
<div
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"insertCardBody()"
>
提交
</button>
<button
class=
"btn btn-primary"
ng-click=
"insertCardBody()"
ng-disabled=
"form.$invalid"
>
提交
</button>
</div>
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
</
div
>
</
form
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
...
@@ -96,26 +94,40 @@
...
@@ -96,26 +94,40 @@
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
<th>
保存时间
</th>
<th>
保存时间
</th>
<th>
数量
</th>
<th>
数量(张)
</th>
<th>
卡基类型
</th>
<th>
卡体类型
</th>
<th>
操作
</th>
<th>
备注
</th>
<th>
备注
</th>
<th>
提交人
</th>
<th>
提交人
</th>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody
ng-repeat=
"item in materialManagement"
>
<tr
ng-repeat=
"item in materialManagement"
>
<tr
ng-if=
"item.CARD_TYPE==1"
class=
"bg-gray"
>
<td>
{{item.cardBodyId}}
</td>
<td>
{{item.CARD_BODY_ID}}
</td>
<td>
{{item.saveDate | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.SAVE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.totalCount}}
</td>
<td>
{{item.TOTAL_COUNT}}
</td>
<td
ng-if=
"item.cardType==1"
>
出库
</td>
<td>
{{item.CARD_BODY_TYPE_NAME}}
</td>
<td
ng-if=
"item.cardType==2"
>
入库
</td>
<td>
出库
</td>
<td>
{{item.note}}
</td>
<td>
{{item.NOTE}}
</td>
<td>
{{item.name}}
</td>
<td>
{{item.NAME}}
</td>
<td
ng-if=
"item.state==0"
>
<td
ng-if=
"item.STATE==0"
>
<button
class=
"btn btn-info"
ng-click=
"updateApplyState(item)"
>
确认审核
</button>
<button
class=
"btn btn-info"
ng-click=
"updateApplyState(item.CARD_BODY_ID)"
>
确认出库
</button>
</td>
<td
ng-if=
"item.STATE==1"
>
已确认
</td>
</tr>
<tr
ng-if=
"item.CARD_TYPE==2"
>
<td>
{{item.CARD_BODY_ID}}
</td>
<td>
{{item.SAVE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.TOTAL_COUNT}}
</td>
<td>
{{item.CARD_BODY_TYPE_NAME}}
</td>
<td>
入库
</td>
<td>
{{item.NOTE}}
</td>
<td>
{{item.NAME}}
</td>
<td
ng-if=
"item.STATE==0"
>
<button
class=
"btn btn-info"
ng-click=
"updateApplyState(item.CARD_BODY_ID)"
>
确认入库
</button>
</td>
</td>
<td
ng-if=
"item.
state==1"
>
已审核
</td>
<td
ng-if=
"item.
STATE==1"
>
已确认
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/views/materialManagement/materialManagement.js
View file @
22708494
...
@@ -21,6 +21,12 @@ angular.module('AvatarCheck.materialManagement', ['ngRoute', 'AvatarCheck.http']
...
@@ -21,6 +21,12 @@ angular.module('AvatarCheck.materialManagement', ['ngRoute', 'AvatarCheck.http']
});
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
var
getCardTypeList
=
function
()
{
HttpService
.
getCardBodyTypeList
(
function
(
data
)
{
$scope
.
cardBodyTypeList
=
data
;
console
.
log
(
$scope
.
cardBodyTypeList
)
});
};
$scope
.
insertCardBody
=
function
()
{
$scope
.
insertCardBody
=
function
()
{
...
@@ -59,11 +65,13 @@ angular.module('AvatarCheck.materialManagement', ['ngRoute', 'AvatarCheck.http']
...
@@ -59,11 +65,13 @@ angular.module('AvatarCheck.materialManagement', ['ngRoute', 'AvatarCheck.http']
$scope
.
materialManagement
=
data
;
$scope
.
materialManagement
=
data
;
console
.
log
(
$scope
.
materialManagement
,
"$scope.materialManagement"
)
console
.
log
(
$scope
.
materialManagement
,
"$scope.materialManagement"
)
})
})
};
if
(
$rootScope
.
loginData
.
login
==
true
){
$scope
.
selectMaterialManagement
();
getCardTypeList
();
}
}
$scope
.
selectMaterialManagement
();
$scope
.
updateApplyState
=
function
(
CARD_BODY_ID
)
{
HttpService
.
updateApplyStateData
(
CARD_BODY_ID
,
function
(
data
)
{
$scope
.
updateApplyState
=
function
(
item
)
{
HttpService
.
updateApplyStateData
(
item
.
cardBodyId
,
function
(
data
)
{
$scope
.
selectMaterialManagement
();
$scope
.
selectMaterialManagement
();
})
})
}
}
...
...
src/main/resources/static/views/querySortingReport/querySortingReport.js
View file @
22708494
...
@@ -16,8 +16,6 @@ angular.module("AvatarCheck.querySortingReport",['ngRoute', 'AvatarCheck.http'])
...
@@ -16,8 +16,6 @@ angular.module("AvatarCheck.querySortingReport",['ngRoute', 'AvatarCheck.http'])
todayBtn
:
1
,
todayBtn
:
1
,
autoclose
:
1
autoclose
:
1
});
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//Date picker
//Date picker
$
(
'#datepicker2'
).
datetimepicker
({
$
(
'#datepicker2'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
...
@@ -37,6 +35,8 @@ angular.module("AvatarCheck.querySortingReport",['ngRoute', 'AvatarCheck.http'])
...
@@ -37,6 +35,8 @@ angular.module("AvatarCheck.querySortingReport",['ngRoute', 'AvatarCheck.http'])
$scope
.
sortingReportList
=
data
;
$scope
.
sortingReportList
=
data
;
console
.
log
(
$scope
.
sortingReportList
);
console
.
log
(
$scope
.
sortingReportList
);
})
})
};
if
(
$rootScope
.
loginData
.
login
==
true
){
$scope
.
querySortingReport
();
}
}
$scope
.
querySortingReport
();
});
})
\ No newline at end of file
\ No newline at end of file
src/main/resources/static/views/queryWorkGroupReport/queryWorkGroupReport.html
View file @
22708494
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
<div
ng-if=
"groupReportList.length>1"
>
<div
ng-if=
"groupReportList.length>1"
>
<div
class=
"mailbox-messages"
>
<div
class=
"mailbox-messages"
>
<table
class=
"table table-hover
"
>
<table
class=
"table table-hover
postTable"
>
<thead>
<thead>
<tr>
<tr>
<th>
日期
</th>
<th>
日期
</th>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<th>
废证
</th>
<th>
废证
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
ng-repeat=
"item in groupReportList | orderBy:date"
ng-class=
"{true: 'bg-
info
', false: ''}[item.date=='合计']"
>
<tbody
ng-repeat=
"item in groupReportList | orderBy:date"
ng-class=
"{true: 'bg-
gray
', false: ''}[item.date=='合计']"
>
<tr>
<tr>
<td>
{{item.date}}
</td>
<td>
{{item.date}}
</td>
<td>
{{item.you}}
</td>
<td>
{{item.you}}
</td>
...
...
src/main/resources/static/views/queryWorkGroupReport/queryWorkGroupReport.js
View file @
22708494
...
@@ -47,5 +47,7 @@ angular.module("AvatarCheck.queryWorkGroupReport",['ngRoute', 'AvatarCheck.http'
...
@@ -47,5 +47,7 @@ angular.module("AvatarCheck.queryWorkGroupReport",['ngRoute', 'AvatarCheck.http'
console
.
log
(
$scope
.
groupReportList
);
console
.
log
(
$scope
.
groupReportList
);
})
})
}
}
$scope
.
queryWorkGroupReport
();
if
(
$rootScope
.
loginData
.
login
==
true
){
})
$scope
.
queryWorkGroupReport
();
}
});
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
22708494
...
@@ -47,7 +47,8 @@
...
@@ -47,7 +47,8 @@
<thead>
<thead>
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
<th>
派出所代码
</th>
<!--<th>派出所代码</th>-->
<th>
受理组号
</th>
<th>
派出所名称
</th>
<th>
派出所名称
</th>
<th>
数量
</th>
<th>
数量
</th>
<th>
打印卸载
</th>
<th>
打印卸载
</th>
...
@@ -58,7 +59,8 @@
...
@@ -58,7 +59,8 @@
<tbody>
<tbody>
<tr
ng-click=
"showDetail(item)"
ng-repeat=
"item in tagPrintData"
class=
"{{item.styleClass}}"
>
<tr
ng-click=
"showDetail(item)"
ng-repeat=
"item in tagPrintData"
class=
"{{item.styleClass}}"
>
<td>
{{$index+1}}
</td>
<td>
{{$index+1}}
</td>
<td>
{{item.POLICE_CODE}}
</td>
<!--<td>{{item.POLICE_CODE}}</td>-->
<td>
{{item.QR_CODE}}
</td>
<td>
{{item.GAJG_MC}}
</td>
<td>
{{item.GAJG_MC}}
</td>
<td>
{{item.FINISH_COUNT}}
</td>
<td>
{{item.FINISH_COUNT}}
</td>
<td>
{{item.download}}
</td>
<td>
{{item.download}}
</td>
...
...
src/main/resources/static/views/task/task.js
View file @
22708494
...
@@ -44,9 +44,11 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -44,9 +44,11 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
searchTaskList
=
function
(){
$
(
'#datepicker'
).
val
(
$scope
.
choseDate
)
$scope
.
totalCardProd
=
0
;
$scope
.
selected
=
[];
$scope
.
selected
=
[];
$rootScope
.
cardsTotal
=
0
;
$rootScope
.
cardsTotal
=
0
;
$scope
.
restCount
=
0
;
$scope
.
restCount
=
0
;
...
@@ -54,6 +56,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -54,6 +56,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
HttpService
.
getTaskListByProcess
(
function
(
data
){
HttpService
.
getTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -66,10 +69,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -66,10 +69,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
searchTaskList
();
$scope
.
searchTaskList
();
$scope
.
searchHistory
=
function
(){
$scope
.
searchHistory
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
1
;
$scope
.
isHistory
=
1
;
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -438,14 +443,17 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -438,14 +443,17 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
searchTaskList
=
function
(){
$
(
'#datepicker'
).
val
(
$scope
.
choseDate
);
$scope
.
totalCardProd
=
0
;
$scope
.
selected
=
[];
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
HttpService
.
getDxrTaskListByProcess
(
function
(
data
){
HttpService
.
getDxrTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -458,10 +466,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -458,10 +466,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
searchTaskList
();
$scope
.
searchTaskList
();
$scope
.
searchHistory
=
function
(){
$scope
.
searchHistory
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
1
;
$scope
.
isHistory
=
1
;
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -616,13 +626,17 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -616,13 +626,17 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
searchTaskList
=
function
(){
$
(
'#datepicker'
).
val
(
$scope
.
choseDate
);
$scope
.
totalCardProd
=
0
;
$scope
.
selected
=
[];
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
HttpService
.
getFjTaskListByProcess
(
function
(
data
){
HttpService
.
getFjTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
@@ -637,10 +651,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -637,10 +651,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
}
}
$scope
.
searchHistory
=
function
(){
$scope
.
searchHistory
=
function
(){
$scope
.
totalCardProd
=
0
;
$scope
.
isHistory
=
1
;
$scope
.
isHistory
=
1
;
HttpService
.
getFjHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
HttpService
.
getFjHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
$scope
.
totalCardProd
=
$scope
.
totalCardProd
+
$scope
.
cycleSheetData
[
i
].
typeSum
;
if
(
i
==
$scope
.
currentTab
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
}
else
{
...
...
src/main/resources/static/views/task/taskListEwriting.html
View file @
22708494
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header with-border"
>
<div
class=
"box-header with-border"
>
<strong>
任务单详情
</strong>
<strong>
任务单详情
(
<span
ng-bind=
"totalCardProd"
></span>
)
</strong>
<div
class=
"box-tools pull-right"
>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchTaskList()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchTaskList()"
>
当前
</button>
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
22708494
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header with-border"
>
<div
class=
"box-header with-border"
>
<strong>
任务单详情
</strong>
<strong>
任务单详情
(
<span
ng-bind=
"totalCardProd"
></span>
)
</strong>
<div
class=
"box-tools pull-right"
>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchTaskList()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchTaskList()"
>
当前
</button>
...
...
src/main/resources/static/views/task/taskListSorting.html
View file @
22708494
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box "
>
<div
class=
"box "
>
<div
class=
"box-header with-border"
>
<div
class=
"box-header with-border"
>
<strong>
任务单详情
</strong>
<strong>
任务单详情
(
<span
ng-bind=
"totalCardProd"
></span>
)
</strong>
<div
class=
"box-tools pull-right"
>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.html
View file @
22708494
...
@@ -29,70 +29,70 @@
...
@@ -29,70 +29,70 @@
</style>
</style>
<div
class=
"content row"
>
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:17px;"
>
<div
class=
"col-md-12"
style=
"margin-top:17px;"
>
<div
class=
"box "
>
<div
class=
"box "
>
<strong
class=
"box-header"
>
快递单信息管理
</strong>
<strong
class=
"box-header"
>
快递单信息管理
</strong>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<tr>
<td>
申请人姓名:
</td>
<td>
申请人姓名:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"applicantName"
placeholder=
"申请人姓名"
></td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"applicantName"
placeholder=
"申请人姓名"
></td>
<td>
订单号:
</td>
<td>
订单号:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"orderNo"
placeholder=
"订单号"
></td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"orderNo"
placeholder=
"订单号"
></td>
<td>
邮件号:
</td>
<td>
邮件号:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"emailNo"
placeholder=
"邮件号"
></td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"emailNo"
placeholder=
"邮件号"
></td>
</tr>
</tr>
<tr>
<tr>
<td>
数据状态:
</td>
<td>
数据状态:
</td>
<td
style=
"text-align: left;"
>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"notNull"
ng-model=
"isValid"
>
<select
class=
"form-control select2"
id=
"notNull"
ng-model=
"isValid"
>
<option
value=
""
>
--请选择数据状态--
</option>
<option
value=
""
>
--请选择数据状态--
</option>
<option
value=
"1"
>
有效记录
</option>
<option
value=
"1"
>
有效记录
</option>
<option
value=
"0"
>
无效记录
</option>
<option
value=
"0"
>
无效记录
</option>
</select>
</select>
</td>
<td
>
格口:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"gkxx"
placeholder=
"格口"
></td>
<td>
区县:
</td>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"county"
multiple=
"multiple"
data-placeholder=
"--请选择区县--"
style=
"width: 100%;"
ng-model=
"currentCounty"
>
<option
value=
"{{county.countyCode}}"
ng-repeat=
"county in countyList"
>
{{county.countyname}}
</option>
</select>
</td>
</tr>
<tr>
<td>
Excel导入时间:
</td>
<td>
<div
class=
"input-group date"
>
<div
class=
"input-group-addon"
>
<i
class=
"fa fa-calendar"
></i>
</div>
<input
type=
"text"
class=
"form-control pull-right"
value=
"{{choseDate}}"
id=
"datepicker"
readonly
/>
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span></span>
</div>
</td>
</td>
<td
>
格口:
</td>
<td>
打印状态:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"gkxx"
placeholder=
"格口"
></td>
<td
style=
"text-align: left;"
>
<td>
区县:
</td>
<select
class=
"form-control select2"
id=
"print"
<td
style=
"text-align: left;"
>
ng-model=
"isPrint"
>
<select
class=
"form-control select2"
id=
"county"
multiple=
"multiple"
data-placeholder=
"--请选择区县--"
<option
value=
""
>
--请选择打印状态--
</option>
style=
"width: 100%;"
ng-model=
"currentCounty"
>
<option
value=
"1"
>
已打印
</option>
<option
value=
"{{county.countyCode}}"
ng-repeat=
"county in countyList"
>
{{county.countyname}}
</option>
<option
value=
"0"
>
未打印
</option>
</select>
</select>
</td>
</td>
</tr>
<td
colspan=
"2"
>
<tr>
<div
style=
"float: left"
>
<td>
Excel导入时间:
</td>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"doQuery()"
>
查询
</button>
<td>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"subSomething()"
>
读卡查询
</button>
<div
class=
"input-group date"
>
<button
type=
"submit"
class=
"btn btn-info"
style=
"margin-right: 7px;"
ng-click=
"downloadExcel()"
>
下载Excel
</button>
<div
class=
"input-group-addon"
>
<button
type=
"submit"
class=
"btn btn-danger"
ng-click=
"deleteRecords()"
>
删除
</button>
<i
class=
"fa fa-calendar"
></i>
</div>
</div>
<input
type=
"text"
class=
"form-control pull-right"
value=
"{{choseDate}}"
id=
"datepicker"
readonly
/>
</td>
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span></span>
</tr>
</div>
</table>
</td>
</div>
<td>
打印状态:
</td>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"print"
ng-model=
"isPrint"
>
<option
value=
""
>
--请选择打印状态--
</option>
<option
value=
"1"
>
已打印
</option>
<option
value=
"0"
>
未打印
</option>
</select>
</td>
<td
colspan=
"2"
>
<div
style=
"float: left"
>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"doQuery()"
>
查询
</button>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"subSomething()"
>
读卡查询
</button>
<button
type=
"submit"
class=
"btn btn-info"
style=
"margin-right: 7px;"
ng-click=
"downloadExcel()"
>
下载Excel
</button>
<button
type=
"submit"
class=
"btn btn-danger"
ng-click=
"deleteRecords()"
>
删除
</button>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<div
class=
"box box-default"
>
<div
class=
"box box-default"
>
<div
class=
"box-header with-border"
><strong>
邮寄单详情
</strong>
<div
class=
"box-header with-border"
><strong>
邮寄单详情
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
</div>
{{paginationConf.totalItems}}条
</span>
)
</div>
...
@@ -136,5 +136,5 @@
...
@@ -136,5 +136,5 @@
<h4
ng-if=
"postData.length==0"
>
暂无记录。
</h4>
<h4
ng-if=
"postData.length==0"
>
暂无记录。
</h4>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
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