|
|
@@ -18,6 +18,7 @@ import getserial from '../../../form/utils/custom/serialNumber' //编码规则
|
|
|
import pintText from '../../../form/utils/custom/pintText.js' //打印规则
|
|
|
import repostCurd from '../../../form/utils/custom/joinCURD.js' //增删改查规则
|
|
|
import getDate from '../../../form/utils/custom/getDateRule.js' //获取年月日
|
|
|
+import store from '@/store'
|
|
|
|
|
|
// 定义全局
|
|
|
var JTemplate
|
|
|
@@ -47,6 +48,7 @@ _.extend(JTemplate, {
|
|
|
this.$curdPost = repostCurd //封装通用增删改查
|
|
|
this._ = _
|
|
|
this._isInitialization = true
|
|
|
+ this.$store = store
|
|
|
},
|
|
|
|
|
|
// 页面加载
|