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 59adc42d
authored
May 15, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传修改城自动
1 parent
e99e4d1a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
80 additions
and
107 deletions
src/views/assessChecks/assistedConfirm.vue
src/views/assessChecks/assistedFeedback.vue
src/views/assessChecks/assistedRect.vue
src/views/assessChecks/checkCompliance.vue
src/views/assessChecks/correctiveAssistanceVerification.vue
src/views/assessChecks/materialAcquisition.vue
src/views/postConcentrationCheck/projectCheckQuestionQuery.vue
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
src/views/assessChecks/assistedConfirm.vue
View file @
59adc42
...
...
@@ -179,10 +179,6 @@
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
<!-- <template slot-scope="scope">
<input type="file" @change="handleFileUpload">
<button @click="submitFile(scope.row)">上传</button>
</template> -->
</el-table-column>
<el-table-column
label=
"复核情况"
prop=
"rectificationStatus"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
...
...
@@ -610,26 +606,6 @@ export default {
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
},
submitFile
(
row
)
{
// return;
console
.
log
(
row
);
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
// formData.append("prjId", this.checkedList[0].projectId);
// formData.append("typeCode", row.typeCode);
ossupload
(
formData
)
.
then
((
response
)
=>
{
console
.
log
(
response
);
this
.
$set
(
row
,
"fileId"
,
response
.
data
.
fileId
);
})
.
catch
((
error
)
=>
{
console
.
error
(
error
);
});
}
},
closed
()
{
console
.
log
(
"关闭"
);
this
.
handleSelectionChange
();
...
...
src/views/assessChecks/assistedFeedback.vue
View file @
59adc42
...
...
@@ -255,15 +255,9 @@
<
template
slot-scope=
"scope"
>
<input
type=
"file"
@
change=
"handleFileUpload"
@
change=
"handleFileUpload
($event,scope.row)
"
v-if=
"scope.row.confirmStatus == '1'"
/>
<button
@
click=
"submitFile(scope.row)"
v-if=
"scope.row.confirmStatus == '1'"
>
上传
</button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -589,14 +583,12 @@ export default {
this
.
dataPretreatmentSS
();
}
},
handleFileUpload
(
event
)
{
handleFileUpload
(
event
,
row
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
)
},
submitFile
(
row
)
{
// this.$message('上传还没做')
// return
console
.
log
(
row
);
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
...
...
src/views/assessChecks/assistedRect.vue
View file @
59adc42
...
...
@@ -189,8 +189,7 @@
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row, 'fileId')"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'fileId')"
/>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -217,18 +216,12 @@
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row, 'zgFileId')"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'zgFileId')"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row, 'zgqkFileId')"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'zgqkFileId')"
/>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -663,14 +656,12 @@ export default {
this
.
dataPretreatmentSS
();
}
},
handleFileUpload
(
event
)
{
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
type
)
},
submitFile
(
row
,
type
)
{
// return;
console
.
log
(
row
);
submitFile
(
row
,
type
)
{
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
...
...
src/views/assessChecks/checkCompliance.vue
View file @
59adc42
...
...
@@ -4,19 +4,26 @@
<p
class=
"title"
>
国网辽宁电力-桌面终端管理系统合规性检查评估
</p>
<div
class=
"continer"
>
<div
class=
"top"
>
<div
class=
"change"
></div>
<el-steps
:active=
"0"
align-center
finish-status=
"success"
>
<el-step
title=
"可研"
icon=
"el-icon-circle-check"
@
click
.
native=
"change()"
></el-step>
<el-step
title=
"计划"
class=
"ssss"
></el-step>
<el-step
title=
"采购"
></el-step>
<el-step
title=
"合同"
></el-step>
<el-step
title=
"执行"
></el-step>
<el-step
title=
"结决算及转资"
></el-step>
<el-steps
:active=
"active"
align-center
finish-status=
"success"
>
<el-step
v-for=
"item in tabList"
:key=
"item.name"
:title=
"item.label"
@
click
.
native=
"change(item.id)"
></el-step>
</el-steps>
</div>
<div
class=
"content"
>
<div
class=
"left"
>
<p
class=
"tableTitle"
>
检查内容
</p>
</div>
<div
class=
"right"
>
<p
class=
"tableTitle"
>
检查项
</p>
</div>
</div>
<!--
<div
class=
"left"
>
<div
class=
"right"
>
<p
class=
"tableTitle"
>
检查内容
</p>
<p
class=
"tableTitle"
>
检查项
</p>
<el-table
@
selection-change=
"handleSelectionChange"
...
...
@@ -46,11 +53,28 @@
</
template
>
<
script
>
import
{
data
}
from
'jquery'
;
export
default
{
data
(){
return
{
tabList
:[
{
label
:
"可研"
,
id
:
'1'
},
{
label
:
"计划"
,
id
:
'2'
},
{
label
:
"采购"
,
id
:
'3'
},
{
label
:
"合同"
,
id
:
'4'
},
{
label
:
"执行"
,
id
:
'5'
},
{
label
:
"结决算及转资"
,
id
:
'6'
}
],
active
:
0
}
},
methods
:{
change
(){
change
(
id
){
console
.
log
(
"切换"
)
this
.
active
=
id
*
1
}
}
};
...
...
@@ -86,10 +110,10 @@ export default {
}
.continer
{
width
:
100%
;
display
:
flex
;
background-color
:
#f5f5f6
;
padding
:
20px
;
position
:
relative
;
box-sizing
:
border-box
;
.top{
width
:
70%
;
margin
:
0
auto
;
...
...
@@ -97,18 +121,20 @@ export default {
}
//
background-color
:
#ccc
;
.content
{
width
:
100%
;
margin-top
:
10px
;
display
:
flex
;
}
.left
{
width
:
30
%
;
width
:
49
%
;
min-height
:
100px
;
margin-top
:
100px
;
color
:
#fff
;
}
.right
{
width
:
70%
;
margin-top
:
44px
;
padding
:
0
20px
;
width
:
50%
;
margin-left
:
10px
;
}
}
/
deep
/
.el-step__icon
{
...
...
src/views/assessChecks/correctiveAssistanceVerification.vue
View file @
59adc42
...
...
@@ -223,8 +223,7 @@
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus=='1'"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row,'fileId')"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'fileId')"
/>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -252,14 +251,12 @@
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus=='1'"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row,'zgFileId')"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'zgFileId')"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus=='1'"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row,'zgqkFileId')"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'zgqkFileId')"
/>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -694,9 +691,10 @@ export default {
this
.
dataPretreatmentSS
();
}
},
handleFileUpload
(
event
)
{
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
type
)
},
submitFile
(
row
,
type
)
{
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
59adc42
...
...
@@ -159,22 +159,10 @@
<el-table-column
prop=
"fileName"
label=
"资料名称"
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<input
type=
"file"
@
change=
"handleFileUpload"
/>
<button
@
click=
"submitFile(scope.row)"
>
上传
</button>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row)"
/>
</
template
>
</el-table-column>
</el-table>
<!-- <el-pagination
@size-change="handleSizeChangetjcl"
@current-change="handleCurrentChangetjcl"
:current-page="currentPagetjcl"
:page-sizes="[10, 15, 20, 50]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
<p
class=
"Btn"
>
<span
@
click=
"cancel()"
>
取消
</span
><span
@
click=
"save()"
>
确认上传
</span>
...
...
@@ -247,24 +235,7 @@
</
template
>
</el-table-column>
<!-- <el-table-column prop="projectCategory" label="操作">
<template slot-scope="scope">
<input type="file" @change="handleFileUpload">
<button @click="submitFile(scope.row)">上传</button>
</template>
</el-table-column> -->
</el-table>
<!-- <el-pagination
@size-change="handleSizeChangetjcl"
@current-change="handleCurrentChangetjcl"
:current-page="currentPagetjcl"
:page-sizes="[10, 15, 20, 50]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
</div>
</el-dialog>
</div>
...
...
@@ -518,9 +489,10 @@ export default {
let
res
=
await
qrscevaluationMaterials
(
params
);
this
.
resetForm
();
},
handleFileUpload
(
event
)
{
console
.
log
(
"来了么"
);
handleFileUpload
(
event
,
row
)
{
console
.
log
(
"来了么"
,
event
,
row
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
)
},
submitFile
(
row
)
{
console
.
log
(
row
);
...
...
src/views/postConcentrationCheck/projectCheckQuestionQuery.vue
View file @
59adc42
...
...
@@ -99,8 +99,14 @@
</el-table-column>
<el-table-column
prop=
"checkProblem"
label=
"问题检查项"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"submmitTime"
label=
"问题来源"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"submmitTime"
label=
"提出时间"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"submmitTime"
label=
"问题描述"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"abarbeitungTime"
label=
"整改情况"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"abarbeitungTime"
label=
"整改时间"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"abarbeitungStatus"
label=
"整改状态"
width=
"auto"
>
...
...
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
View file @
59adc42
...
...
@@ -91,12 +91,24 @@
</el-table-column>
<el-table-column
prop=
"checkProblem"
label=
"问题检查项"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"checkProblem"
label=
"问题描述"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"appealFlag"
label=
"是否申诉"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"appealFlag"
label=
"申诉理由"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"appealPassFlag"
label=
"申诉是否通过"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"appealPassFlag"
label=
"申诉复核情况"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"completeFlag"
label=
"是否完成整改"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"completeFlag"
label=
"整改情况"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"completeFlag"
label=
"整改是否通过"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"completeFlag"
label=
"整改复核情况"
width=
"auto"
>
</el-table-column>
</el-table>
<el-pagination
@
size-change=
"handleSizeChange"
...
...
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