ad
This commit is contained in:
@@ -13,8 +13,8 @@ export default {
|
|||||||
// 1)type:11查询;12增删改,必须
|
// 1)type:11查询;12增删改,必须
|
||||||
// 2)name:存储过程名,必须
|
// 2)name:存储过程名,必须
|
||||||
// 3)data:存储过程参数名和对应值,例如:
|
// 3)data:存储过程参数名和对应值,例如:
|
||||||
// this.param[0] = ['设备类型编码', '3', 'string', '0']
|
// param[0] = ['设备类型编码', '3', 'string', '0']
|
||||||
// this.param[1] = ['output', '3', 'int', '1'],必须
|
// param[1] = ['output', '3', 'int', '1'],必须
|
||||||
// 数组里四个分别对应:存储过程参数名(必须);存储过程参数值(必须);参数类型(若是output必须);参数是否为output(0否1是)
|
// 数组里四个分别对应:存储过程参数名(必须);存储过程参数值(必须);参数类型(若是output必须);参数是否为output(0否1是)
|
||||||
// 4)pageSize,pageList:分页使用,可选
|
// 4)pageSize,pageList:分页使用,可选
|
||||||
Vue.prototype.CreateData = function(type, name, data, pageSize, pageList) {
|
Vue.prototype.CreateData = function(type, name, data, pageSize, pageList) {
|
||||||
|
|||||||
@@ -394,6 +394,7 @@ import Cookie from 'js-cookie'
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
a: 0,
|
||||||
checked_hebing: true,
|
checked_hebing: true,
|
||||||
checked_UrgentItem: false,
|
checked_UrgentItem: false,
|
||||||
UrgentItem: 0,
|
UrgentItem: 0,
|
||||||
@@ -531,16 +532,16 @@ export default {
|
|||||||
// if (to.name === 'InitialProduction') {
|
// if (to.name === 'InitialProduction') {
|
||||||
// _this.typeChange()
|
// _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() {
|
created() {
|
||||||
this.typeChange()
|
this.typeChange()
|
||||||
@@ -1373,4 +1374,3 @@ export default {
|
|||||||
margin-bottom: 13px;
|
margin-bottom: 13px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user