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
c2848a0b
Commit
c2848a0b
authored
Nov 14, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
//立业云后台提交
parent
740cdf32
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
ParkInfoController.java
.../java/com/ruoyi/system/controller/ParkInfoController.java
+1
-1
info.html
...c/main/resources/templates/developmentInfo/info/info.html
+15
-4
info.html
...stem/src/main/resources/templates/parkInfo/info/info.html
+2
-2
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/controller/ParkInfoController.java
View file @
c2848a0b
...
...
@@ -50,12 +50,12 @@ public class ParkInfoController extends BaseController {
public
TableDataInfo
list
(
ParkInfo
parkInfo
)
{
Integer
status
=
parkInfo
.
getStatus
();
List
<
ParkInfo
>
list
;
startPage
();
if
(
status
==
null
)
{
list
=
parkInfoService
.
selectByStatus
(
"1"
);
}
else
{
list
=
parkInfoService
.
selectParkInfoList
(
parkInfo
);
}
startPage
();
return
getDataTable
(
list
);
}
...
...
ruoyi-system/src/main/resources/templates/developmentInfo/info/info.html
View file @
c2848a0b
...
...
@@ -14,6 +14,15 @@
<label>
片区名称:
</label>
<input
type=
"text"
name=
"name"
/>
</li>
<li>
<label>
审核状态:
</label>
<select
name=
"status"
th:with=
"type=${@dict.getType('lyy_developmentinfo_status')}"
>
<option
value=
""
>
所有
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
</select>
</li>
<!-- <li>-->
<!-- <label>所属集团id:</label>-->
<!-- <input type="text" name="groupId"/>-->
...
...
@@ -243,6 +252,7 @@
<script
th:inline=
"javascript"
>
var
editFlag
=
[[
$
{@
permission
.
hasPermi
(
'developmentInfo:info:edit'
)}]];
var
removeFlag
=
[[
$
{@
permission
.
hasPermi
(
'developmentInfo:info:remove'
)}]];
var
datasExamineStatus
=
[[
$
{@
dict
.
getType
(
'lyy_developmentinfo_status'
)}]];
var
prefix
=
ctx
+
"developmentInfo/info"
;
$
(
function
()
{
...
...
@@ -283,7 +293,10 @@
title
:
'开发区级别'
},
{
field
:
'status'
,
title
:
'状态'
title
:
'状态'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
$
.
table
.
selectDictLabel
(
datasExamineStatus
,
value
);
}
},
// {
// field: 'levelOther',
...
...
@@ -584,16 +597,14 @@
function
clickValid
(
id
,
status
)
{
url
=
"/developmentInfo/info/edit"
;
// 1=-未认证;2-认证中;3-已认证;4-已拒绝9-作废
// 1=-未认证;2-认证中;3-已认证;4-已拒绝
;
9-作废
$
.
post
(
url
,
{
id
:
id
,
status
:
status
},
function
(
result
)
{
if
(
result
.
code
==
web_status
.
SUCCESS
)
{
if
(
status
==
3
)
{
alert
(
"通过"
);
}
else
{
alert
(
"拒绝"
);
}
}
else
{
alert
(
"保存状态,出现异常"
);
}
...
...
ruoyi-system/src/main/resources/templates/parkInfo/info/info.html
View file @
c2848a0b
...
...
@@ -20,7 +20,7 @@
</li>
<li>
<label>
审核状态:
</label>
<select
name=
"status"
th:with=
"type=${@dict.getType('lyy_
examine
_status')}"
>
<select
name=
"status"
th:with=
"type=${@dict.getType('lyy_
parkinfo
_status')}"
>
<option
value=
""
>
所有
</option>
<option
th:each=
"dict : ${type}"
th:text=
"${dict.dictLabel}"
th:value=
"${dict.dictValue}"
></option>
...
...
@@ -63,7 +63,7 @@
var
editFlag
=
[[
$
{@
permission
.
hasPermi
(
'parkinfo:info:edit'
)}]];
var
removeFlag
=
[[
$
{@
permission
.
hasPermi
(
'parkinfo:info:remove'
)}]];
var
datas
=
[[
$
{@
dict
.
getType
(
'sys_has_no'
)}]];
var
datasExamineStatus
=
[[
$
{@
dict
.
getType
(
'lyy_
examine
_status'
)}]];
var
datasExamineStatus
=
[[
$
{@
dict
.
getType
(
'lyy_
parkinfo
_status'
)}]];
var
prefix
=
ctx
+
"parkInfo/info"
;
$
(
function
()
{
...
...
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