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 d53bf7b8
authored
May 30, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存修改
1 parent
465ab405
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
296 additions
and
158 deletions
public/nopdf.png
src/assets/nopdf.png
src/views/assessChecks/assistedConfirm.vue
src/views/assessChecks/assistedRect.vue
src/views/assessChecks/assistedViewing.vue
src/views/assessChecks/assitedDistribution.vue
src/views/assessChecks/attachSynchronousArchiving.vue
src/views/assessChecks/checkCompliance.vue
src/views/assessChecks/checkComplianceFZ.vue
src/views/assessChecks/correctiveAssistanceVerification.vue
src/views/assessChecks/materialAcquisition.vue
public/nopdf.png
0 → 100644
View file @
d53bf7b
8.02 KB
src/assets/nopdf.png
0 → 100644
View file @
d53bf7b
8.02 KB
src/views/assessChecks/assistedConfirm.vue
View file @
d53bf7b
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"复核情况"
prop=
"
rectification
Status"
>
<el-table-column
label=
"复核情况"
prop=
"
appeal
Status"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<el-select
<el-select
v-model=
"scope.row.appealStatus"
v-model=
"scope.row.appealStatus"
...
@@ -283,7 +283,7 @@
...
@@ -283,7 +283,7 @@
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"复核情况"
prop=
"
rectification
Status"
>
<el-table-column
label=
"复核情况"
prop=
"
appeal
Status"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<el-select
<el-select
v-model=
"scope.row.appealStatus"
v-model=
"scope.row.appealStatus"
...
@@ -382,7 +382,9 @@ export default {
...
@@ -382,7 +382,9 @@ export default {
}
else
{
}
else
{
this
.
$set
(
item
,
"postEvalStateText"
,
"复核未下发"
);
this
.
$set
(
item
,
"postEvalStateText"
,
"复核未下发"
);
}
}
});
});
console
.
log
(
this
.
tableData
,
'tableDatatableData'
)
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
}
}
},
},
...
@@ -589,6 +591,11 @@ export default {
...
@@ -589,6 +591,11 @@ export default {
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableDataSS
=
res
.
data
.
records
;
this
.
tableDataSS
=
res
.
data
.
records
;
this
.
tableDataSS
.
forEach
((
item
)
=>
{
this
.
tableDataSS
.
forEach
((
item
)
=>
{
if
(
item
.
appealStatus
<
2
){
item
.
appealStatus
=
null
// this.$set(item, "appealStatus", "");
}
if
(
!
item
.
confirmStatus
)
{
if
(
!
item
.
confirmStatus
)
{
this
.
$set
(
item
,
"confirmStatus"
,
"2"
);
this
.
$set
(
item
,
"confirmStatus"
,
"2"
);
}
}
...
...
src/views/assessChecks/assistedRect.vue
View file @
d53bf7b
...
@@ -10,10 +10,11 @@
...
@@ -10,10 +10,11 @@
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
<el-option
<el-option
v-for=
"(item, index) in yearsList"
v-for=
"(item, index) in yearsList"
:key=
"index"
:key=
"index"
:label=
"item+'年'"
:label=
"item + '年'"
:value=
"item"
/>
:value=
"item"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"后评估批次名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-form-item
label=
"后评估批次名称:"
prop=
"batchName"
class=
"fromItem"
>
...
@@ -65,9 +66,9 @@
...
@@ -65,9 +66,9 @@
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"批次年度"
prop=
"batchYear"
><template
slot-scope=
"scope"
>
<el-table-column
label=
"批次年度"
prop=
"batchYear"
{{
scope
.
row
.
batchYear
}}
年
><template
slot-scope=
"scope"
>
{{
scope
.
row
.
batchYear
}}
年
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
</el-table-column>
</el-table-column>
...
@@ -191,8 +192,14 @@
...
@@ -191,8 +192,14 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<
template
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'fileId')"
/>
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -218,13 +225,25 @@
...
@@ -218,13 +225,25 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"400"
>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<
template
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'zgFileId')"
/>
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'zgFileId')"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<
template
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row, 'zgqkFileId')"
/>
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'zgqkFileId')"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -232,7 +251,8 @@
...
@@ -232,7 +251,8 @@
</div>
</div>
</div>
</div>
<p
class=
"midBtn"
>
<p
class=
"midBtn"
>
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span><span
@
click=
"save()"
>
提交
</span>
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span
><span
@
click=
"save()"
>
提交
</span>
</p>
</p>
</el-dialog>
</el-dialog>
<!-- 复核下发 -->
<!-- 复核下发 -->
...
@@ -391,7 +411,7 @@ import { generateYearOptions } from "@/utils/cache";
...
@@ -391,7 +411,7 @@ import { generateYearOptions } from "@/utils/cache";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
yearsList
:
generateYearOptions
(),
yearsList
:
generateYearOptions
(),
dialogSS
:
false
,
dialogSS
:
false
,
ruleForm
:
{
ruleForm
:
{
batchYear
:
""
,
batchYear
:
""
,
...
@@ -428,12 +448,14 @@ export default {
...
@@ -428,12 +448,14 @@ export default {
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
.
forEach
((
item
)
=>
{
this
.
tableData
.
forEach
((
item
)
=>
{
if
(
item
.
reviewStatus
==
"6"
)
{
if
(
item
.
reviewStatus
==
"4"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"未整改"
);
}
else
if
(
item
.
reviewStatus
==
"5"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"整改提交"
);
}
else
if
(
item
.
reviewStatus
==
"6"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"整改未完成"
);
this
.
$set
(
item
,
"postEvalState"
,
"整改未完成"
);
}
else
if
(
item
.
reviewStatus
==
"7"
)
{
}
else
if
(
item
.
reviewStatus
==
"7"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"整改已完成"
);
this
.
$set
(
item
,
"postEvalState"
,
"整改已完成"
);
}
else
{
this
.
$set
(
item
,
"postEvalState"
,
"整改提交"
);
}
}
});
});
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
...
@@ -453,6 +475,10 @@ export default {
...
@@ -453,6 +475,10 @@ export default {
this
.
$message
(
"请选择一条数据进行整改"
);
this
.
$message
(
"请选择一条数据进行整改"
);
return
;
return
;
}
}
if
(
this
.
checkedList
.
postEvalState
==
'整改提交'
)
{
this
.
$message
(
"整改已经提交"
);
return
;
}
this
.
dialogQR
=
true
;
this
.
dialogQR
=
true
;
let
params
=
{
let
params
=
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
...
@@ -592,7 +618,7 @@ export default {
...
@@ -592,7 +618,7 @@ export default {
this
.
dialogQR
=
false
;
this
.
dialogQR
=
false
;
},
},
async
save
()
{
async
save
()
{
let
res
=
await
wtzgxfProblemRectification
(
this
.
tableData
SS
);
let
res
=
await
wtzgxfProblemRectification
(
this
.
tableData
QR
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
dialogQR
=
false
;
this
.
dialogQR
=
false
;
this
.
resetForm
();
this
.
resetForm
();
...
@@ -614,7 +640,6 @@ export default {
...
@@ -614,7 +640,6 @@ export default {
});
});
let
res
=
await
wtzgProblemRectification
(
this
.
tableDataQR
);
let
res
=
await
wtzgProblemRectification
(
this
.
tableDataQR
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
resetForm
();
this
.
resetForm
();
}
}
},
},
...
@@ -660,30 +685,30 @@ export default {
...
@@ -660,30 +685,30 @@ export default {
break
;
break
;
}
}
});
});
console
.
log
(
this
.
tableDataSS
,
'状态是什么'
);
console
.
log
(
this
.
tableDataSS
,
"状态是什么"
);
this
.
dataPretreatmentSS
();
this
.
dataPretreatmentSS
();
}
}
},
},
handleFileUpload
(
event
,
row
,
type
)
{
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
type
)
this
.
submitFile
(
row
,
type
);
},
},
submitFile
(
row
,
type
)
{
submitFile
(
row
,
type
)
{
if
(
this
.
file
)
{
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
this
.
file
=
[]
this
.
file
=
[];
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
console
.
error
(
error
);
console
.
error
(
error
);
});
});
}
else
{
}
else
{
this
.
$message
(
'请先选择文件'
)
this
.
$message
(
"请先选择文件"
);
}
}
},
},
closed
()
{
closed
()
{
...
...
src/views/assessChecks/assistedViewing.vue
View file @
d53bf7b
...
@@ -383,14 +383,10 @@ export default {
...
@@ -383,14 +383,10 @@ export default {
return
accumulator
;
return
accumulator
;
},
[]);
},
[]);
console
.
log
(
this
.
tableDataQD
,
" mergedArray mergedArray mergedArray"
);
console
.
log
(
this
.
tableDataQD
,
" mergedArray mergedArray mergedArray"
);
// this.tableDataQD.forEach((item) => {
// // this.$set(item, "batchtype", "开发、实施类");
// });
}
}
});
});
},
},
//表格颜色
//表格颜色
tableRowClassName
({
row
,
rowIndex
})
{
tableRowClassName
({
row
,
rowIndex
})
{
if
(
rowIndex
%
2
==
1
)
{
if
(
rowIndex
%
2
==
1
)
{
...
...
src/views/assessChecks/assitedDistribution.vue
View file @
d53bf7b
...
@@ -224,12 +224,14 @@ export default {
...
@@ -224,12 +224,14 @@ export default {
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
.
forEach
((
item
)
=>
{
this
.
tableData
.
forEach
((
item
)
=>
{
if
(
item
.
reviewStatus
==
"1"
)
{
if
(
item
.
reviewStatus
==
"0"
||
item
.
reviewStatus
==
null
||
item
.
reviewStatus
==
""
){
this
.
$set
(
item
,
"postEvalState"
,
"未下发"
);
}
else
if
(
item
.
reviewStatus
==
"1"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"已下发"
);
this
.
$set
(
item
,
"postEvalState"
,
"已下发"
);
}
else
if
(
item
.
reviewStatus
==
"2"
)
{
}
else
if
(
item
.
reviewStatus
==
"2"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"已撤回"
);
this
.
$set
(
item
,
"postEvalState"
,
"已撤回"
);
}
else
{
}
else
{
this
.
$set
(
item
,
"postEvalState"
,
"
未
下发"
);
this
.
$set
(
item
,
"postEvalState"
,
"
已
下发"
);
}
}
});
});
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
...
@@ -248,7 +250,7 @@ export default {
...
@@ -248,7 +250,7 @@ export default {
this
.
$message
(
"请选择一条数据进行下发"
);
this
.
$message
(
"请选择一条数据进行下发"
);
return
;
return
;
}
else
{
}
else
{
if
(
this
.
checkedList
[
0
].
reviewStatus
==
1
)
{
if
(
this
.
checkedList
[
0
].
postEvalState
==
"已下发"
)
{
this
.
$message
(
"该项目已下发"
);
this
.
$message
(
"该项目已下发"
);
return
;
return
;
}
}
...
@@ -272,7 +274,7 @@ export default {
...
@@ -272,7 +274,7 @@ export default {
}
}
try
{
try
{
this
.
checkedList
.
forEach
((
item
)
=>
{
this
.
checkedList
.
forEach
((
item
)
=>
{
if
(
item
.
reviewStatus
==
1
)
{
if
(
item
.
postEvalState
==
"已下发"
)
{
this
.
$message
(
"请选择未下发的项目"
);
this
.
$message
(
"请选择未下发的项目"
);
throw
new
Error
(
"退出forEach循环!"
);
throw
new
Error
(
"退出forEach循环!"
);
}
}
...
@@ -349,7 +351,7 @@ export default {
...
@@ -349,7 +351,7 @@ export default {
this
.
$message
(
"请选择"
);
this
.
$message
(
"请选择"
);
return
;
return
;
}
}
if
(
this
.
checkedList
[
0
].
postEvalState
==
"
未
下发"
)
{
if
(
this
.
checkedList
[
0
].
postEvalState
==
"
已
下发"
)
{
this
.
$message
(
"该项目未下发"
);
this
.
$message
(
"该项目未下发"
);
return
;
return
;
}
}
...
...
src/views/assessChecks/attachSynchronousArchiving.vue
View file @
d53bf7b
...
@@ -79,9 +79,9 @@
...
@@ -79,9 +79,9 @@
<el-button
@
click=
"detailsForm()"
>
<el-button
@
click=
"detailsForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
>
<el-button
@
click=
"attach('ruleForm')"
>
<
!--
<
el-button
@
click=
"attach('ruleForm')"
>
<i
class=
"el-icon-receiving"
></i>
材料归档
</el-button
<i
class=
"el-icon-receiving"
></i>
材料归档
</el-button
>
>
-->
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"setscroll"
>
<div
class=
"setscroll"
>
...
@@ -308,12 +308,14 @@ import {
...
@@ -308,12 +308,14 @@ import {
selLcb
selLcb
}
from
"@/api/index"
;
}
from
"@/api/index"
;
import
{
generateYearOptions
}
from
"@/utils/cache"
;
import
{
generateYearOptions
}
from
"@/utils/cache"
;
import
{
MaterialsList
}
from
"@/utils/cache"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
yearsList
:
generateYearOptions
(),
yearsList
:
generateYearOptions
(),
xxtableData
:[],
xxtableData
:[],
qdtableData
:
[],
qdtableData
:
[],
tableDataNew
:
MaterialsList
(),
listData
:
{},
listData
:
{},
ruleForm
:
{
ruleForm
:
{
projectId
:
""
,
projectId
:
""
,
...
@@ -364,7 +366,6 @@ export default {
...
@@ -364,7 +366,6 @@ export default {
},
},
//详情
//详情
detailsForm
()
{
detailsForm
()
{
console
.
log
(
this
.
checkedList
,
"this.checkedList"
);
if
(
this
.
checkedList
.
length
!=
1
)
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
this
.
$message
(
"请选择"
);
return
;
return
;
...
@@ -377,10 +378,26 @@ export default {
...
@@ -377,10 +378,26 @@ export default {
Promise
.
all
([
fzcxXqselect
(
params
),
clqdselect
(
params
)]).
then
((
res
)
=>
{
Promise
.
all
([
fzcxXqselect
(
params
),
clqdselect
(
params
)]).
then
((
res
)
=>
{
console
.
log
(
res
[
0
],
res
[
1
],
"2222222"
);
console
.
log
(
res
[
0
],
res
[
1
],
"2222222"
);
this
.
listData
=
res
[
0
].
data
.
records
[
0
];
this
.
listData
=
res
[
0
].
data
.
records
[
0
];
this
.
qdtableData
=
res
[
1
].
data
.
records
;
this
.
qdtableData
.
forEach
((
item
)
=>
{
this
.
qdtableData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableDataNew
));
this
.
$set
(
item
,
"batchtype"
,
"开发、实施类"
);
if
(
res
[
1
].
data
.
records
.
length
>
0
)
{
});
// this.qdtableData = res[1].data.records;
this
.
qdtableData
=
this
.
qdtableData
.
concat
(
res
[
1
].
data
.
records
)
.
reduce
((
accumulator
,
currentObj
)
=>
{
const
existingObj
=
accumulator
.
find
(
(
obj
)
=>
obj
.
typeCode
==
currentObj
.
typeCode
);
if
(
existingObj
)
{
Object
.
assign
(
existingObj
,
currentObj
);
}
else
{
accumulator
.
push
(
currentObj
);
}
return
accumulator
;
},
[]);
console
.
log
(
this
.
tableDataQD
,
" mergedArray mergedArray mergedArray"
);
}
});
});
},
},
attach
()
{
attach
()
{
...
...
src/views/assessChecks/checkCompliance.vue
View file @
d53bf7b
...
@@ -42,7 +42,10 @@
...
@@ -42,7 +42,10 @@
>
>
<h3>
{{
item
.
questionId
}}
.
{{
item
.
quesCheckItem
}}
</h3>
<h3>
{{
item
.
questionId
}}
.
{{
item
.
quesCheckItem
}}
</h3>
<p
class=
"msg"
>
{{
item
.
checkDesc
}}
</p>
<p
class=
"msg"
>
{{
item
.
checkDesc
}}
</p>
<div
class=
"quesznfx"
v-if=
"item.znfxList&&item.znfxList.length>0"
>
<div
class=
"quesznfx"
v-if=
"item.znfxList && item.znfxList.length > 0"
>
<p
class=
"tips"
>
智能分析:
</p>
<p
class=
"tips"
>
智能分析:
</p>
<div
<div
v-for=
"(itemzn, index) in item.znfxList"
v-for=
"(itemzn, index) in item.znfxList"
...
@@ -51,7 +54,10 @@
...
@@ -51,7 +54,10 @@
v-html=
"itemzn.checkDesc"
v-html=
"itemzn.checkDesc"
></div>
></div>
</div>
</div>
<div
class=
"quesznfx"
v-if=
"item.fzfxList&&item.fzfxList.length>0"
>
<div
class=
"quesznfx"
v-if=
"item.fzfxList && item.fzfxList.length > 0"
>
<p
class=
"tips"
>
辅助分析:
</p>
<p
class=
"tips"
>
辅助分析:
</p>
<div
<div
v-for=
"(itemfz, index) in item.fzfxList"
v-for=
"(itemfz, index) in item.fzfxList"
...
@@ -62,10 +68,11 @@
...
@@ -62,10 +68,11 @@
type=
"textarea"
type=
"textarea"
:autosize=
"
{ minRows: 1, maxRows: 4 }"
:autosize=
"
{ minRows: 1, maxRows: 4 }"
v-model="itemfz.checkDesc"
v-model="itemfz.checkDesc"
>
>
</el-input
</el-input
><el-button
@
click=
"adopt(item, index, itemfz)"
type=
"primary"
><el-button
@
click=
"adopt(item, index, itemfz)"
type=
"primary"
>
采纳
</el-button
:disabled=
"itemfz.type=='1'"
>
采纳
</el-button
>
>
</div>
</div>
</div>
</div>
...
@@ -144,17 +151,16 @@
...
@@ -144,17 +151,16 @@
</el-upload>
</el-upload>
</div>
</div>
<el-dialog
<el-dialog
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
:fullscreen=
"true"
:fullscreen=
"true"
custom-class=
"fullscreen-dialog"
custom-class=
"fullscreen-dialog"
>
>
<img
<img
:src=
"dialogImageUrl"
:src=
"dialogImageUrl"
alt=
"Full Screen Image"
alt=
"Full Screen Image"
style=
"margin: 0 auto; display: block"
style=
"margin: 0 auto; display: block"
/>
/>
</el-dialog>
</el-dialog>
<p
class=
"addBtn"
>
<p
class=
"addBtn"
>
<el-checkbox
<el-checkbox
...
@@ -191,13 +197,13 @@ import { MaterialsListKY } from "@/utils/cache";
...
@@ -191,13 +197,13 @@ import { MaterialsListKY } from "@/utils/cache";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
dialogImageUrl
:
''
,
dialogImageUrl
:
""
,
fileList
:
[],
fileList
:
[],
evalList
:
[
evalList
:
[
{
{
ideval
:
""
,
ideval
:
""
,
evalQues
:
""
,
evalQues
:
""
,
hideUploadEdit
:
false
hideUploadEdit
:
false
,
},
},
],
],
tabList
:
[
tabList
:
[
...
@@ -221,6 +227,7 @@ export default {
...
@@ -221,6 +227,7 @@ export default {
hideUploadEdit
:
false
,
hideUploadEdit
:
false
,
limitNum
:
1
,
limitNum
:
1
,
disabled
:
false
,
disabled
:
false
,
oldQuestionList
:
[],
//对比列表
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -231,13 +238,13 @@ export default {
...
@@ -231,13 +238,13 @@ export default {
methods
:
{
methods
:
{
// 放大图片
// 放大图片
handlePictureCardPreview
(
file
)
{
handlePictureCardPreview
(
file
)
{
console
.
log
(
'点击放大'
)
console
.
log
(
"点击放大"
);
this
.
dialogImageUrl
=
file
.
url
;
this
.
dialogImageUrl
=
file
.
url
;
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
},
},
// 删除图片
// 删除图片
handleRemove
(
file
,
fileList
)
{
handleRemove
(
file
,
fileList
)
{
console
.
log
(
fileList
,
'this.fileList'
)
console
.
log
(
fileList
,
"this.fileList"
);
if
(
this
.
fileList
.
length
==
0
)
{
if
(
this
.
fileList
.
length
==
0
)
{
this
.
fileList
=
[];
this
.
fileList
=
[];
}
else
{
}
else
{
...
@@ -251,8 +258,7 @@ export default {
...
@@ -251,8 +258,7 @@ export default {
handleEditChange
(
file
,
fileList
)
{
handleEditChange
(
file
,
fileList
)
{
this
.
hideUploadEdit
=
fileList
.
length
>=
this
.
limitNum
;
this
.
hideUploadEdit
=
fileList
.
length
>=
this
.
limitNum
;
// this.fileList.push({ name: items.name, url: items.url });
// this.fileList.push({ name: items.name, url: items.url });
console
.
log
(
fileList
,
' this.fileList'
)
console
.
log
(
fileList
,
" this.fileList"
);
},
},
// http-request自定义上传
// http-request自定义上传
...
@@ -263,18 +269,17 @@ export default {
...
@@ -263,18 +269,17 @@ export default {
// before-upload上传文件之前的钩子,参数为上传的文件
// before-upload上传文件之前的钩子,参数为上传的文件
// 若返回 false 或者返回 Promise 且被 reject,则停止上传
// 若返回 false 或者返回 Promise 且被 reject,则停止上传
beforeAvatarUpload
(
file
)
{
beforeAvatarUpload
(
file
)
{
this
.
file
=
file
this
.
file
=
file
;
const
isJPG
=
file
.
type
===
"image/jpeg"
||
file
.
type
===
"image/png"
;
const
isJPG
=
file
.
type
===
"image/jpeg"
||
file
.
type
===
"image/png"
;
const
isLt2M
=
this
.
file
.
size
/
1024
<
1000
;
const
isLt2M
=
this
.
file
.
size
/
1024
<
1000
;
console
.
log
(
this
.
file
.
size
/
1024
,
'this.file.size this.file.size '
)
console
.
log
(
this
.
file
.
size
/
1024
,
"this.file.size this.file.size "
);
if
(
!
isJPG
)
{
if
(
!
isJPG
)
{
this
.
$message
.
error
(
"上传图片只能是 JPG 或 PNG 格式!"
);
this
.
$message
.
error
(
"上传图片只能是 JPG 或 PNG 格式!"
);
this
.
hideUploadEdit
=
false
this
.
hideUploadEdit
=
false
;
}
}
if
(
!
isLt2M
)
{
if
(
!
isLt2M
)
{
this
.
hideUploadEdit
=
false
this
.
hideUploadEdit
=
false
;
this
.
$message
.
error
(
"上传图片大小不能超过 1000k!"
);
this
.
$message
.
error
(
"上传图片大小不能超过 1000k!"
);
}
}
return
isJPG
&&
isLt2M
;
return
isJPG
&&
isLt2M
;
},
},
...
@@ -314,38 +319,43 @@ export default {
...
@@ -314,38 +319,43 @@ export default {
};
};
let
responfx
=
await
selZnfx
(
paramsFX
);
let
responfx
=
await
selZnfx
(
paramsFX
);
if
(
respon
.
data
.
records
&&
respon
.
data
.
records
.
length
>
0
)
{
if
(
respon
.
data
.
records
&&
respon
.
data
.
records
.
length
>
0
)
{
respon
.
data
.
records
.
forEach
(
async
itemImg
=>
{
respon
.
data
.
records
.
forEach
(
async
(
itemImg
)
=>
{
if
(
itemImg
.
url
){
if
(
itemImg
.
url
)
{
let
paramsImg
=
{
let
paramsImg
=
{
fileId
:
itemImg
.
id
,
fileId
:
itemImg
.
id
,
url
:
itemImg
.
url
,
url
:
itemImg
.
url
,
};
let
resUrl
=
await
presignedUrl
(
paramsImg
);
// itemImg.fileList=[{
// url:resUrl.msg
// }]
this
.
$set
(
itemImg
,
"fileList"
,
[
{
url
:
resUrl
.
msg
,
},
]);
itemImg
.
hideUploadEdit
=
true
;
}
else
{
itemImg
.
hideUploadEdit
=
false
;
}
}
let
resUrl
=
await
presignedUrl
(
paramsImg
);
});
// itemImg.fileList=[{
// url:resUrl.msg
// }]
this
.
$set
(
itemImg
,
'fileList'
,[{
url
:
resUrl
.
msg
}])
itemImg
.
hideUploadEdit
=
true
}
else
{
itemImg
.
hideUploadEdit
=
false
}
})
console
.
log
(
respon
.
data
.
records
,
'respon.data.records'
)
this
.
$set
(
item
,
"evalList"
,
[...
respon
.
data
.
records
]);
this
.
$set
(
item
,
"evalList"
,
[...
respon
.
data
.
records
]);
console
.
log
(
item
,
'itemitemitem'
)
console
.
log
(
item
,
"itemitemitem"
);
}
else
{
}
else
{
this
.
$set
(
item
,
"evalList"
,
[
this
.
$set
(
item
,
"evalList"
,
[
{
{
ideval
:
""
,
ideval
:
""
,
evalQues
:
""
,
evalQues
:
""
,
hideUploadEdit
:
false
,
hideUploadEdit
:
false
,
},
},
]);
]);
}
}
if
(
item
.
isProblem
==
0
)
{
console
.
log
(
"未发现问题"
);
this
.
$set
(
item
,
"checked"
,
true
);
this
.
changeChecked
(
item
);
}
if
(
responfx
.
data
.
records
&&
responfx
.
data
.
records
.
length
>
0
)
{
if
(
responfx
.
data
.
records
&&
responfx
.
data
.
records
.
length
>
0
)
{
let
znfxList
=
responfx
.
data
.
records
.
filter
((
item
)
=>
{
let
znfxList
=
responfx
.
data
.
records
.
filter
((
item
)
=>
{
if
(
item
.
checkDesc
)
{
if
(
item
.
checkDesc
)
{
...
@@ -365,8 +375,9 @@ export default {
...
@@ -365,8 +375,9 @@ export default {
this
.
$set
(
item
,
"Id"
,
0
);
this
.
$set
(
item
,
"Id"
,
0
);
});
});
}
}
if
(
this
.
urlList
.
length
<=
0
){
if
(
this
.
urlList
.
length
<=
0
)
{
return
this
.
iframeUrl
=
"/nopdf.png"
;
return
;
}
}
let
paramsUrl
=
{
let
paramsUrl
=
{
fileId
:
this
.
urlList
[
0
].
id
,
fileId
:
this
.
urlList
[
0
].
id
,
...
@@ -374,50 +385,61 @@ export default {
...
@@ -374,50 +385,61 @@ export default {
};
};
let
resUrl
=
await
presignedUrl
(
paramsUrl
);
let
resUrl
=
await
presignedUrl
(
paramsUrl
);
console
.
log
(
this
.
questionList
,
"总列表"
);
// let prefixUrl = 'pdf/web/viewer.html?file=';
// this.iframeUrl = prefixUrl+resUrl.msg;
// console.log(this.iframeUrl,'this.iframeUrl')
this
.
iframeUrl
=
resUrl
.
msg
;
this
.
iframeUrl
=
resUrl
.
msg
;
// this.iframeUrl ='https://view.officeapps.live.com/op/view.aspx?src='+ resUrl.msg
console
.
log
(
this
.
questionList
,
"总列表"
);
this
.
oldQuestionList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
questionList
));
});
});
},
},
async
handleClick
(
tab
)
{
async
handleClick
(
tab
)
{
console
.
log
(
"切换"
,
tab
.
name
,
this
.
urlList
);
console
.
log
(
"切换"
,
tab
.
name
,
this
.
urlList
);
this
.
urlList
.
forEach
(
async
(
item
)
=>
{
this
.
urlList
.
forEach
(
async
(
item
)
=>
{
if
(
item
.
typeCode
==
tab
.
name
)
{
if
(
item
.
typeCode
==
tab
.
name
)
{
let
paramsUrl
=
{
let
paramsUrl
=
{
fileId
:
item
.
id
,
fileId
:
item
.
id
,
url
:
item
.
url
,
url
:
item
.
url
,
};
};
let
resUrl
=
await
presignedUrl
(
paramsUrl
);
let
resUrl
=
await
presignedUrl
(
paramsUrl
);
this
.
iframeUrl
=
resUrl
.
msg
;
this
.
iframeUrl
=
resUrl
.
msg
;
}
else
{
}
else
{
// this.iframeUrl =""
this
.
iframeUrl
=
''
this
.
iframeUrl
=
"/nopdf.png"
;
}
}
});
});
console
.
log
(
this
.
iframeUrl
,
"this.iframeUrl"
);
console
.
log
(
this
.
iframeUrl
,
"this.iframeUrl"
);
},
},
change
(
id
)
{
change
(
id
)
{
console
.
log
(
"切换类型"
);
this
.
$confirm
(
"是否保存?"
,
"提示"
,
{
this
.
active
=
id
*
1
;
confirmButtonText
:
"是"
,
this
.
tabListKY
=
MaterialsListKY
(
id
*
1
+
1
);
cancelButtonText
:
"否"
,
this
.
init
(
this
.
clqparams
);
distinguishCancelAndClose
:
true
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
save
();
this
.
active
=
id
*
1
;
this
.
tabListKY
=
MaterialsListKY
(
id
*
1
+
1
);
this
.
init
(
this
.
clqparams
);
})
.
catch
((
action
)
=>
{
console
.
log
(
action
,
"actionaction"
);
if
(
action
===
"cancel"
)
{
this
.
active
=
id
*
1
;
this
.
tabListKY
=
MaterialsListKY
(
id
*
1
+
1
);
this
.
init
(
this
.
clqparams
);
}
else
{
}
});
// this.save()
// this.active = id * 1;
// this.tabListKY = MaterialsListKY(id * 1 + 1);
// this.init(this.clqparams);
},
},
delInput
(
item
,
index
)
{
delInput
(
item
,
index
)
{
if
(
item
.
evalList
.
length
<=
1
)
{
if
(
item
.
evalList
.
length
<=
1
)
{
item
.
checked
=
true
item
.
checked
=
true
;
this
.
changeChecked
(
item
)
this
.
$set
(
item
,
"checked"
,
true
);
// this.$set(item, "evalList", [
this
.
changeChecked
(
item
);
// {
// ideval: "",
// evalQues: "",
// hideUploadEdit:false,
// },
// ]);
// this.$set(item, "isProblem", 0);
return
false
;
return
false
;
}
}
item
.
evalList
.
splice
(
index
,
1
);
item
.
evalList
.
splice
(
index
,
1
);
...
@@ -425,26 +447,24 @@ export default {
...
@@ -425,26 +447,24 @@ export default {
adopt
(
item
,
index
,
items
)
{
adopt
(
item
,
index
,
items
)
{
console
.
log
(
item
,
"item"
);
console
.
log
(
item
,
"item"
);
console
.
log
(
items
,
"items"
);
console
.
log
(
items
,
"items"
);
if
(
item
.
evalList
.
length
==
1
&&!
item
.
evalList
[
0
].
evalQues
)
{
if
(
item
.
evalList
.
length
==
1
&&
!
item
.
evalList
[
0
].
evalQues
)
{
item
.
evalList
[
0
].
evalQues
=
items
.
checkDesc
item
.
evalList
[
0
].
evalQues
=
items
.
checkDesc
;
// this.$set(item,evalList,{
// this.$set(item,evalList,{
// evalQues: items.checkDesc,
// evalQues: items.checkDesc,
// })
// })
}
else
{
}
else
{
item
.
evalList
.
push
({
item
.
evalList
.
push
({
ideval
:
"id"
+
item
.
Id
++
,
ideval
:
"id"
+
item
.
Id
++
,
evalQues
:
items
.
checkDesc
,
evalQues
:
items
.
checkDesc
,
hideUploadEdit
:
false
hideUploadEdit
:
false
,
});
});
}
}
},
},
addInput
(
item
)
{
addInput
(
item
)
{
if
(
item
.
evalList
[
0
].
disabled
==
true
){
if
(
item
.
evalList
[
0
].
disabled
==
true
)
{
console
.
log
(
'选择了未发现问题'
)
console
.
log
(
"选择了未发现问题"
);
return
return
;
}
}
console
.
log
(
item
,
"22"
);
console
.
log
(
item
,
"22"
);
item
.
evalList
.
push
({
item
.
evalList
.
push
({
...
@@ -461,14 +481,14 @@ export default {
...
@@ -461,14 +481,14 @@ export default {
{
{
ideval
:
""
,
ideval
:
""
,
evalQues
:
""
,
evalQues
:
""
,
hideUploadEdit
:
false
,
hideUploadEdit
:
false
,
disabled
:
true
disabled
:
true
,
},
},
]);
]);
this
.
$set
(
item
,
"isProblem"
,
0
);
this
.
$set
(
item
,
"isProblem"
,
0
);
// this.$set(item, "Id", 0);
// this.$set(item, "Id", 0);
}
else
{
}
else
{
item
.
evalList
[
0
].
disabled
=
false
item
.
evalList
[
0
].
disabled
=
false
;
this
.
$set
(
item
,
"isProblem"
,
1
);
this
.
$set
(
item
,
"isProblem"
,
1
);
}
}
},
},
...
@@ -477,22 +497,37 @@ export default {
...
@@ -477,22 +497,37 @@ export default {
// this.$router.go(-1);
// this.$router.go(-1);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliaryInspection"
,
path
:
"/mainLayout/auxiliaryInspection"
,
});
});
},
},
async
save
()
{
async
save
()
{
this
.
questionList
.
forEach
((
item
)
=>
{
let
evals
=
""
;
item
.
evalList
.
forEach
((
childItem
)
=>
{
evals
=
evals
.
concat
(
childItem
.
evalQues
+
","
);
});
evals
=
evals
.
slice
(
0
,
-
1
)
item
.
evalQues
=
evals
;
});
console
.
log
(
this
.
questionList
,
"questionList"
);
// return
let
params
=
{
let
params
=
{
list
:
this
.
questionList
,
list
:
this
.
questionList
,
...
this
.
clqparams
,
...
this
.
clqparams
,
};
};
console
.
log
(
params
,
'保存'
)
console
.
log
(
params
,
"保存"
);
// return
// return
let
res
=
await
bcevalQuesInfo
(
params
);
let
res
=
await
bcevalQuesInfo
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
$message
(
"保存成功"
);
}
else
{
this
.
$message
(
"保存失败"
);
}
},
},
fileupdate
(
res
,
items
)
{
fileupdate
(
res
,
items
)
{
console
.
log
(
this
.
file
.
size
/
1024
,
"222222"
);
console
.
log
(
this
.
file
.
size
/
1024
,
"222222"
);
this
.
file
=
res
.
file
;
this
.
file
=
res
.
file
;
this
.
submitFile
(
res
,
items
);
this
.
submitFile
(
res
,
items
);
},
},
submitFile
(
item
,
list
)
{
submitFile
(
item
,
list
)
{
...
@@ -507,8 +542,8 @@ export default {
...
@@ -507,8 +542,8 @@ export default {
if
(
response
.
code
==
"200"
)
{
if
(
response
.
code
==
"200"
)
{
// list.url = response.data.downLoadUrl;
// list.url = response.data.downLoadUrl;
// list.fileId= response.data.fileId
// list.fileId= response.data.fileId
this
.
$set
(
list
,
'url'
,
response
.
data
.
downLoadUrl
)
this
.
$set
(
list
,
"url"
,
response
.
data
.
downLoadUrl
);
this
.
$set
(
list
,
'fileId'
,
response
.
data
.
fileId
)
this
.
$set
(
list
,
"fileId"
,
response
.
data
.
fileId
);
console
.
log
(
this
.
questionList
,
"总列表"
);
console
.
log
(
this
.
questionList
,
"总列表"
);
this
.
$message
(
"上传成功"
);
this
.
$message
(
"上传成功"
);
}
else
{
}
else
{
...
...
src/views/assessChecks/checkComplianceFZ.vue
View file @
d53bf7b
...
@@ -21,14 +21,26 @@
...
@@ -21,14 +21,26 @@
<el-table-column
label=
"序号"
width=
"100"
type=
"index"
>
<el-table-column
label=
"序号"
width=
"100"
type=
"index"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"问题检查项"
prop=
"quesCheckItem"
>
<el-table-column
label=
"问题检查项"
prop=
"quesCheckItem"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"检查说明"
prop=
"checkDesc"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"检查说明"
prop=
"checkDesc"
show-overflow-tooltip
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"评估问题"
>
<el-table-column
label=
"评估问题"
width=
"auto"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.evalQues"
:disabled=
"ishow"
></el-input>
<el-input
v-model=
"scope.row.evalQues"
:disabled=
"ishow"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"问题截图"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-image
class=
"imgList"
v-for=
"(img, index) in scope.row.images"
:key=
"index"
:src=
"img"
:preview-src-list=
"scope.row.images"
@
click=
"handleImageClick(scope.row.images)"
></el-image>
</
template
>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -41,7 +53,7 @@
...
@@ -41,7 +53,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
selWtqdpostEvalQuesInfo
,
bcpostEvalQuesInfo
,
tjpostEvalQuesInfo
}
from
"@/api/index"
;
import
{
selWtqdpostEvalQuesInfo
,
bcpostEvalQuesInfo
,
tjpostEvalQuesInfo
,
presignedUrl
}
from
"@/api/index"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -89,6 +101,40 @@ export default {
...
@@ -89,6 +101,40 @@ export default {
break
;
break
;
}
}
let
urlStr
=
item
.
url
let
arrUrl
=
[];
let
showUrlList
=
[]
// 有url拆分调接口换预览
if
(
urlStr
){
console
.
log
(
urlStr
,
'urlStr'
)
if
(
urlStr
.
includes
(
','
)){
arrUrl
=
item
.
url
.
split
(
','
)
}
else
{
arrUrl
.
push
(
urlStr
)
}
console
.
log
(
arrUrl
,
'arrUrlarrUrl'
)
arrUrl
.
forEach
(
async
showUrl
=>
{
let
paramsUrl
=
{
url
:
showUrl
,
};
let
resUrl
=
await
presignedUrl
(
paramsUrl
);
showUrlList
.
push
(
resUrl
.
msg
)
})
console
.
log
(
showUrlList
,
'showUrlList'
)
// showUrlList=['/nopdf.png','/nopdf.png','/nopdf.png','/nopdf.png']
this
.
$set
(
item
,
'images'
,
showUrlList
)
}
});
});
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
this
.
dataPretreatment
();
this
.
dataPretreatment
();
...
@@ -136,6 +182,9 @@ export default {
...
@@ -136,6 +182,9 @@ export default {
cancel
(){
cancel
(){
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
},
},
handleImageClick
(){
},
//保存
//保存
async
save
(
type
){
async
save
(
type
){
console
.
log
(
this
.
clqparams
,
'this.clqparams'
)
console
.
log
(
this
.
clqparams
,
'this.clqparams'
)
...
@@ -308,5 +357,11 @@ export default {
...
@@ -308,5 +357,11 @@ export default {
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
}
}
.imgList
{
/deep/
.el-image__inner{
width
:
60px
;
height
:
60px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/assessChecks/correctiveAssistanceVerification.vue
View file @
d53bf7b
...
@@ -647,7 +647,7 @@ export default {
...
@@ -647,7 +647,7 @@ export default {
this
.
dialogQR
=
false
;
this
.
dialogQR
=
false
;
},
},
async
save
()
{
async
save
()
{
let
res
=
await
tjrectificationVerification
(
this
.
tableData
SS
);
let
res
=
await
tjrectificationVerification
(
this
.
tableData
QR
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
dialogQR
=
false
;
this
.
dialogQR
=
false
;
this
.
resetForm
();
this
.
resetForm
();
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
d53bf7b
...
@@ -321,7 +321,7 @@ export default {
...
@@ -321,7 +321,7 @@ export default {
this
.
$set
(
item
,
"postEvalStateText"
,
"未上传"
);
this
.
$set
(
item
,
"postEvalStateText"
,
"未上传"
);
}
else
if
(
item
.
postEvalState
==
"0"
)
{
}
else
if
(
item
.
postEvalState
==
"0"
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"未上传"
);
this
.
$set
(
item
,
"postEvalStateText"
,
"未上传"
);
}
else
if
(
item
.
postEvalState
==
"1"
)
{
}
else
if
(
item
.
postEvalState
>=
1
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"已上传"
);
this
.
$set
(
item
,
"postEvalStateText"
,
"已上传"
);
}
}
});
});
...
...
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