[update] 联调企标详情中的企标评价
This commit is contained in:
@@ -34,12 +34,12 @@ const detailGetUpdateRecord = (params) => getAction('/laws/standard/enterprise/g
|
|||||||
// 企标详情-提交问题
|
// 企标详情-提交问题
|
||||||
const detailSubmitQuestion = (params) => postAction('', params)
|
const detailSubmitQuestion = (params) => postAction('', params)
|
||||||
// 企标详情-企标评价
|
// 企标详情-企标评价
|
||||||
const detailEvaluate = (params) => getAction('', params)
|
const detailEvaluate = (standardNumber, params) => getAction('/laws/standard/enterprise/evaluateDetail/' + `${standardNumber}`, params)
|
||||||
|
|
||||||
// 企标评审会记录-设置优质标准
|
// 企标评审会记录-设置优质标准
|
||||||
const setQualityStandard = (params) => getAction('/enterprise/reviewMeeting/setQualityStandards', params)
|
const setQualityStandard = (params) => getAction('/enterprise/reviewMeeting/setQualityStandards', params)
|
||||||
// 获取评分详情
|
// 获取评分详情
|
||||||
const getScoreDetail = (params) => getAction('/enterprise/reviewMeeting/evaluateDetail/' + `${params.id}`, params)
|
const getScoreDetail = (id, params) => getAction('/enterprise/reviewMeeting/evaluateDetail/' + `${id}`, params)
|
||||||
|
|
||||||
// 企标稽查-获取延期稽查数据
|
// 企标稽查-获取延期稽查数据
|
||||||
const getDeferredCheck = (params) => getAction('/enterprise/inspect/delayInspect', params)
|
const getDeferredCheck = (params) => getAction('/enterprise/inspect/delayInspect', params)
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ export default {
|
|||||||
},
|
},
|
||||||
initData (id) {
|
initData (id) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
getScoreDetail({ id: id }).then(res => {
|
getScoreDetail(id).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.scoreData = res.result
|
this.scoreData = res.result
|
||||||
this.nameArr = Object.keys(this.scoreData)
|
this.nameArr = Object.keys(this.scoreData)
|
||||||
|
|||||||
@@ -256,7 +256,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// pdf预览
|
// pdf预览
|
||||||
if (canPreview && FILE_TYPE_PDF.includes(fileSuffix)) {
|
if (canPreview && FILE_TYPE_PDF.includes(fileSuffix)) {
|
||||||
const url = previewPdf(file.response.result.id)
|
const url = previewPdf(file.id)
|
||||||
|
console.log(url)
|
||||||
window.open(url)
|
window.open(url)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -302,7 +302,7 @@ export default {
|
|||||||
},
|
},
|
||||||
initData (standardNumber) {
|
initData (standardNumber) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
detailEvaluate({ standardNumber: standardNumber }).then(res => {
|
detailEvaluate(standardNumber).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.scoreData = res.result
|
this.scoreData = res.result
|
||||||
this.nameArr = Object.keys(this.scoreData)
|
this.nameArr = Object.keys(this.scoreData)
|
||||||
|
|||||||
Reference in New Issue
Block a user