diff --git a/src/components/mdp-ui-ext/mdp-expand/FormData.vue b/src/components/mdp-ui-ext/mdp-expand/FormData.vue index bcbee5e..eeb3826 100644 --- a/src/components/mdp-ui-ext/mdp-expand/FormData.vue +++ b/src/components/mdp-ui-ext/mdp-expand/FormData.vue @@ -3,8 +3,9 @@ - - + + + @@ -14,34 +15,7 @@ 关闭 提交 - - - - - - - - - + @@ -70,9 +44,22 @@ import treeTool from '@/components/mdp-ui/js/treeTool.js' this.initFieldQx(k) }) return formFields - } + }, + + isExtInfosCpd(){ + return this.formDef?this.formDef.dataType=='2':false + }, + camelDataField(){ + if(this.formDef){ + return this.$mdp.toCamel(this.formDef.dataField)+"2" + }else{ + return 'extInfos2' + } + + }, }, props:{ + visible:{type:Boolean,default:false}, value:{type:Object,default:null}, formDef:{type:Object,default:null}, diff --git a/src/router/routes_lcode.js b/src/router/routes_lcode.js index ebe2c72..a4f9e2a 100644 --- a/src/router/routes_lcode.js +++ b/src/router/routes_lcode.js @@ -27,6 +27,7 @@ export default { { path: 'data/add/:formId', component: _import("mdp/lcode/formData/FormRoute"), name: '数据填报',meta:{title:'FormDataAddRoute'} ,hidden:true }, { path: 'data/index/:formId', component: _import("mdp/lcode/formData/Index"), name: '智能表单数据管理',meta:{title:'FormDataMng' } ,hidden:true }, + { path: 'data/index/:formId/:dataType/:dataField', component: _import("mdp/lcode/formData/Index"), name: '智能表单数据管理',meta:{title:'FormDataMng' } ,hidden:true }, { path: 'data/mng', component: _import("mdp/lcode/formData/Index"), name: 'FormDataMng', meta:{title:'FormDataMng'},hidden:true } ] diff --git a/src/views/mdp/lcode/formData/Index.vue b/src/views/mdp/lcode/formData/Index.vue index e88b731..85ef493 100644 --- a/src/views/mdp/lcode/formData/Index.vue +++ b/src/views/mdp/lcode/formData/Index.vue @@ -55,10 +55,16 @@ - - @@ -302,7 +302,7 @@ export default { } }, openRoute(data){ - this.$router.push({path:'/mdp/lcode/data/index/'+data.formId}) + this.$router.push({path:`/mdp/lcode/data/index/${data.formId}/${data.dataType}/${data.dataField}`}) }, toDesignAdd(){