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
e792c263
Commit
e792c263
authored
Mar 16, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁用传参id
parent
16b85499
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
15 deletions
+7
-15
service.js
src/main/resources/static/js/service.js
+3
-3
cardProdPackage.html
...sources/static/views/cardProdPackage/cardProdPackage.html
+2
-2
cardProdPackage.js
...resources/static/views/cardProdPackage/cardProdPackage.js
+2
-2
task.js
src/main/resources/static/views/task/task.js
+0
-8
No files found.
src/main/resources/static/js/service.js
View file @
e792c263
...
@@ -732,13 +732,13 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -732,13 +732,13 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
},
updateIsValidData
:
function
(
slh
,
isValid
,
success
){
updateIsValidData
:
function
(
id
,
isValid
,
success
){
console
.
log
(
slh
,
isValid
)
console
.
log
(
id
,
isValid
)
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
url
:
"../queryPreproPerson/updatePreproPerson"
+
urlTimeStamp
(),
url
:
"../queryPreproPerson/updatePreproPerson"
+
urlTimeStamp
(),
params
:{
params
:{
uploadNo
:
slh
,
id
:
id
,
isValid
:
isValid
isValid
:
isValid
}
}
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
...
...
src/main/resources/static/views/cardProdPackage/cardProdPackage.html
View file @
e792c263
...
@@ -111,8 +111,8 @@
...
@@ -111,8 +111,8 @@
<td>
{{item.SOURCE_FILE_NAME}}
</td>
<td>
{{item.SOURCE_FILE_NAME}}
</td>
<td>
{{item.NEW_FILE_NAME}}
</td>
<td>
{{item.NEW_FILE_NAME}}
</td>
<td>
{{item.CARD_TYPE}}
</td>
<td>
{{item.CARD_TYPE}}
</td>
<td
ng-if=
"item.IS_VALID==1"
><button
class=
"btn btn-primary"
ng-click=
"updateIsValid(item.
JMSFZSLH
,0)"
>
禁用
</button></td>
<td
ng-if=
"item.IS_VALID==1"
><button
class=
"btn btn-primary"
ng-click=
"updateIsValid(item.
ID
,0)"
>
禁用
</button></td>
<td
ng-if=
"item.IS_VALID==0"
><button
class=
"btn btn-info"
ng-click=
"updateIsValid(item.
JMSFZSLH
,1)"
>
启用
</button></td>
<td
ng-if=
"item.IS_VALID==0"
><button
class=
"btn btn-info"
ng-click=
"updateIsValid(item.
ID
,1)"
>
启用
</button></td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/views/cardProdPackage/cardProdPackage.js
View file @
e792c263
...
@@ -75,8 +75,8 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
...
@@ -75,8 +75,8 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doPackageQuery
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doPackageQuery
);
$scope
.
updateIsValid
=
function
(
slh
,
isValid
)
{
$scope
.
updateIsValid
=
function
(
id
,
isValid
)
{
HttpService
.
updateIsValidData
(
slh
,
isValid
,
function
(
data
)
{
HttpService
.
updateIsValidData
(
id
,
isValid
,
function
(
data
)
{
$scope
.
doPackageQuery
();
$scope
.
doPackageQuery
();
MessageService
.
showAlert
(
"更新成功"
)
MessageService
.
showAlert
(
"更新成功"
)
})
})
...
...
src/main/resources/static/views/task/task.js
View file @
e792c263
...
@@ -413,14 +413,6 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -413,14 +413,6 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
searchTaskList
=
function
(){
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
var
date
=
$
(
'#datepicker'
).
val
();
if
(
date
==
''
){
date
=
$scope
.
choseDate
;
}
HttpService
.
getHasDistributeCount
(
date
,
function
(
data
)
{
$scope
.
distributedCount
=
data
;
console
.
log
(
data
)
})
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
++
){
...
...
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