[update] - 修改bug

This commit is contained in:
fengchenchen
2022-07-19 10:22:06 +08:00
parent b9815bc457
commit 035aa9733d
@@ -27,7 +27,7 @@
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="提问人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入提问人" v-model="queryParam.dutyCode" :maxLength='50'></a-input>
<a-input placeholder="请输入提问人" v-model="queryParam.creater" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
@@ -193,8 +193,8 @@ export default {
initData(record) {
this.lastQueryParam = {}
this.queryParam = {}
if(record.registerDeadline && !record.addQuestionStatue) {
let canOpe = !this.compareCurrentTime(record.registerDeadline)
if(record.endTimeAddQuestion && !record.addQuestionStatue_dictText) {
let canOpe = !this.compareCurrentTime(record.endTimeAddQuestion)
record.addQuestionStatue_dictText = canOpe ? '征集中' : '已结束'
}
this.model = Object.assign({}, record)