【修改】修改bug

This commit is contained in:
zhoulingpo
2023-05-17 10:26:11 +08:00
parent 9c60d0ea96
commit 06c22b17c5
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
</div> </div>
</el-col> </el-col>
<el-col :span="6" align="right" class="tag-btns"> <el-col :span="6" :offset="6" align="right" class="tag-btns">
<el-button type="primary" @click="search">查询</el-button> <el-button type="primary" @click="search">查询</el-button>
<el-button type="default" @click="reset">重置</el-button> <el-button type="default" @click="reset">重置</el-button>
</el-col> </el-col>
@@ -50,7 +50,7 @@
</el-col> </el-col>
<el-col :span="10" :offset="2" v-if="isShowTime"> <el-col :span="10" :offset="2" v-if="isShowTime">
<el-form-item label="保密到期日期:" prop="secrecyLast"> <el-form-item label="保密到期日期:" prop="secrecyLast">
<el-date-picker :disabled="formControl" v-model="form.secrecyLast" type="date" value-format="yyyy-mm-dd" <el-date-picker :disabled="formControl" v-model="form.secrecyLast" type="date" value-format=yyyy-MM-dd
placeholder="请选择保密到期日期" placeholder="请选择保密到期日期"
prefix-icon="null"/> prefix-icon="null"/>
</el-form-item> </el-form-item>
@@ -255,6 +255,7 @@ export default {
console.log("变化了", this.form) console.log("变化了", this.form)
if (this.form.secrecyLast) { if (this.form.secrecyLast) {
this.isShowTime = true this.isShowTime = true
debugger
this.form.secrecyLast = new Date(this.form.secrecyLast) this.form.secrecyLast = new Date(this.form.secrecyLast)
} }
if (this.processForm.keyContent) { if (this.processForm.keyContent) {