This commit is contained in:
alvis 2020-12-30 09:41:59 +08:00
parent 4f4ee30cff
commit 2ecbee9561
4 changed files with 5 additions and 3 deletions

View File

@ -175,6 +175,7 @@ export default {
}) })
}, },
resetForm () { resetForm () {
let lastId = this.form.id
this.$refs['form'].resetFields() this.$refs['form'].resetFields()
this.form = { this.form = {
id: null, id: null,
@ -182,6 +183,7 @@ export default {
title: '', title: '',
paperItems: [] paperItems: []
} }
this.form.id = lastId
}, },
subjectFormatter (row, column, cellValue, index) { subjectFormatter (row, column, cellValue, index) {
return this.subjectEnumFormat(cellValue) return this.subjectEnumFormat(cellValue)

View File

@ -13,4 +13,4 @@
hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9'
var s = document.getElementsByTagName('script')[0] var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s) s.parentNode.insertBefore(hm, s)
})()</script><link href="static/css/chunk-0226adbc.0e1403ca.css" rel="prefetch"><link href="static/css/chunk-066bbd34.c306629d.css" rel="prefetch"><link href="static/css/chunk-111f3671.d650a2aa.css" rel="prefetch"><link href="static/css/chunk-157f9069.c306629d.css" rel="prefetch"><link href="static/css/chunk-2e16d177.89936c18.css" rel="prefetch"><link href="static/css/chunk-360c43ba.c306629d.css" rel="prefetch"><link href="static/css/chunk-42236473.c306629d.css" rel="prefetch"><link href="static/css/chunk-5bc3d75d.c306629d.css" rel="prefetch"><link href="static/css/chunk-65f8ca6f.c306629d.css" rel="prefetch"><link href="static/css/chunk-7c62808c.c306629d.css" rel="prefetch"><link href="static/css/chunk-873a42e2.1951fa25.css" rel="prefetch"><link href="static/css/chunk-a85d3c1e.c8588555.css" rel="prefetch"><link href="static/css/chunk-a9d03770.c306629d.css" rel="prefetch"><link href="static/css/chunk-bab2e2c4.c306629d.css" rel="prefetch"><link href="static/js/chunk-0226adbc.91efa3a2.js" rel="prefetch"><link href="static/js/chunk-066bbd34.bb550dca.js" rel="prefetch"><link href="static/js/chunk-111f3671.0150d75d.js" rel="prefetch"><link href="static/js/chunk-157f9069.d67cce82.js" rel="prefetch"><link href="static/js/chunk-16f9edc1.4d0f4079.js" rel="prefetch"><link href="static/js/chunk-2d0c138b.3087cd31.js" rel="prefetch"><link href="static/js/chunk-2d221bd2.324134b9.js" rel="prefetch"><link href="static/js/chunk-2d2300ef.9a820eba.js" rel="prefetch"><link href="static/js/chunk-2d230fe7.042d38d1.js" rel="prefetch"><link href="static/js/chunk-2e16d177.c6a523cf.js" rel="prefetch"><link href="static/js/chunk-360c43ba.b22584e6.js" rel="prefetch"><link href="static/js/chunk-42236473.3a07ba32.js" rel="prefetch"><link href="static/js/chunk-5bc3d75d.aaba91fd.js" rel="prefetch"><link href="static/js/chunk-65f8ca6f.96f3c14b.js" rel="prefetch"><link href="static/js/chunk-733c35b2.ec5c0e59.js" rel="prefetch"><link href="static/js/chunk-75f11c77.d596909b.js" rel="prefetch"><link href="static/js/chunk-78234ca2.fcbfcc3b.js" rel="prefetch"><link href="static/js/chunk-793f0082.bfd96993.js" rel="prefetch"><link href="static/js/chunk-7c62808c.ab2a9446.js" rel="prefetch"><link href="static/js/chunk-873a42e2.d48fede2.js" rel="prefetch"><link href="static/js/chunk-a85d3c1e.c23185aa.js" rel="prefetch"><link href="static/js/chunk-a9d03770.f3eac989.js" rel="prefetch"><link href="static/js/chunk-bab2e2c4.190516fc.js" rel="prefetch"><link href="static/js/chunk-d0753fda.1145adeb.js" rel="prefetch"><link href="static/css/chunk-vendors.ee57d822.css" rel="preload" as="style"><link href="static/css/index.30c57bc1.css" rel="preload" as="style"><link href="static/js/chunk-vendors.9dd0934b.js" rel="preload" as="script"><link href="static/js/index.37a193bf.js" rel="preload" as="script"><link href="static/css/chunk-vendors.ee57d822.css" rel="stylesheet"><link href="static/css/index.30c57bc1.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.9dd0934b.js"></script><script src="static/js/index.37a193bf.js"></script></body></html> })()</script><link href="static/css/chunk-0226adbc.0e1403ca.css" rel="prefetch"><link href="static/css/chunk-066bbd34.c306629d.css" rel="prefetch"><link href="static/css/chunk-111f3671.d650a2aa.css" rel="prefetch"><link href="static/css/chunk-157f9069.c306629d.css" rel="prefetch"><link href="static/css/chunk-2e16d177.89936c18.css" rel="prefetch"><link href="static/css/chunk-360c43ba.c306629d.css" rel="prefetch"><link href="static/css/chunk-42236473.c306629d.css" rel="prefetch"><link href="static/css/chunk-5bc3d75d.c306629d.css" rel="prefetch"><link href="static/css/chunk-65f8ca6f.c306629d.css" rel="prefetch"><link href="static/css/chunk-7c62808c.c306629d.css" rel="prefetch"><link href="static/css/chunk-873a42e2.1951fa25.css" rel="prefetch"><link href="static/css/chunk-a85d3c1e.c8588555.css" rel="prefetch"><link href="static/css/chunk-a9d03770.c306629d.css" rel="prefetch"><link href="static/css/chunk-bab2e2c4.c306629d.css" rel="prefetch"><link href="static/js/chunk-0226adbc.91efa3a2.js" rel="prefetch"><link href="static/js/chunk-066bbd34.bb550dca.js" rel="prefetch"><link href="static/js/chunk-111f3671.0150d75d.js" rel="prefetch"><link href="static/js/chunk-157f9069.d67cce82.js" rel="prefetch"><link href="static/js/chunk-16f9edc1.4d0f4079.js" rel="prefetch"><link href="static/js/chunk-2d0c138b.3087cd31.js" rel="prefetch"><link href="static/js/chunk-2d221bd2.324134b9.js" rel="prefetch"><link href="static/js/chunk-2d2300ef.9a820eba.js" rel="prefetch"><link href="static/js/chunk-2d230fe7.042d38d1.js" rel="prefetch"><link href="static/js/chunk-2e16d177.c6a523cf.js" rel="prefetch"><link href="static/js/chunk-360c43ba.b22584e6.js" rel="prefetch"><link href="static/js/chunk-42236473.3a07ba32.js" rel="prefetch"><link href="static/js/chunk-5bc3d75d.aaba91fd.js" rel="prefetch"><link href="static/js/chunk-65f8ca6f.96f3c14b.js" rel="prefetch"><link href="static/js/chunk-733c35b2.ec5c0e59.js" rel="prefetch"><link href="static/js/chunk-75f11c77.d596909b.js" rel="prefetch"><link href="static/js/chunk-78234ca2.fcbfcc3b.js" rel="prefetch"><link href="static/js/chunk-793f0082.bfd96993.js" rel="prefetch"><link href="static/js/chunk-7c62808c.00d6619c.js" rel="prefetch"><link href="static/js/chunk-873a42e2.d48fede2.js" rel="prefetch"><link href="static/js/chunk-a85d3c1e.c23185aa.js" rel="prefetch"><link href="static/js/chunk-a9d03770.f3eac989.js" rel="prefetch"><link href="static/js/chunk-bab2e2c4.190516fc.js" rel="prefetch"><link href="static/js/chunk-d0753fda.1145adeb.js" rel="prefetch"><link href="static/css/chunk-vendors.ee57d822.css" rel="preload" as="style"><link href="static/css/index.30c57bc1.css" rel="preload" as="style"><link href="static/js/chunk-vendors.9dd0934b.js" rel="preload" as="script"><link href="static/js/index.1e280854.js" rel="preload" as="script"><link href="static/css/chunk-vendors.ee57d822.css" rel="stylesheet"><link href="static/css/index.30c57bc1.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.9dd0934b.js"></script><script src="static/js/index.1e280854.js"></script></body></html>