This commit is contained in:
BianLzhaoMin 2024-12-31 14:54:02 +08:00
commit ed6707d126
3 changed files with 6 additions and 2 deletions

View File

@ -120,7 +120,7 @@
<el-button size="small" type="primary" @click="onContract(row, false)"> <el-button size="small" type="primary" @click="onContract(row, false)">
编辑 编辑
</el-button> </el-button>
<el-button size="small" type="danger" @click="onDelete(row.id, true)"> <el-button size="small" type="danger" @click="onDelete(row.id, true)" v-if="row.status==0">
删除 删除
</el-button> </el-button>
</template> </template>

View File

@ -137,6 +137,8 @@ const resetTableList = (formEl: FormInstance | undefined) => {
if (!formEl) return if (!formEl) return
formEl.resetFields() formEl.resetFields()
time.value = [] time.value = []
queryParams.value.lowerBound = null
queryParams.value.upperBound = null
queryTableList() queryTableList()
} }

View File

@ -125,6 +125,8 @@ const resetTableList = (formEl: FormInstance | undefined) => {
if (!formEl) return if (!formEl) return
formEl.resetFields() formEl.resetFields()
time.value = [] time.value = []
queryParams.value.lowerBound = null
queryParams.value.upperBound = null
queryTableList() queryTableList()
} }
@ -775,7 +777,7 @@ const wordUrl = ref('')
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6" >
<el-input <el-input
v-model.trim="queryParams.lowerBound" v-model.trim="queryParams.lowerBound"
placeholder="租金/元" placeholder="租金/元"