This commit is contained in:
Vergil
2020-03-26 11:25:14 +08:00
parent d3b17f4a2a
commit ab0d88b80a
2 changed files with 12 additions and 12 deletions

View File

@@ -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) {

View File

@@ -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;
}
</style>