[update] 修改bug87648
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
show-search
|
show-search
|
||||||
:filter-option="filterOption"
|
:filter-option="filterOption"
|
||||||
|
@dropdownVisibleChange="dropdownVisibleChange"
|
||||||
@change="handleInput"
|
@change="handleInput"
|
||||||
>
|
>
|
||||||
<a-select-option :value="undefined">{{ $t('pleaseSelect') }}</a-select-option>
|
<a-select-option :value="undefined">{{ $t('pleaseSelect') }}</a-select-option>
|
||||||
@@ -143,6 +144,9 @@ export default {
|
|||||||
},
|
},
|
||||||
getCurrentDictOptions () {
|
getCurrentDictOptions () {
|
||||||
return this.dictOptions
|
return this.dictOptions
|
||||||
|
},
|
||||||
|
dropdownVisibleChange (open) {
|
||||||
|
this.$emit('dropdownVisibleChange', open)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
model: {
|
model: {
|
||||||
|
|||||||
+14
@@ -31,6 +31,7 @@
|
|||||||
dict-code="evaluation_result"
|
dict-code="evaluation_result"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@change="resultChange(record)"
|
@change="resultChange(record)"
|
||||||
|
@dropdownVisibleChange="resultDropdownVisibleChange"
|
||||||
v-model="record.result">
|
v-model="record.result">
|
||||||
</j-dict-select-tag>
|
</j-dict-select-tag>
|
||||||
</template>
|
</template>
|
||||||
@@ -298,6 +299,19 @@ export default {
|
|||||||
}
|
}
|
||||||
return data
|
return data
|
||||||
},
|
},
|
||||||
|
// 点击评估结果,滚动条滚动到最后
|
||||||
|
resultDropdownVisibleChange (open) {
|
||||||
|
if (!open) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
const table = this.$refs.expandTable
|
||||||
|
if (table) {
|
||||||
|
const scrollBox = table.$el.querySelector('.ant-table-body')
|
||||||
|
if (scrollBox) {
|
||||||
|
scrollBox.scrollLeft = scrollBox.scrollWidth
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
// 评估结果改变,清空备注和佐证材料,不满足要求的现状,整改方案,整改周期,整改费用,与其他项目共用性,共用后本项目所需费用
|
// 评估结果改变,清空备注和佐证材料,不满足要求的现状,整改方案,整改周期,整改费用,与其他项目共用性,共用后本项目所需费用
|
||||||
resultChange (record) {
|
resultChange (record) {
|
||||||
const index = this.dataSource.findIndex(item => item.id === record.id)
|
const index = this.dataSource.findIndex(item => item.id === record.id)
|
||||||
|
|||||||
+14
@@ -104,6 +104,7 @@
|
|||||||
dict-code="evaluation_result"
|
dict-code="evaluation_result"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@change="resultChange(record)"
|
@change="resultChange(record)"
|
||||||
|
@dropdownVisibleChange="resultDropdownVisibleChange"
|
||||||
v-model="record.result">
|
v-model="record.result">
|
||||||
</j-dict-select-tag>
|
</j-dict-select-tag>
|
||||||
</template>
|
</template>
|
||||||
@@ -860,6 +861,19 @@ export default {
|
|||||||
// 显示条款内容弹框
|
// 显示条款内容弹框
|
||||||
showContent (val) {
|
showContent (val) {
|
||||||
this.$refs.splitClauseDetail.open(val)
|
this.$refs.splitClauseDetail.open(val)
|
||||||
|
},
|
||||||
|
// 点击评估结果,滚动条滚动到最后
|
||||||
|
resultDropdownVisibleChange (open) {
|
||||||
|
if (!open) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
const table = this.$refs.expandTable
|
||||||
|
if (table) {
|
||||||
|
const scrollBox = table.$el.querySelector('.ant-table-body')
|
||||||
|
if (scrollBox) {
|
||||||
|
scrollBox.scrollLeft = scrollBox.scrollWidth
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user