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>
<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>
</template>

View File

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

View File

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