From 73eaa05cd6bff415f718f6627444f6637167c7df Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Sat, 12 Feb 2022 17:04:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E5=BA=93=E7=9A=84=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/addForm/index.vue | 474 ++++++++---------- jero-web/src/components/tableDate/index.vue | 12 +- jero-web/src/views/ceshiList/index.vue | 88 ++++ .../src/views/ceshiList/modules/addForm.vue | 73 +++ .../views/documentManage/library/index.vue | 9 +- .../library/modules/addForm.vue | 31 +- 6 files changed, 389 insertions(+), 298 deletions(-) create mode 100644 jero-web/src/views/ceshiList/index.vue create mode 100644 jero-web/src/views/ceshiList/modules/addForm.vue diff --git a/jero-web/src/components/addForm/index.vue b/jero-web/src/components/addForm/index.vue index 0ec234d4d..2d7fcb267 100644 --- a/jero-web/src/components/addForm/index.vue +++ b/jero-web/src/components/addForm/index.vue @@ -8,162 +8,175 @@
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :type="'radio'" :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- + - {{ (formInline[item.attrModel] === 'null' || formInline[item.attrModel] === '' || - formInline[item.attrModel] == null) ? '上传文件' : '查看已上传文件' + @click="clickButtonToUpload(item.db_field_name)"> + {{ (formInline[item.db_field_name] === 'null' || formInline[item.db_field_name] === '' || + formInline[item.db_field_name] == null) ? '上传文件' : '查看已上传文件' }}
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
@@ -174,158 +187,173 @@
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + + :triggerChange="false" :dictCode="item.dict_field"/>
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- + - {{ (formInline[item.attrModel] === 'null' || formInline[item.attrModel] === '' || - formInline[item.attrModel] == null) ? '上传文件' : '查看已上传文件' + @click="clickButtonToUpload(item.db_field_name)"> + {{ (formInline[item.db_field_name] === 'null' || formInline[item.db_field_name] === '' || + formInline[item.db_field_name] == null) ? '上传文件' : '查看已上传文件' }}
- +
* - {{item.enName}}
- {{item.name}} + {{item.db_field_en_name}}
+ {{item.db_field_txt}}
- - + +
@@ -333,7 +361,7 @@
- + @@ -341,6 +369,8 @@ + + \ No newline at end of file diff --git a/jero-web/src/views/ceshiList/modules/addForm.vue b/jero-web/src/views/ceshiList/modules/addForm.vue new file mode 100644 index 000000000..26b8c1878 --- /dev/null +++ b/jero-web/src/views/ceshiList/modules/addForm.vue @@ -0,0 +1,73 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/documentManage/library/index.vue b/jero-web/src/views/documentManage/library/index.vue index b525f4c3c..785599c2d 100644 --- a/jero-web/src/views/documentManage/library/index.vue +++ b/jero-web/src/views/documentManage/library/index.vue @@ -73,10 +73,11 @@ url:{ tableHeader:'document/bussDocumentLibraryEO/getHeader', //表格头部字段 seachList:'document/bussDocumentLibraryEO/queryCondition', //搜索字段 - tableList:'document/bussDocumentLibraryEO/list', //表格数据 - formList:'document/bussDocumentLibraryEO/getAddForm', //新增表单的字段 - formAdd:'document/bussDocumentLibraryEO/addInfo', //新增 - + tableList:'document/bussDocumentLibraryEO/queryPageInfo', //表格数据 + getAddForm:'document/bussDocumentLibraryEO/getAddForm', // 表单的字段 + addInfo:'document/bussDocumentLibraryEO/addInfo', //新增 + updateInfo:'document/bussDocumentLibraryEO/updateInfo', //编辑 + getDocumentInfo:'document/bussDocumentLibraryEO/getDocumentInfoById', //查看 } } }, diff --git a/jero-web/src/views/documentManage/library/modules/addForm.vue b/jero-web/src/views/documentManage/library/modules/addForm.vue index 71a792792..9347ca275 100644 --- a/jero-web/src/views/documentManage/library/modules/addForm.vue +++ b/jero-web/src/views/documentManage/library/modules/addForm.vue @@ -10,6 +10,8 @@ style="height: 100%;overflow: auto;padding-bottom: 53px;"> import addFormData from '@/components/addForm/index' - import { getAction, postAction } from '@/api/manage' export default { name: 'docLibraryAddForm', @@ -55,24 +56,11 @@ }, }, mounted() { - this.formData() + }, methods: { - formData(){ - let params = { - flag: this.flag - } - getAction(this.url.formList, params).then((res) => { - if(res.success){ - - } - console.log('res',res) - }) - }, handleCancel() { this.visible = false - - console.log('2222') }, add() { this.visible = true @@ -82,15 +70,10 @@ }, handleSubmit() { this.$refs.addFormDataRef.sumber() - // postAction(this.url.datarule,params).then(res=>{ - // if(res.success){ - // this.$message.success(res.message) - // }else{ - // this.$message.error(res.message) - // } - // }) - console.log('11111') - } + }, + addFormClick(){ + this.visible = false + }, } }