Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 783f4652
authored
Sep 20, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
再存一版本
1 parent
54a52706
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
42 deletions
src/views/checkCompliance/automaticCheck.vue
src/views/compliance/addConfigure.vue
src/views/compliance/checkRules.vue
src/views/compliance/taskConfigure.vue
src/views/projectCheck/checkResault.vue
src/views/projectCheck/problemRectify.vue
src/views/checkCompliance/automaticCheck.vue
View file @
783f465
...
...
@@ -75,6 +75,7 @@
<el-table
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
@
row-click=
"(row, column, event) => handleRowClick(row, column, event, 'multipleTable')"
:data=
"tableData"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
...
...
@@ -90,7 +91,7 @@
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
width=
"250"
>
</el-table-column>
<el-table-column
prop=
"
full
Name"
prop=
"
project
Name"
label=
"项目名称"
show-overflow-tooltip
>
...
...
@@ -136,15 +137,9 @@
<!-- <el-form-item label="项目编码:" class="fromItem" prop="projectId">
<el-input v-model="ruleFormdialogXQ.projectId" disabled></el-input>
</el-form-item> -->
<el-form-item
label=
"项目名称:"
class=
"fromItem"
prop=
"
full
Name"
>
<el-input
v-model=
"ruleFormdialogXQ.
full
Name"
type=
"textarea"
disabled
></el-input>
<el-form-item
label=
"项目名称:"
class=
"fromItem"
prop=
"
project
Name"
>
<el-input
v-model=
"ruleFormdialogXQ.
project
Name"
type=
"textarea"
disabled
></el-input>
</el-form-item>
<!-- <el-form-item label="项目年度:" class="fromItem" prop="projectYear">
<el-input v-model="ruleFormdialogXQ.projectYear" disabled></el-input>
</el-form-item>
<el-form-item label="建设形式:" class="fromItem" prop="projectCategory">
<el-input v-model="ruleFormdialogXQ.projectCategory" disabled></el-input>
</el-form-item> -->
</el-form>
<p
class=
"zjBtn"
>
稽核异常项目清单
</p>
<div
class=
"setscroll"
>
...
...
@@ -160,8 +155,14 @@
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"稽核异常项目清单"
label=
"问题检查项"
prop=
"quesCheckItem"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"questionValue"
label=
"问题描述"
width=
"auto"
show-overflow-tooltip
>
...
...
@@ -196,7 +197,9 @@
<
script
>
import
{
auditTasksResults
,
xqauditTasksResults
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
import
tableMixin
from
'@/mixins/table.mixin.js'
export
default
{
mixins
:
[
tableMixin
],
data
()
{
return
{
yearsList
:
generateYearOptions
(),
...
...
@@ -283,19 +286,24 @@ export default {
return
;
}
}
// console.log(this.checkedList[0],'22222334')
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
let
params
=
{
current
:
this
.
currentPageXQ
,
pageSize
:
this
.
pageSizeXQ
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
contractNumber
:
this
.
checkedList
[
0
].
contractNumber
,
projectId
:
this
.
checkedList
[
0
].
projectId
};
let
res
=
await
xqauditTasksResults
(
params
);
// this.ruleFormdialogXQ = this.checkedList[0];
if
(
res
.
code
==
200
)
{
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
ruleFormdialogXQ
.
dates
=
[
this
.
checkedList
[
0
].
auditStartTime
,
this
.
checkedList
[
0
].
auditEndTime
,
];
//
this.ruleFormdialogXQ.dates = [
//
this.checkedList[0].auditStartTime,
//
this.checkedList[0].auditEndTime,
//
];
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
this
.
dialog
=
true
;
...
...
@@ -316,7 +324,7 @@ export default {
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
//
this.ruleFormdialog = this.checkedList[0];
console
.
log
(
this
.
checkedList
,
"2222"
);
},
handleSizeChange
(
val
)
{
...
...
@@ -653,12 +661,6 @@ h3 {
color
:
#fff
;
}
}
.setscroll
{
width
:
100%
;
height
:
520px
;
position
:
relative
;
overflow
:
auto
;
}
/
deep
/
.el-button--small
{
font-size
:
14px
;
}
...
...
src/views/compliance/addConfigure.vue
View file @
783f465
...
...
@@ -41,7 +41,7 @@
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
<
el-table-column
type=
"selection"
>
</el-table-column
>
<
!--
<el-table-column
type=
"selection"
>
</el-table-column>
--
>
<el-table-column
label=
"规则名称"
prop=
"ruleName"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"ruleStatus"
label=
"规则状态"
>
...
...
@@ -103,7 +103,7 @@
:row-class-name=
"tableRowClassName"
border
>
<
el-table-column
type=
"selection"
>
</el-table-column
>
<
!-- <el-table-column type="selection"> </el-table-column> --
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
<el-table-column
prop=
"projectCode"
label=
"项目编码"
width=
"130"
>
...
...
src/views/compliance/checkRules.vue
View file @
783f465
...
...
@@ -7,6 +7,14 @@
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"规则名称:"
prop=
"ruleName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.ruleName"
placeholder=
"请输入"
clearable
@
input=
"numberVal"
></el-input>
</el-form-item>
<el-form-item
label=
"规则状态:"
prop=
"ruleStatus"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.ruleStatus"
...
...
@@ -40,7 +48,7 @@
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
-->
<el-form-item
label=
"创建时间:"
prop=
"planReviewDate"
class=
"fromItem"
>
<
!--
<
el-form-item
label=
"创建时间:"
prop=
"planReviewDate"
class=
"fromItem"
>
<el-date-picker
v-model=
"ruleForm.dates"
type=
"datetime"
...
...
@@ -48,7 +56,7 @@
value-format=
"yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item>
</el-form-item>
-->
<el-form-item
class=
"button"
>
<el-button
@
click=
"submitForm()"
>
...
...
src/views/compliance/taskConfigure.vue
View file @
783f465
...
...
@@ -463,7 +463,7 @@
<p
class=
"zjBtn"
>
待稽核项目
</p>
<div
class=
"setscrolldialogAdd"
>
<el-table
:data=
"addtableDataXM"
:data=
"addtableDataXM
.slice((currentPageBJXM-1)*pageSizeBJXM,currentPageBJXM*pageSizeBJXM)
"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
...
...
@@ -642,7 +642,7 @@
</p>
<div
class=
"setscrolldialogAdd"
>
<el-table
:data=
"addtableDataXM"
:data=
"addtableDataXM
.slice((currentPageBJXM-1)*pageSizeBJXM,currentPageBJXM*pageSizeBJXM)
"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
...
...
@@ -974,9 +974,10 @@ export default {
current
:
this
.
currentPageBJXM
,
pageSize
:
this
.
pageSizeBJXM
,
};
Promise
.
all
([
selRuleProject
(
params
),
selProject
(
params2
)]).
then
((
res
)
=>
{
Promise
.
all
([
selRuleProject
(
params
),
selProject
(
params2
)
,
selProjectList
({
auditId
:
this
.
checkedList
[
0
].
auditId
}),
]).
then
((
res
)
=>
{
this
.
addtableData
=
res
[
0
].
data
.
records
;
this
.
addtableDataXM
=
res
[
1
].
data
.
records
;
this
.
addtableDataXM
=
res
[
2
].
data
.
records
;
this
.
addtableDataXM
.
forEach
((
item
)
=>
{
this
.
$set
(
item
,
...
...
@@ -1172,12 +1173,15 @@ export default {
},
handleCurrentChangeBJXM
(
val
)
{
this
.
currentPageBJXM
=
val
;
this
.
handselProject
();
//
this.handselProject();
},
handleSizeChangeBJXM
(
val
)
{
this
.
pageSizeBJXM
=
val
;
this
.
handselProject
();
//
this.handselProject();
},
// handleSizeChangeBJXM(){
// },
handleCurrentChangeBJGZ
(
val
)
{
this
.
currentPageBJGZ
=
val
;
this
.
BJselRuleProject
();
...
...
@@ -1246,6 +1250,10 @@ export default {
},
//编辑
edit
()
{
if
(
this
.
checkedList
[
0
].
auditStatus
==
1
||
this
.
checkedList
[
0
].
auditStatus
==
2
)
{
this
.
$message
(
"只能编辑未执行的任务"
);
return
;
}
this
.
currentPageBJXM
=
1
;
this
.
pageSizeBJXM
=
5
;
this
.
currentPageBJGZ
=
1
;
...
...
@@ -1278,7 +1286,7 @@ export default {
selProjectList
({
auditId
:
this
.
checkedList
[
0
].
auditId
}),
]).
then
((
res
)
=>
{
this
.
addtableData
=
res
[
0
].
data
.
records
;
this
.
addtableDataXM
=
res
[
1
].
data
.
records
;
this
.
addtableDataXM
=
res
[
2
].
data
.
records
;
this
.
addtotal
=
res
[
0
].
data
.
total
;
this
.
addtotalXM
=
res
[
1
].
data
.
total
;
let
allList
=
res
[
2
].
data
.
records
;
...
...
src/views/projectCheck/checkResault.vue
View file @
783f465
...
...
@@ -286,7 +286,8 @@ export default {
return
;
}
}
// console.log(this.checkedList[0],'22222334')
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
let
params
=
{
current
:
this
.
currentPageXQ
,
pageSize
:
this
.
pageSizeXQ
,
...
...
@@ -295,12 +296,14 @@ export default {
projectId
:
this
.
checkedList
[
0
].
projectId
};
let
res
=
await
xqauditTasksResults
(
params
);
// this.ruleFormdialogXQ = this.checkedList[0];
if
(
res
.
code
==
200
)
{
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
ruleFormdialogXQ
.
dates
=
[
this
.
checkedList
[
0
].
auditStartTime
,
this
.
checkedList
[
0
].
auditEndTime
,
];
//
this.ruleFormdialogXQ.dates = [
//
this.checkedList[0].auditStartTime,
//
this.checkedList[0].auditEndTime,
//
];
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
this
.
dialog
=
true
;
...
...
@@ -321,7 +324,7 @@ export default {
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
//
this.ruleFormdialog = this.checkedList[0];
console
.
log
(
this
.
checkedList
,
"2222"
);
},
handleSizeChange
(
val
)
{
...
...
src/views/projectCheck/problemRectify.vue
View file @
783f465
...
...
@@ -64,6 +64,7 @@
placeholder=
"请选择"
clearable
>
<el-option
label=
"未下发"
value=
"0"
></el-option>
<el-option
label=
"待整改"
value=
"1"
></el-option>
<el-option
label=
"待提交"
value=
"2"
></el-option>
<el-option
label=
"已提交"
value=
"3"
></el-option>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment