Merge branch 'fix_20240123_UAT' into 'master'
Fix 20240123 uat See merge request laws-foton-slrs/foton-laws-system-front!165
This commit is contained in:
@@ -1373,6 +1373,7 @@ export default {
|
|||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
score: 0,
|
score: 0,
|
||||||
|
XGLC:'',
|
||||||
externalStatus:'',
|
externalStatus:'',
|
||||||
QFTP: false,
|
QFTP: false,
|
||||||
textOptions: [],
|
textOptions: [],
|
||||||
@@ -1672,7 +1673,7 @@ export default {
|
|||||||
getScore () {
|
getScore () {
|
||||||
//查询动态评价总平均分和质量评价总平均分
|
//查询动态评价总平均分和质量评价总平均分
|
||||||
let standId = this.$route.params.id
|
let standId = this.$route.params.id
|
||||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId,prcNum:this.XGLC}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
@@ -2490,6 +2491,12 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarStandardsInfoEO = res.data || {}
|
this.sarStandardsInfoEO = res.data || {}
|
||||||
|
if (res.data.attrInfoMap && res.data.attrInfoMap.XGLC){
|
||||||
|
let XGLCData = res.data.attrInfoMap.XGLC.split(',')
|
||||||
|
this.XGLC = XGLCData[XGLCData.length - 1]
|
||||||
|
}else{
|
||||||
|
this.XGLC = ''
|
||||||
|
}
|
||||||
if (this.sarStandardsInfoEO.standCode && this.sarStandardsInfoEO.standCode.indexOf('Q/QCBFC') !== -1) {
|
if (this.sarStandardsInfoEO.standCode && this.sarStandardsInfoEO.standCode.indexOf('Q/QCBFC') !== -1) {
|
||||||
this.QFTP = true
|
this.QFTP = true
|
||||||
}
|
}
|
||||||
@@ -3395,7 +3402,7 @@ export default {
|
|||||||
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
|
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
this.getScore()
|
|
||||||
/*
|
/*
|
||||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -3448,6 +3455,7 @@ export default {
|
|||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
this.standItemEO.standId = this.$route.params.id
|
this.standItemEO.standId = this.$route.params.id
|
||||||
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
|
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
|
||||||
|
this.getScore()
|
||||||
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
|
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
|
||||||
// const relatedPlansRes = await this.queryRelatedPlans()
|
// const relatedPlansRes = await this.queryRelatedPlans()
|
||||||
// const relatedPlans = relatedPlansRes.list
|
// const relatedPlans = relatedPlansRes.list
|
||||||
|
|||||||
@@ -97,6 +97,7 @@
|
|||||||
<el-date-picker :disabled="disabledXX"
|
<el-date-picker :disabled="disabledXX"
|
||||||
v-model="form.endTime"
|
v-model="form.endTime"
|
||||||
type="date"
|
type="date"
|
||||||
|
:picker-options="pickerOptions"
|
||||||
placeholder="请选择结束日期">
|
placeholder="请选择结束日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -544,6 +545,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
disabledPastDate(time) {
|
||||||
|
// 禁用今天之前的日期
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
},
|
||||||
getTaskId() {
|
getTaskId() {
|
||||||
this.ccc = true
|
this.ccc = true
|
||||||
queryTaskFirst({
|
queryTaskFirst({
|
||||||
|
|||||||
@@ -1021,7 +1021,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.footerLoading = true
|
this.footerLoading = true
|
||||||
|
this.form.prcNum = this.$route.query.prcNum
|
||||||
const json = JSON.stringify({
|
const json = JSON.stringify({
|
||||||
form: this.form,
|
form: this.form,
|
||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
|
|||||||
Reference in New Issue
Block a user