Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-liyeyun-admin
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
cfld-backend
cfld-liyeyun-admin
Commits
6bcdc2e0
Commit
6bcdc2e0
authored
Nov 16, 2023
by
lixinglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detail.html
parent
9db64cc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
15 deletions
+33
-15
detail.html
...main/resources/templates/developmentInfo/info/detail.html
+33
-15
No files found.
ruoyi-system/src/main/resources/templates/developmentInfo/info/detail.html
View file @
6bcdc2e0
...
...
@@ -7,8 +7,9 @@
<body
class=
"white-bg"
>
<div
class=
"wrapper wrapper-content animated fadeInRight ibox-content"
>
<form
class=
"form-horizontal m"
id=
"form-info-edit"
th:object=
"${developmentInfoDetailVO.developmentInfo}"
>
<input
name=
"id"
th:field=
"*{id}"
type=
"hidden"
>
<input
name=
"status"
th:field=
"*{status}"
type=
"hidden"
>
<input
id=
"id"
name=
"id"
th:field=
"*{id}"
type=
"hidden"
>
<input
id=
"status"
th:field=
"*{status}"
type=
"hidden"
>
<input
id=
"mirrorId"
th:field=
"*{mirrorId}"
type=
"hidden"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
片区名称:
</label>
<div
class=
"col-sm-8"
>
...
...
@@ -447,7 +448,7 @@
<div
class=
"col-sm-8"
>
<!-- <input name="imgUrl" th:field="*{imgUrl}" class="form-control" type="text">-->
<!-- <input type="hidden" name="imgUrl" th:field="*{imgUrl}">-->
<img
th:src=
"*{imgUrl}"
style=
"width: 100px;height: 100px"
>
<img
th:src=
"*{imgUrl}"
style=
"width: 100px;height: 100px"
>
<!-- <div class="file-loading">-->
<!-- <input class="form-control img-upload" id="imgUrl" name="file" type="file">-->
<!-- </div>-->
...
...
@@ -549,7 +550,8 @@
</th>
<th
style=
""
data-field=
"levelName"
>
<div
class=
"th-inner "
>
城市名称
</div>
城市名称
</div>
<div
class=
"fht-cell"
></div>
</th>
<th
style=
""
data-field=
"status"
>
...
...
@@ -674,8 +676,7 @@
</div>
<div>
<div
id=
"lastDiv"
>
</div>
...
...
@@ -686,19 +687,36 @@
<script
th:inline=
"javascript"
>
$
(
function
()
{
$
(
"input[type=text]"
).
attr
(
"readonly"
,
"readonly"
);
$
(
"textarea"
).
attr
(
"readonly"
,
true
);
debugger
;
let
value
=
$
(
"#status"
).
value
();
alert
(
value
);
if
(
value
==
2
){
var
tongguo
=
'<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid('
+
row
.
id
+
',3,'
+
row
.
mirrorId
+
')">通过</a> '
;
var
jujue
=
'<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid('
+
row
.
id
+
',4,'
+
row
.
mirrorId
+
')">拒绝</a> '
$
(
"form"
).
append
(
$
(
tongguo
));
$
(
"form"
).
append
(
$
(
jujue
));
let
value
=
$
(
"#status"
).
val
();
let
id
=
$
(
"#id"
).
val
();
let
mirrorId
=
$
(
"#mirrorId"
).
val
();
if
(
value
==
2
)
{
var
tongguo
=
$
(
'<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid('
+
id
+
',3,'
+
mirrorId
+
')">通过</a>'
);
var
jujue
=
$
(
'<a class="btn btn-primary btn-xs" href="javascript:void(0)" onclick="clickValid('
+
id
+
',4,'
+
mirrorId
+
')">拒绝</a>'
);
$
(
"#lastDiv"
).
append
(
tongguo
);
$
(
"#lastDiv"
).
append
(
jujue
);
}
});
function
clickValid
(
id
,
status
,
mirrorId
)
{
url
=
"/developmentInfo/info/edit"
;
// 1=-未认证;2-认证中;3-已认证;4-已拒绝;9-作废
$
.
post
(
url
,
{
id
:
id
,
status
:
status
,
mirrorId
:
mirrorId
},
function
(
result
)
{
if
(
result
.
code
==
web_status
.
SUCCESS
)
{
if
(
status
==
3
)
{
alert
(
"通过"
);
}
else
{
alert
(
"拒绝"
);
}
}
else
{
alert
(
"保存状态,出现异常"
);
}
});
}
//
// var prefix = ctx + "developmentInfo/info";
// $("#form-info-edit").validate({
...
...
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