| | |
| | | url: "/Tactics/", |
| | | sortName: "id" |
| | | }); |
| | | |
| | | const editFormFields = ref({ |
| | | SelectTactice: "" |
| | | tacticeName: "", |
| | | selectTactice: "" |
| | | }); |
| | | |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | field: "selectTactice", |
| | | title: "éæ©çç¥", |
| | | type: "select", |
| | | title: "çç¥åç§°", |
| | | field: "tacticeName", |
| | | type: "string", |
| | | required: true, |
| | | bind: { key: "tacticsEnum", data: [] }, |
| | | span: 24 |
| | | width: 150 |
| | | }, |
| | | { |
| | | title: "éæ©çç¥", |
| | | field: "selectTactice", |
| | | type: "select", |
| | | dataKey: "TacticsEnum", |
| | | data: [], |
| | | required: true, |
| | | width: 120 |
| | | } |
| | | ] |
| | | ]); |
| | | |
| | | const searchFormFields = ref({ |
| | | SelectTactice: "" |
| | | tacticeName: "", |
| | | selectTactice: "" |
| | | }); |
| | | |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "çç¥åç§°", field: "TacticeName", type: "like" }, |
| | | { |
| | | title: "çç¥ç±»å", |
| | | field: "selectTactice", |
| | | type: "eq", |
| | | bind: { key: "tacticsEnum", data: [] } |
| | | type: "select", |
| | | dataKey: "TacticsEnum", |
| | | data: [], |
| | | } |
| | | ] |
| | | ]); |
| | | |
| | | const columns = ref([ |
| | | {field:'id',title:'主é®',type:'int',width:90,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'selectTactice',title:'éæ©çç¥',type:'select',width:120,align:'left',bind:{key:'tacticsEnum',data:[]}}, |
| | | {field:'creater',title:'å建è
',type:'string',width:100,require:true,align:'left'}, |
| | | {field:'createDate',title:'å建æ¶é´',type:'datetime',width:160,require:true,align:'left',sort:true}, |
| | | {field:'modifier',title:'ä¿®æ¹äºº',type:'string',width:100,align:'left'}, |
| | | {field:'modifyDate',title:'ä¿®æ¹æ¥æ',type:'datetime',width:160,align:'left',sort:true} |
| | | { |
| | | field: 'id', |
| | | title: '主é®', |
| | | type: 'int', |
| | | width: 90, |
| | | hidden: true, |
| | | readonly: true, |
| | | require: true, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'tacticeName', |
| | | title: 'çç¥åç§°', |
| | | type: 'string', |
| | | width: 150, |
| | | require: true, |
| | | align: 'left', |
| | | sort: true |
| | | }, |
| | | |
| | | { |
| | | field: 'selectTactice', |
| | | title: 'éæ©çç¥', |
| | | type: 'string', |
| | | width: 120, |
| | | require: true, |
| | | align: 'left', |
| | | bind: { key: "TacticsEnum", data: [] } |
| | | }, |
| | | |
| | | { |
| | | field: 'creater', |
| | | title: 'å建人', |
| | | type: 'string', |
| | | width: 90, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'createDate', |
| | | title: 'å建æ¶é´', |
| | | type: 'datetime', |
| | | width: 160, |
| | | align: 'left', |
| | | sort: true |
| | | }, |
| | | { |
| | | field: 'modifier', |
| | | title: 'ä¿®æ¹äºº', |
| | | type: 'string', |
| | | width: 100, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'modifyDate', |
| | | title: 'ä¿®æ¹æ¶é´', |
| | | type: 'datetime', |
| | | width: 160, |
| | | align: 'left', |
| | | sort: true |
| | | } |
| | | ]); |
| | | |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | |
| | | return { |
| | | table, |
| | | extend, |