From ab0d88b80a914f69b2f98010a4a4b32ef68c69e6 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Thu, 26 Mar 2020 11:25:14 +0800 Subject: [PATCH] ad --- src/utils/curd.js | 4 ++-- .../InitialProduction/index.vue | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/utils/curd.js b/src/utils/curd.js index 297b279a..db627302 100644 --- a/src/utils/curd.js +++ b/src/utils/curd.js @@ -13,8 +13,8 @@ export default { // 1)type:11查询;12增删改,必须 // 2)name:存储过程名,必须 // 3)data:存储过程参数名和对应值,例如: - // this.param[0] = ['设备类型编码', '3', 'string', '0'] - // this.param[1] = ['output', '3', 'int', '1'],必须 + // param[0] = ['设备类型编码', '3', 'string', '0'] + // param[1] = ['output', '3', 'int', '1'],必须 // 数组里四个分别对应:存储过程参数名(必须);存储过程参数值(必须);参数类型(若是output必须);参数是否为output(0否1是) // 4)pageSize,pageList:分页使用,可选 Vue.prototype.CreateData = function(type, name, data, pageSize, pageList) { diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue index ce2e3de6..1b4dff03 100644 --- a/src/views/ManufacturingCenter/InitialProduction/index.vue +++ b/src/views/ManufacturingCenter/InitialProduction/index.vue @@ -394,6 +394,7 @@ import Cookie from 'js-cookie' export default { data() { return { + a: 0, checked_hebing: true, checked_UrgentItem: false, UrgentItem: 0, @@ -531,16 +532,16 @@ export default { // if (to.name === 'InitialProduction') { // _this.typeChange() // } + // }, + // '$route': { + // handler(route) { + // const _this = this + // console.log(route.name) + // if (route.name === 'InitialProduction') { + // _this.typeChange() + // } + // } // } - // // '$route': { - // // handler(route) { - // // const _this = this - // // console.log(route.name) - // // if (route.name === 'InitialProduction') { - // // _this.typeChange() - // // } - // // } - // // } // }, created() { this.typeChange() @@ -1373,4 +1374,3 @@ export default { margin-bottom: 13px; } -