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 e566e776
authored
Jun 26, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存
1 parent
648d4684
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
85 additions
and
31 deletions
src/views/assessChecks/auxiliarySelection.vue
src/views/assessChecks/confirmRelease.vue
src/views/assessChecks/materialAcquisition.vue
src/views/assessZC/checkCompliance.vue
src/views/assessChecks/auxiliarySelection.vue
View file @
e566e77
...
...
@@ -73,7 +73,7 @@
<img
class=
"buttonIcon"
src=
"../../assets/sc.png"
/>
删除
</el-button>
<el-button
@
click=
"sendMsg()"
><i
class=
"el-icon-position"
></i>
下发
><i
class=
"el-icon-position"
></i>
发起
</el-button>
<el-button
@
click=
"withdraw()"
>
<i
class=
"el-icon-folder-delete"
></i>
撤回
...
...
@@ -300,9 +300,14 @@
>
<el-date-picker
v-model=
"ruleFormdialogAdd.planReviewDate"
type=
"dat
e"
type=
"datetim
e"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd hh:mm:ss"
:picker-options=
"{
disabledDate: (time) =>
time.getTime() < new Date(new Date().setHours(0, 0, 0, 0)),
}"
>
</el-date-picker>
</el-form-item>
...
...
@@ -590,9 +595,13 @@
>
<el-date-picker
v-model=
"ruleFormdialogBJ.planReviewDate"
type=
"date"
type=
"date
time
"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd hh:mm:ss"
:picker-options=
"{
disabledDate: (time) =>
time.getTime() < new Date(new Date().setHours(0, 0, 0, 0)),
}"
>
</el-date-picker>
</el-form-item>
...
...
@@ -901,6 +910,7 @@ export default {
}
console
.
log
(
"222"
,
this
.
checkedList
);
this
.
dialogXQ
=
true
;
this
.
checkedList
[
0
].
planReviewDate
=
new
Date
(
this
.
checkedList
[
0
].
planReviewDate
)
this
.
ruleFormdialogBJ
=
this
.
checkedList
[
0
];
let
params
=
{
current
:
this
.
currentPageXQ
,
...
...
@@ -1121,6 +1131,7 @@ export default {
return
;
}
this
.
addtableData
=
[];
this
.
checkedList
[
0
].
planReviewDate
=
new
Date
(
this
.
checkedList
[
0
].
planReviewDate
)
this
.
ruleFormdialogBJ
=
this
.
checkedList
[
0
];
this
.
dialogedit
=
true
;
let
params
=
{
...
...
@@ -1187,13 +1198,13 @@ export default {
if
(
res
.
code
==
"200"
)
{
this
.
$message
({
type
:
"success"
,
message
:
"
下发
成功!"
,
message
:
"
发起
成功!"
,
});
this
.
resetForm
();
}
else
{
this
.
$message
({
type
:
"info"
,
message
:
"
下发
失败!"
,
message
:
"
发起
失败!"
,
});
}
},
...
...
@@ -1477,9 +1488,5 @@ export default {
overflow
:
auto
;
}
}
//
/
deep
/
.el-table__body-wrapper
::-webkit-scrollbar
{
//
width
:
6px
;
//
横向滚动条
//
height
:
6px
;
//
纵向滚动条必写
//
}
</
style
>
\ No newline at end of file
src/views/assessChecks/confirmRelease.vue
View file @
e566e77
...
...
@@ -929,9 +929,9 @@ export default {
});
},
savepro
()
{
if
(
this
.
addtableData
.
length
<
1
)
{
this
.
$message
(
"没有可保存的项目"
);
}
//
if (this.addtableData.length < 1) {
//
this.$message("没有可保存的项目");
//
}
console
.
log
(
this
.
addZJList
,
"this.addZJList"
);
// 确认发布入参
let
expertIdList
=
""
;
...
...
@@ -966,15 +966,46 @@ export default {
},
//点击删除
async
handleClick
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
,
rows
);
rows
.
splice
(
index
,
1
);
let
params
=
{
projectId
:
row
.
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
let
res
=
await
delProjectInfo
(
params
);
this
.
addtotal
=
rows
.
length
;
// this.configs()
this
.
$confirm
(
"此操作将删除该项目, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(
async
()
=>
{
let
res
=
await
delProjectInfo
(
params
);
if
(
res
.
code
==
200
)
{
this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
,
});
this
.
addtotal
--
}
else
{
this
.
$message
({
type
:
"info"
,
message
:
"删除失败!"
,
});
}
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
rows
.
splice
(
index
,
1
);
// let res = await delProjectInfo(params);
// if(res.code=200){
// this.$message('删除成功')
// this.addtotal--
// }
// this.addtotal = rows.length;
},
//点击撤回
async
withdraw
()
{
...
...
@@ -1276,17 +1307,33 @@ export default {
overflow-x
:
hidden
!important
;
}
}
//
.setscrolldialogx
{
//
width
:
100%
;
//
height
:
300px
;
//
position
:
relative
;
//
overflow
:
auto
;
//
box-sizing
:
border-box
;
//
/deep/
.el-table
{
//
position
:
absolute
;
//
width
:
100%
;
//
//
width
:
auto
!important
;
//
//
max-width
:
none
;
//
}
//
}
.setscrolldialogx
{
width
:
100%
;
height
:
300px
;
overflow-y
:
auto
;
overflow-x
:
scroll
;
position
:
relative
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
position
:
absolute
;
width
:
100%
;
//
width
:
auto
!important
;
//
max-width
:
none
;
.eltable
{
box-sizing
:
border-box
;
text-align
:
center
;
width
:
190%
;
min-width
:
190%
;
}
/
deep
/
.el-table--scrollable-x
.el-table__body-wrapper
{
overflow-x
:
hidden
!important
;
}
}
::v-deep
.el-table
::before
{
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
e566e77
...
...
@@ -384,6 +384,7 @@
<el-table-column
label=
"问题确认"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-if=
"scope.row.evalQues"
v-model=
"scope.row.confirmStatus"
active-color=
"#C0C0C0"
inactive-color=
"#13ce66"
...
...
@@ -411,7 +412,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues&&scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUploadZG($event, scope.row, 'fileId')"
...
...
@@ -420,7 +421,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<input
type=
"file"
multiple
...
...
@@ -428,8 +429,8 @@
/>
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<input
type=
"file"
@
change=
"handleFileUploadZG($event, scope.row, 'zgqkFileId')"
...
...
src/views/assessZC/checkCompliance.vue
View file @
e566e77
...
...
@@ -285,7 +285,7 @@ export default {
beforeAvatarUpload
(
file
)
{
this
.
file
=
file
;
const
isJPG
=
file
.
type
===
"image/jpeg"
||
file
.
type
===
"image/png"
;
const
isLt2M
=
this
.
file
.
size
/
1024
<
1
000
;
const
isLt2M
=
this
.
file
.
size
/
1024
<
2
000
;
console
.
log
(
this
.
file
.
size
/
1024
,
"this.file.size this.file.size "
);
if
(
!
isJPG
)
{
this
.
$message
.
error
(
"上传图片只能是 JPG 或 PNG 格式!"
);
...
...
@@ -293,7 +293,7 @@ export default {
}
if
(
!
isLt2M
)
{
this
.
hideUploadEdit
=
false
;
this
.
$message
.
error
(
"上传图片大小不能超过
1
000k!"
);
this
.
$message
.
error
(
"上传图片大小不能超过
2
000k!"
);
}
return
isJPG
&&
isLt2M
;
},
...
...
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