修改禅道已知bug
This commit is contained in:
+4
-3
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="problemLabel">
|
<a-form-model-item class="itemModel" prop="problemLabel">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
v-model="formInline.problemLabel"
|
v-model.trim="formInline.problemLabel"
|
||||||
:placeholder="$t('PleaseEnter')+$t('problemLabel')"/>
|
:placeholder="$t('PleaseEnter')+$t('problemLabel')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -34,6 +34,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="chargePersonIdName">
|
<a-form-model-item class="itemModel" prop="chargePersonIdName">
|
||||||
<PersonnelSelection
|
<PersonnelSelection
|
||||||
|
:isSingleChoice="true"
|
||||||
:query="{db_field_name:'chargePersonId',db_field_txt:$t('personCharge')}"
|
:query="{db_field_name:'chargePersonId',db_field_txt:$t('personCharge')}"
|
||||||
:personneQuery="formInline"
|
:personneQuery="formInline"
|
||||||
@change="PersonnelSelectionChange"
|
@change="PersonnelSelectionChange"
|
||||||
@@ -75,8 +76,8 @@
|
|||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
max: 100,
|
max: 200,
|
||||||
message: this.$t('problemLabel') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
message: this.$t('problemLabel') + this.$t('cannotExceed') + 200 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+7
-5
@@ -21,7 +21,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="lableName">
|
<a-form-model-item class="itemModel" prop="lableName">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.lableName"
|
v-model.trim="formInline.lableName"
|
||||||
:placeholder="$t('PleaseEnter')+$t('LabelName')"/>
|
:placeholder="$t('PleaseEnter')+$t('LabelName')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,6 +77,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="orderNum">
|
<a-form-model-item class="itemModel" prop="orderNum">
|
||||||
<a-input-number class="box-input"
|
<a-input-number class="box-input"
|
||||||
|
:max="9999"
|
||||||
|
:min="0"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.orderNum"
|
v-model="formInline.orderNum"
|
||||||
:placeholder="$t('PleaseEnter')+$t('DisplayOrder')"/>
|
:placeholder="$t('PleaseEnter')+$t('DisplayOrder')"/>
|
||||||
@@ -94,7 +96,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="relevantUrl">
|
<a-form-model-item class="itemModel" prop="relevantUrl">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.relevantUrl"
|
v-model.trim="formInline.relevantUrl"
|
||||||
:placeholder="$t('PleaseEnter')+$t('associatedWebsite')"/>
|
:placeholder="$t('PleaseEnter')+$t('associatedWebsite')"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -111,7 +113,7 @@
|
|||||||
<a-textarea
|
<a-textarea
|
||||||
:placeholder="$t('PleaseEnter')+$t('describe')"
|
:placeholder="$t('PleaseEnter')+$t('describe')"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.description" :rows="4"/>
|
v-model.trim="formInline.description" :rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -190,8 +192,8 @@
|
|||||||
],
|
],
|
||||||
description: [
|
description: [
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 500,
|
||||||
message: this.$t('describe') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('describe') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+1
@@ -134,6 +134,7 @@
|
|||||||
},
|
},
|
||||||
ResetSearch() {
|
ResetSearch() {
|
||||||
this.searchStr = ''
|
this.searchStr = ''
|
||||||
|
this.selectedTags = []
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -79,13 +79,13 @@
|
|||||||
<a-textarea
|
<a-textarea
|
||||||
:placeholder="$t('PleaseEnter')+title"
|
:placeholder="$t('PleaseEnter')+title"
|
||||||
:disabled="false"
|
:disabled="false"
|
||||||
v-model="formInline.replyContent" :rows="4"/>
|
v-model.trim="formInline.replyContent" :rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
<a-form-model-item v-else-if="title == $t('publishComment')" class="itemModel" :prop="'commentContent'">
|
<a-form-model-item v-else-if="title == $t('publishComment')" class="itemModel" :prop="'commentContent'">
|
||||||
<a-textarea
|
<a-textarea
|
||||||
:placeholder="$t('PleaseEnter')+title"
|
:placeholder="$t('PleaseEnter')+title"
|
||||||
:disabled="false"
|
:disabled="false"
|
||||||
v-model="formInline.commentContent" :rows="4"/>
|
v-model.trim="formInline.commentContent" :rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|||||||
+2
-1
@@ -187,6 +187,7 @@
|
|||||||
} else {
|
} else {
|
||||||
this.isDisplay = true
|
this.isDisplay = true
|
||||||
}
|
}
|
||||||
|
document.title = this.$t('DocumentComparison') + ' - ' + this.$t('comparisonResults')
|
||||||
this.language = localStorage.getItem('language') || ''
|
this.language = localStorage.getItem('language') || ''
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
@@ -207,7 +208,7 @@
|
|||||||
includeComments: fullCheckbox,
|
includeComments: fullCheckbox,
|
||||||
infoId: this.$route.query.id
|
infoId: this.$route.query.id
|
||||||
}
|
}
|
||||||
downloadFile(this.url.exportData, this.resultData.serialNumberLeft + ' - ' + this.resultData.serialNumberRight + '.xls', query, this.Deselect)
|
downloadFile(this.url.exportData, this.resultData.serialNumberLeft + ' - ' + this.resultData.serialNumberRight + this.$t('comparisonResults') + '.xls', query, this.Deselect)
|
||||||
},
|
},
|
||||||
Deselect() {
|
Deselect() {
|
||||||
this.checkboxList = []
|
this.checkboxList = []
|
||||||
|
|||||||
+17
-12
@@ -182,6 +182,7 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData()
|
this.getData()
|
||||||
|
document.title = this.$t('DocumentComparison') + ' - ' + this.$t('edit')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
Fallback() {
|
Fallback() {
|
||||||
@@ -326,12 +327,14 @@
|
|||||||
if (detailRightColor && detailRightColor.length > 0) {
|
if (detailRightColor && detailRightColor.length > 0) {
|
||||||
detailRightColor[0].classList.remove('detail-content-content-right-data-color-right')
|
detailRightColor[0].classList.remove('detail-content-content-right-data-color-right')
|
||||||
}
|
}
|
||||||
let detailContent = document.getElementsByClassName('detail-content-content-right-right-top')
|
if (item.targetStand && item.targetStand >= 0) {
|
||||||
let detailRight = document.getElementsByClassName('detail-content-content-right-data-right')
|
let detailContent = document.getElementsByClassName('detail-content-content-right-right-top')
|
||||||
this.dataRight = this.resultData.textRight[item.targetStand]
|
let detailRight = document.getElementsByClassName('detail-content-content-right-data-right')
|
||||||
if (detailRight && detailRight.length > 0) {
|
this.dataRight = this.resultData.textRight[item.targetStand]
|
||||||
detailRight[item.targetStand].classList.add('detail-content-content-right-data-color-right')
|
if (detailRight && detailRight.length > 0) {
|
||||||
detailContent[0].scrollTop = detailRight[item.targetStand].offsetTop - 150
|
detailRight[item.targetStand].classList.add('detail-content-content-right-data-color-right')
|
||||||
|
detailContent[0].scrollTop = detailRight[item.targetStand].offsetTop - 150
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -354,12 +357,14 @@
|
|||||||
if (detailLeftColor && detailLeftColor.length > 0) {
|
if (detailLeftColor && detailLeftColor.length > 0) {
|
||||||
detailLeftColor[0].classList.remove('detail-content-content-right-data-color')
|
detailLeftColor[0].classList.remove('detail-content-content-right-data-color')
|
||||||
}
|
}
|
||||||
this.dataLeft = this.resultData.textLeft[item.targetStand]
|
if (item.targetStand && item.targetStand >= 0) {
|
||||||
let detailContent = document.getElementsByClassName('detail-content-content-right-top')
|
this.dataLeft = this.resultData.textLeft[item.targetStand]
|
||||||
let detailLeft = document.getElementsByClassName('detail-content-content-right-data')
|
let detailContent = document.getElementsByClassName('detail-content-content-right-top')
|
||||||
if (detailLeft && detailLeft.length > 0) {
|
let detailLeft = document.getElementsByClassName('detail-content-content-right-data')
|
||||||
detailLeft[item.targetStand].classList.add('detail-content-content-right-data-color')
|
if (detailLeft && detailLeft.length > 0 && item.targetStand >= 0) {
|
||||||
detailContent[0].scrollTop = detailLeft[item.targetStand].offsetTop - 150
|
detailLeft[item.targetStand].classList.add('detail-content-content-right-data-color')
|
||||||
|
detailContent[0].scrollTop = detailLeft[item.targetStand].offsetTop - 150
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+3
-2
@@ -242,6 +242,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.getListLeft()
|
this.getListLeft()
|
||||||
this.getListRight()
|
this.getListRight()
|
||||||
|
document.title = this.$t('DocumentComparison') + ' - ' + this.$t('initiateComparison')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
Fallback() {
|
Fallback() {
|
||||||
@@ -348,7 +349,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNoLeft,
|
pageNo: this.pageNoLeft,
|
||||||
pageSize: this.pageSizeLeft,
|
pageSize: this.pageSizeLeft,
|
||||||
fileId:'1',
|
fileId: '1',
|
||||||
...queryParam
|
...queryParam
|
||||||
}
|
}
|
||||||
this.loadingLeft = true
|
this.loadingLeft = true
|
||||||
@@ -372,7 +373,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNoRight,
|
pageNo: this.pageNoRight,
|
||||||
pageSize: this.pageSizeRight,
|
pageSize: this.pageSizeRight,
|
||||||
fileId:'1',
|
fileId: '1',
|
||||||
...queryParam
|
...queryParam
|
||||||
}
|
}
|
||||||
this.loadingRight = true
|
this.loadingRight = true
|
||||||
|
|||||||
Reference in New Issue
Block a user