传入参数调整
This commit is contained in:
@@ -182,13 +182,13 @@ export default {
|
||||
],
|
||||
// 系统类别选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
typeOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 系统状态选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
statusOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 数据列表
|
||||
dataList: [],
|
||||
|
||||
@@ -205,13 +205,13 @@ export default {
|
||||
],
|
||||
// 系统类别选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
typeOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 系统状态选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
statusOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 数据列表
|
||||
dataList: [],
|
||||
|
||||
@@ -182,13 +182,13 @@ export default {
|
||||
],
|
||||
// 系统类别选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
typeOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 系统状态选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
statusOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 数据列表
|
||||
dataList: [],
|
||||
|
||||
@@ -176,13 +176,13 @@ export default {
|
||||
],
|
||||
// 系统类别选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
typeOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 系统状态选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
statusOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 数据列表
|
||||
dataList: [],
|
||||
|
||||
@@ -214,13 +214,13 @@ export default {
|
||||
],
|
||||
// 系统类别选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
typeOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 系统状态选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
statusOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 数据列表
|
||||
dataList: [],
|
||||
|
||||
@@ -174,13 +174,13 @@ export default {
|
||||
],
|
||||
// 系统类别选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
typeOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 系统状态选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'}
|
||||
statusOptions: [
|
||||
{ dictLabel: '停用', dictValue: 0 },
|
||||
{ dictLabel: '启用', dictValue: 1 },
|
||||
{ dictLabel: '停用', dictValue: '0' },
|
||||
{ dictLabel: '启用', dictValue: '1' },
|
||||
],
|
||||
// 数据列表
|
||||
dataList: [],
|
||||
|
||||
@@ -378,7 +378,7 @@
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm: function () {
|
||||
console.log(JSON.stringify(this.form))
|
||||
//console.log(JSON.stringify(this.form))
|
||||
this.$refs['form'].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.form.id != undefined && this.opertype === 2) {
|
||||
|
||||
Reference in New Issue
Block a user