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