update 车型项目库

This commit is contained in:
赵霄
2023-09-12 09:30:04 +08:00
parent bdf84b06c1
commit 8810d2dca5
2 changed files with 7 additions and 1 deletions
@@ -121,7 +121,9 @@ export default {
add () { add () {
this.form.resetFields() this.form.resetFields()
this.visible = true this.visible = true
this.model.projectSource = ProjectSource.ADD.value this.model = {
projectSource: ProjectSource.ADD.value
}
this.$nextTick(() => { this.$nextTick(() => {
this.form.setFieldsValue(this.model) this.form.setFieldsValue(this.model)
}) })
@@ -481,6 +481,10 @@ export default {
this.loading = false this.loading = false
}) })
}, },
/**
* 跳转详情页
* @param id
*/
toDetailPage ({ id }) { toDetailPage ({ id }) {
this.$openPageNewSheet({ this.$openPageNewSheet({
path: '/standardRegulationLibrary/DomesticStandardDetail', path: '/standardRegulationLibrary/DomesticStandardDetail',