提交 9f31aeb5 编写于 作者: ibizdev's avatar ibizdev

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 d06a3004
......@@ -815,6 +815,14 @@
"viewname": "IBIZBOOKInterFuncKanBanView",
"viewtag": "98865bf786ea85b14932dd5e48a74983"
},
"ibizbookusr8gridview": {
"title": "图书实体表格视图(表格列重置)",
"caption": "图书实体表格视图(表格列重置)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr8GridView",
"viewtag": "9c8e1b12e5e55164c2ec0e5617e1574b"
},
"ibizsample0015pickupgridview": {
"title": "项目选择表格视图",
"caption": "项目",
......
......@@ -196,7 +196,7 @@ export default {
menuitem76: "更新默认值",
menuitem77: "表格值规则",
menuitem132: "表格列更新",
menuitem133: "表格项值重置",
menuitem133: "表格重置",
menuitem78: "自动分组",
menuitem80: "代码表分组",
menuitem81: "当前页聚合",
......
......@@ -196,7 +196,7 @@ export default {
menuitem76: "更新默认值",
menuitem77: "表格值规则",
menuitem132: "表格列更新",
menuitem133: "表格项值重置",
menuitem133: "表格重置",
menuitem78: "自动分组",
menuitem80: "代码表分组",
menuitem81: "当前页聚合",
......
......@@ -101,6 +101,10 @@ export default {
caption: "图书",
title: "图书看板视图(内置功能)",
},
usr8gridview: {
caption: "图书实体表格视图(表格列重置)",
title: "图书实体表格视图(表格列重置)",
},
wizardview: {
caption: "图书",
title: "图书向导视图",
......@@ -1045,6 +1049,64 @@ export default {
tip: "数据导入",
},
},
usr8gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
deuiaction2: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
usr7gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
......
......@@ -100,6 +100,10 @@ export default {
caption: "图书",
title: "图书看板视图(内置功能)",
},
usr8gridview: {
caption: "图书实体表格视图(表格列重置)",
title: "图书实体表格视图(表格列重置)",
},
wizardview: {
caption: "图书",
title: "图书向导视图",
......@@ -1044,6 +1048,64 @@ export default {
tip: "数据导入",
},
},
usr8gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
deuiaction2: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
usr7gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
......
......@@ -264,6 +264,7 @@ export default {
formitem12: "格式化信息",
formitem15: "多久之前",
color: "color",
formitem13: "颜色2",
formitem1: "颜色选择",
address: "地图定位address",
longitude: "地图定位longitude",
......
......@@ -263,6 +263,7 @@ export default {
formitem12: "格式化信息",
formitem15: "多久之前",
color: "color",
formitem13: "颜色2",
formitem1: "颜色选择",
address: "地图定位address",
longitude: "地图定位longitude",
......
......@@ -611,10 +611,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{
id: 'F8DB29A9-2916-498E-B289-6B0713EC532E',
name: 'menuitem133',
text: '表格项值重置',
text: '表格重置',
type: 'MENUITEM',
counterid: '',
tooltip: '表格项值重置',
tooltip: '表格重置',
expanded: false,
separator: false,
hidden: false,
......@@ -623,7 +623,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'AppFunc55',
resourcetag: '',
},
{
......
......@@ -823,6 +823,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZBOOKInterFuncKanBanView",
"viewtag": "98865bf786ea85b14932dd5e48a74983"
},
"ibizbookusr8gridview": {
"title": "图书实体表格视图(表格列重置)",
"caption": "图书实体表格视图(表格列重置)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr8GridView",
"viewtag": "9c8e1b12e5e55164c2ec0e5617e1574b"
},
"ibizsample0015pickupgridview": {
"title": "项目选择表格视图",
"caption": "项目",
......
.ibizbookusr8-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr8GridViewBase from './ibizbookusr8-grid-view-base.vue';
import view_grid from '@widgets/ibizbook/main6-grid/main6-grid.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZBOOKUsr8GridView extends IBIZBOOKUsr8GridViewBase {
}
</script>
\ No newline at end of file
......@@ -30,8 +30,8 @@ export const PageComponents = {
Vue.component('ibizsample0002-pickup-grid-view', () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue'));
Vue.component('ibizsoftware-suit-edit-view', () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'));
Vue.component('ibizorder-pickup-view', () => import('@pages/sample/ibizorder-pickup-view/ibizorder-pickup-view.vue'));
Vue.component('ibizorder-sf4-grid-view', () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'));
Vue.component('ibizsample0003-grid-view', () => import('@pages/sample/ibizsample0003-grid-view/ibizsample0003-grid-view.vue'));
Vue.component('ibizorder-sf4-grid-view', () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'));
Vue.component('ibizbookcustom-view', () => import('@pages/sample/ibizbookcustom-view/ibizbookcustom-view.vue'));
Vue.component('ibizsample0003-sf4-edit-view', () => import('@pages/sample/ibizsample0003-sf4-edit-view/ibizsample0003-sf4-edit-view.vue'));
Vue.component('ibizorder-sf1-grid-view', () => import('@pages/sample/ibizorder-sf1-grid-view/ibizorder-sf1-grid-view.vue'));
......@@ -112,6 +112,7 @@ export const PageComponents = {
Vue.component('ibizbookhas-panel-list-view', () => import('@pages/sample/ibizbookhas-panel-list-view/ibizbookhas-panel-list-view.vue'));
Vue.component('ibizorder-sf6-grid-view', () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizbookusr8-grid-view', () => import('@pages/sample/ibizbookusr8-grid-view/ibizbookusr8-grid-view.vue'));
Vue.component('ibizbookusr2-data-view', () => import('@pages/sample/ibizbookusr2-data-view/ibizbookusr2-data-view.vue'));
Vue.component('ibizbooklist-view', () => import('@pages/sample/ibizbooklist-view/ibizbooklist-view.vue'));
Vue.component('ibizsample0017-form-pickup-view', () => import('@pages/sample/ibizsample0017-form-pickup-view/ibizsample0017-form-pickup-view.vue'));
......
......@@ -576,32 +576,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizorder-pickup-view/ibizorder-pickup-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sf4gridview/:sf4gridview?',
path: 'ibizsample0003s/:ibizsample0003?/gridview/:gridview?',
meta: {
caption: 'entities.ibizorder.views.sf4gridview.caption',
caption: 'entities.ibizsample0003.views.gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf4gridview', parameterName: 'sf4gridview' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'),
component: () => import('@pages/sample/ibizsample0003-grid-view/ibizsample0003-grid-view.vue'),
},
{
path: 'ibizsample0003s/:ibizsample0003?/gridview/:gridview?',
path: 'ibizorders/:ibizorder?/sf4gridview/:sf4gridview?',
meta: {
caption: 'entities.ibizsample0003.views.gridview.caption',
caption: 'entities.ibizorder.views.sf4gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'gridview', parameterName: 'gridview' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'sf4gridview', parameterName: 'sf4gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-grid-view/ibizsample0003-grid-view.vue'),
component: () => import('@pages/sample/ibizorder-sf4-grid-view/ibizorder-sf4-grid-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/customview/:customview?',
......@@ -1873,6 +1873,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usr8gridview/:usr8gridview?',
meta: {
caption: 'entities.ibizbook.views.usr8gridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr8gridview', parameterName: 'usr8gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr8-grid-view/ibizbookusr8-grid-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usr2dataview/:usr2dataview?',
meta: {
......@@ -3987,6 +4001,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookinter-func-kan-ban-view/ibizbookinter-func-kan-ban-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usr8gridview/:usr8gridview?',
meta: {
caption: 'entities.ibizbook.views.usr8gridview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr8gridview', parameterName: 'usr8gridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr8-grid-view/ibizbookusr8-grid-view.vue'),
},
{
path: '/ibizsample0014s/:ibizsample0014?/gridview/:gridview?',
meta: {
......
......@@ -192,103 +192,104 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'dddefe276053bb9682b51318e96b45d6',
'b09ceb3081717c0ed4fe19f9986598a0',
'7a8b6138e5893e7aba3b1a5deb3b3036',
'0c1093afa96df2832f707495afec541e',
'7d37165f2f535b4a6d2116188fe83d18',
'53269c1ea73ad6fae5d2ac4eced7f9d1',
'a3e8c166f876e0dd8eb09be4f9f907ab',
'703686dd4e6aa6f55aca5d92c00d9ee3',
'39e841c85d9bbfc7ecf009c4202dbf0c',
'efbe72fe207c5bb7ada28b278a9ea920',
'658d519f1868979431e7e0da5d967e6b',
'8a3f2cc88421d9f07cbb53dd78e11495',
'fdb297cd4b12374534413c3053aec1b8',
'f4c5c766fd5755b694e0401dddc4d1ad',
'e7441fa67d425df343d996c745fb5d6b',
'2ccd29eeaeded3ea5a713a19cd67a83e',
'aa68a83577209ff0ec3864aec4e194f2',
'd69d223e4d3aeb8d947ac9b9ddc60a7e',
'692ede21641dfdb7075ede69d7c4ad33',
'b1591dc4d651536bceb32b60310fd2a5',
'19d36909f837de28880553dc9a190922',
'3ebf0cd640e39a4e7efe30ec1cf32b43',
'8a4ccafa81445d49488874a8c7575932',
'0b8c0a8b7a5b8b73595b23fc502652fc',
'b7c0a73eb248d41eb750bbf095fa5505',
'59500fe075fdae44c35c88b95e64d9c8',
'3041238537beef69c0f3410a1ba04c84',
'e14e0fa8f3def77ebbcf18f1f39c0225',
'd3255261c8522c660c1000cd0a61c3b0',
'5ccbd78fe47300a160915d6398b59604',
'd9f9f0dede285235e3d0ad5101188d1e',
'5f21463b9d808170d4023d8402cc6e9e',
'84904c93ceea3ab6551555ee20c41e27',
'ffedffb9c57cb200c275ba15e9100da4',
'41d3da0d37fb0135ace813f1ba06bd39',
'b8ae19200ec9d4e8e588bc31e3f9bcb4',
'b1256beac1e95915b675893c61559b59',
'e2a1c9cb077cd2c74f2f2b914fb1db84',
'd3321077dfab8bc6b92c649e5b69daf3',
'e54ae8e27a53b3425ac78a229a163bd5',
'836bdb4063978b55fedd6a180d60c323',
'794fbfb192285c60dc9ce640270d79c0',
'369a14f21cbff0d0fe23831aecfca7ba',
'a894de140705ecab2f39797d2922a3ce',
'ea604a66caf499c70c9002a917dd1694',
'4981c4ae8facb75582f8dcbc51850318',
'dddefe276053bb9682b51318e96b45d6',
'5e70ef78614b0b13a94605f7c22f4da4',
'875222727b7ab7dcaccc45808fd38b09',
'de9166f936946237e2d0e5367db078c2',
'9db924c804154be5b442a9737514a6f9',
'b29d930f430c127162f83753d85dd40c',
'36763886cbec62729dca4d4b8dad8161',
'7a8b6138e5893e7aba3b1a5deb3b3036',
'10e721a882036c8c012f35d2a6b00237',
'd8a6379b9ddbd161045a288aba0890b6',
'0c1093afa96df2832f707495afec541e',
'd1f311d51e800e95e9b10c49a8b49b5a',
'53269c1ea73ad6fae5d2ac4eced7f9d1',
'7d37165f2f535b4a6d2116188fe83d18',
'f94df735642ce85ebb2fe3816c4dc77b',
'ac9add3724d90fba46e7298ac051fa5f',
'a3e8c166f876e0dd8eb09be4f9f907ab',
'39e841c85d9bbfc7ecf009c4202dbf0c',
'703686dd4e6aa6f55aca5d92c00d9ee3',
'efbe72fe207c5bb7ada28b278a9ea920',
'2bf74d5d66fa6d8d38b21b090586529b',
'16b68282950fb352dfe27e94bda47304',
'2bf74d5d66fa6d8d38b21b090586529b',
'8d1205a914564cbd528cadc3963c2905',
'658d519f1868979431e7e0da5d967e6b',
'59c5d311d09a7f68f8b6962ca652374a',
'8a3f2cc88421d9f07cbb53dd78e11495',
'464b1dbf722c8dcaaa7f2cc90b8d0d8d',
'ad37d44e57c18e4431a609968203c646',
'fdb297cd4b12374534413c3053aec1b8',
'f4c5c766fd5755b694e0401dddc4d1ad',
'464b1dbf722c8dcaaa7f2cc90b8d0d8d',
'7f65e6161c444d29e1f53f1cb76e92de',
'e7441fa67d425df343d996c745fb5d6b',
'ca12f5e01b107fe4af5b19b4f5ab1c4f',
'756fecec409c3a955f0cd737259d27c7',
'2ccd29eeaeded3ea5a713a19cd67a83e',
'490f607f17e7cc8ceccc77f2d0b9a70d',
'13ed6c02918e612bac45715a6f300f2f',
'aa68a83577209ff0ec3864aec4e194f2',
'9c8e1b12e5e55164c2ec0e5617e1574b',
'e9b54ef29b192ecd2da05ff9570eb4d5',
'692ede21641dfdb7075ede69d7c4ad33',
'd69d223e4d3aeb8d947ac9b9ddc60a7e',
'b038c48269316664e5b48380a879fd99',
'd9bd3192a20de0815bed3fd3d79d0cb1',
'98865bf786ea85b14932dd5e48a74983',
'b1591dc4d651536bceb32b60310fd2a5',
'19d36909f837de28880553dc9a190922',
'e92ac401e96f4e17763322eca8355c30',
'bc76c982dd2264463427eb57e9ed3fba',
'3ebf0cd640e39a4e7efe30ec1cf32b43',
'e92ac401e96f4e17763322eca8355c30',
'9f80ed66360fbbb9bc57c575fdd8814f',
'94e6694a65d9cacb171b6e0b581216ba',
'8a4ccafa81445d49488874a8c7575932',
'5686558064d641b7ff599746970461cd',
'3bbf72a3e5b59fed0dee362a9b1384a8',
'fdb8ed39fbfea00f65416b9aaebd64e7',
'f73da4cb47a88d3fe5b92716e0137741',
'0b8c0a8b7a5b8b73595b23fc502652fc',
'59500fe075fdae44c35c88b95e64d9c8',
'b7c0a73eb248d41eb750bbf095fa5505',
'fdb8ed39fbfea00f65416b9aaebd64e7',
'd99f9680b535dcf3ad0d0f853a8b89d9',
'3041238537beef69c0f3410a1ba04c84',
'dd8d7ffe00cabb07784f30f66a5b34da',
'e14e0fa8f3def77ebbcf18f1f39c0225',
'd3255261c8522c660c1000cd0a61c3b0',
'5ccbd78fe47300a160915d6398b59604',
'bdb15578e295954bc2ecd16771c3e200',
'5f21463b9d808170d4023d8402cc6e9e',
'51dc78a9ed0e9cd37d46bec7dbc7d172',
'd9f9f0dede285235e3d0ad5101188d1e',
'ffedffb9c57cb200c275ba15e9100da4',
'84904c93ceea3ab6551555ee20c41e27',
'bdb15578e295954bc2ecd16771c3e200',
'6b3607e849c8517fd7ae1cab583f7393',
'41d3da0d37fb0135ace813f1ba06bd39',
'2985fa795f2812f76c5d56f2b8825b91',
'b1256beac1e95915b675893c61559b59',
'b8ae19200ec9d4e8e588bc31e3f9bcb4',
'09663b7a4e3dce70524d1b64e02b5e2d',
'edca8ee67304eb78c02bbfb9e4cb11bb',
'e2a1c9cb077cd2c74f2f2b914fb1db84',
'a6cb9804bfd40d2542ae2c44e0cc3331',
'd3321077dfab8bc6b92c649e5b69daf3',
'491c2bc6eab0ad313d4b6f06f6a396f5',
'836bdb4063978b55fedd6a180d60c323',
'e54ae8e27a53b3425ac78a229a163bd5',
'e53fed4d0b4dd614057f426b02115b41',
'369a14f21cbff0d0fe23831aecfca7ba',
'794fbfb192285c60dc9ce640270d79c0',
'00a0716a2029a7fe79fe03b6f74c7c90',
'302c48740ebb26191bba93f1795af44e',
'2b42718d8fb3b4c9a01651222304445a',
'a894de140705ecab2f39797d2922a3ce',
'e57dd501c75c6933363fa245edcadbbd',
'ea604a66caf499c70c9002a917dd1694',
'14eddc6d2c858a72c796b017959cc4ef',
'1247febf206e1e0dbb4f384b4cfa565c',
'4981c4ae8facb75582f8dcbc51850318',
],
},
{
......@@ -1011,6 +1012,16 @@ export const viewstate: any = {
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{
viewtag: '9c8e1b12e5e55164c2ec0e5617e1574b',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr8GridView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{
viewtag: '9d52aff477cf38e1d92ac24cd4a08c20',
viewmodule: 'Sample',
......
......@@ -116,6 +116,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr3calendarview',srfappde:'ibizbooks',component:'ibizbookusr3-calendar-view'});
this.allViewMap.set(':',{viewname:'usr4gridview',srfappde:'ibizbooks',component:'ibizbookusr4-grid-view'});
this.allViewMap.set(':',{viewname:'interfunckanbanview',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'});
this.allViewMap.set(':',{viewname:'usr8gridview',srfappde:'ibizbooks',component:'ibizbookusr8-grid-view'});
this.allViewMap.set(':',{viewname:'wizardview',srfappde:'ibizbooks',component:'ibizbookwizard-view'});
this.allViewMap.set(':',{viewname:'haspanelkanbanview',srfappde:'ibizbooks',component:'ibizbookhas-panel-kan-ban-view'});
this.allViewMap.set(':',{viewname:'listview',srfappde:'ibizbooks',component:'ibizbooklist-view'});
......
......@@ -560,6 +560,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto213':
this.clickAuto213(item);
return;
case 'AppFunc55':
this.clickAppFunc55(item);
return;
case 'Auto151':
this.clickAuto151(item);
return;
......@@ -1167,6 +1170,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 表格列重置
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc55(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr8gridview', parameterName: 'usr8gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 动态启用
*
......
......@@ -648,10 +648,10 @@ export default class MainMenuModel {
{
id: 'F8DB29A9-2916-498E-B289-6B0713EC532E',
name: 'menuitem133',
text: '表格项值重置',
text: '表格重置',
type: 'MENUITEM',
counterid: '',
tooltip: '表格项值重置',
tooltip: '表格重置',
expanded: false,
separator: false,
hidden: false,
......@@ -660,7 +660,7 @@ export default class MainMenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
appfunctag: 'AppFunc55',
resourcetag: '',
authtag:'Web-MainMenu-menuitem133',
},
......
......@@ -48,6 +48,19 @@ dataType="LONGTEXT" :precision="0"
</app-after-time>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem13.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem13' :itemRules="this.rules().formitem13" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem13')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem13.error" :isEmptyCaption="false" labelPos="LEFT">
<app-color-span
:value="data.formitem13"
:data="data"
name="formitem13"
:context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""
>
</app-color-span>
</app-form-item>
</i-col>
</row>
......@@ -665,6 +678,7 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem12: null,
formitem15: null,
color: null,
formitem13: null,
formitem1: null,
address: null,
longitude: null,
......@@ -749,6 +763,10 @@ export default class Main5Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem15.required, type: 'string', message: '多久之前 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem15.required, type: 'string', message: '多久之前 值不能为空', trigger: 'blur' },
],
formitem13: [
{ required: this.detailsModel.formitem13.required, type: 'string', message: '颜色2 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem13.required, type: 'string', message: '颜色2 值不能为空', trigger: 'blur' },
],
formitem1: [
{ required: this.detailsModel.formitem1.required, type: 'string', message: '颜色选择 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem1.required, type: 'string', message: '颜色选择 值不能为空', trigger: 'blur' },
......@@ -957,6 +975,8 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem15: new FormItemModel({ caption: '多久之前', detailType: 'FORMITEM', name: 'formitem15', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
color: new FormItemModel({ caption: 'color', detailType: 'FORMITEM', name: 'color', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem13: new FormItemModel({ caption: '颜色2', detailType: 'FORMITEM', name: 'formitem13', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem1: new FormItemModel({ caption: '颜色选择', detailType: 'FORMITEM', name: 'formitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1150,6 +1170,18 @@ export default class Main5Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'color', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem13 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem13')
onFormitem13Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem13', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem1 值
*
......@@ -1445,6 +1477,7 @@ export default class Main5Base extends Vue implements ControlInterface {
}
......
......@@ -80,6 +80,11 @@ export default class Main5Model {
prop: 'color',
dataType: 'TEXT',
},
{
name: 'formitem13',
prop: 'field03',
dataType: 'LONGTEXT',
},
{
name: 'formitem1',
prop: 'ibizsample0002name',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册