From 8b3268e488910544a4dcf0c803933a541812a3e7 Mon Sep 17 00:00:00 2001 From: shenyuan Date: Wed, 7 Sep 2022 10:17:58 +0800 Subject: [PATCH 1/3] =?UTF-8?q?20220907-syy-=E5=9F=BA=E6=9C=AC=E5=B7=A5?= =?UTF-8?q?=E5=BA=8F-=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/process/modules/ZyProcessDetail.vue | 222 ++++++++++-------- 1 file changed, 118 insertions(+), 104 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessDetail.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessDetail.vue index c0b10288..56262f57 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessDetail.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessDetail.vue @@ -1,5 +1,5 @@ \ No newline at end of file + }, + created(){ + }, + methods: { + showModal(id) { + this.visible = true; + this.$http.get('/base/zyProcess/queryById?id='+id).then( + res=>{ + this.data = res.result + this.img = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.image; + this.mp4 = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.vedio; + console.log(this.data) + } + ) + }, + handleOk() { + this.ModalText = 'The modal will be closed after two seconds'; + this.confirmLoading = true; + setTimeout(() => { + this.visible = false; + this.confirmLoading = false; + }, 1); + }, + handleCancel() { + this.visible = false; + }, + }, + } + + \ No newline at end of file From 1ffbf529281553fbfab258fb5f90b4ea969d370b Mon Sep 17 00:00:00 2001 From: shenyuan Date: Wed, 7 Sep 2022 10:26:53 +0800 Subject: [PATCH 2/3] =?UTF-8?q?20220907-syy-=E5=9F=BA=E7=A1=80=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C-=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/procedure/basicAction.vue | 58 +++++++++++++++++ .../src/views/process/ZyClothActionList.vue | 19 +++--- .../modules/ZyClothActionFormDetail.vue | 63 +++++++++++++++++++ 3 files changed, 133 insertions(+), 7 deletions(-) create mode 100644 ant-design-vue-jeecg/src/components/procedure/basicAction.vue create mode 100644 ant-design-vue-jeecg/src/views/process/modules/ZyClothActionFormDetail.vue diff --git a/ant-design-vue-jeecg/src/components/procedure/basicAction.vue b/ant-design-vue-jeecg/src/components/procedure/basicAction.vue new file mode 100644 index 00000000..641b5ce5 --- /dev/null +++ b/ant-design-vue-jeecg/src/components/procedure/basicAction.vue @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/process/ZyClothActionList.vue b/ant-design-vue-jeecg/src/views/process/ZyClothActionList.vue index bbe1717c..4701f83c 100644 --- a/ant-design-vue-jeecg/src/views/process/ZyClothActionList.vue +++ b/ant-design-vue-jeecg/src/views/process/ZyClothActionList.vue @@ -29,9 +29,9 @@
新增 导出 - - - + + + @@ -88,7 +88,7 @@ - 详情 + 详情 删除 @@ -100,6 +100,7 @@
+ @@ -109,12 +110,13 @@ import { mixinDevice } from '@/utils/mixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin' import ZyClothActionModal from './modules/ZyClothActionModal' + import ZyClothActionFormDetail from './modules/ZyClothActionFormDetail' export default { name: 'ZyClothActionList', mixins:[JeecgListMixin, mixinDevice], components: { - ZyClothActionModal + ZyClothActionModal,ZyClothActionFormDetail }, data () { return { @@ -198,7 +200,7 @@ } }, created() { - this.getSuperFieldList(); + this.getSuperFieldList(); }, computed: { importExcelUrl: function(){ @@ -217,10 +219,13 @@ fieldList.push({type:'int',value:'manualTmu',text:'手工TMU',dictCode:''}) fieldList.push({type:'string',value:'nums',text:'编号',dictCode:''}) this.superFieldList = fieldList + }, + handleDetail(id){ + this.$refs.ZyClothActionFormDetail.showModal(id) } } } - \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothActionFormDetail.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothActionFormDetail.vue new file mode 100644 index 00000000..0f0a0de4 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothActionFormDetail.vue @@ -0,0 +1,63 @@ + + + + \ No newline at end of file From a1054a7ae0d3753451301ca84729b1d6a09e8dd3 Mon Sep 17 00:00:00 2001 From: shenyuan Date: Wed, 7 Sep 2022 10:50:02 +0800 Subject: [PATCH 3/3] =?UTF-8?q?20220907-syy-=E5=B7=A5=E5=BA=8F=E8=BE=85?= =?UTF-8?q?=E6=96=99-=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/procedure/processFabric.vue | 40 +++++++++++ .../src/views/cloths/ZyProcessFabricList.vue | 10 ++- .../modules/ZyProcessFabricFormDetail.vue | 70 +++++++++++++++++++ 3 files changed, 117 insertions(+), 3 deletions(-) create mode 100644 ant-design-vue-jeecg/src/components/procedure/processFabric.vue create mode 100644 ant-design-vue-jeecg/src/views/cloths/modules/ZyProcessFabricFormDetail.vue diff --git a/ant-design-vue-jeecg/src/components/procedure/processFabric.vue b/ant-design-vue-jeecg/src/components/procedure/processFabric.vue new file mode 100644 index 00000000..f06fad2f --- /dev/null +++ b/ant-design-vue-jeecg/src/components/procedure/processFabric.vue @@ -0,0 +1,40 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/cloths/ZyProcessFabricList.vue b/ant-design-vue-jeecg/src/views/cloths/ZyProcessFabricList.vue index 11bf8380..1aba9052 100644 --- a/ant-design-vue-jeecg/src/views/cloths/ZyProcessFabricList.vue +++ b/ant-design-vue-jeecg/src/views/cloths/ZyProcessFabricList.vue @@ -88,7 +88,7 @@ - 详情 + 详情 删除 @@ -100,6 +100,7 @@ + @@ -110,12 +111,12 @@ import { JeecgListMixin } from '@/mixins/JeecgListMixin' import ZyProcessFabricModal from './modules/ZyProcessFabricModal' import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' - + import ZyProcessFabricFormDetail from './modules/ZyProcessFabricFormDetail' export default { name: 'ZyProcessFabricList', mixins:[JeecgListMixin, mixinDevice], components: { - ZyProcessFabricModal + ZyProcessFabricModal,ZyProcessFabricFormDetail }, data () { return { @@ -197,6 +198,9 @@ fieldList.push({type:'string',value:'processId',text:'工序',dictCode:'zy_process,process_name,id'}) fieldList.push({type:'string',value:'fabricId',text:'辅料',dictCode:'zy_fabric,name,id'}) this.superFieldList = fieldList + }, + handleDetail(id){ + this.$refs.ZyProcessFabricFormDetail.showModal(id) } } } diff --git a/ant-design-vue-jeecg/src/views/cloths/modules/ZyProcessFabricFormDetail.vue b/ant-design-vue-jeecg/src/views/cloths/modules/ZyProcessFabricFormDetail.vue new file mode 100644 index 00000000..49b68453 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/cloths/modules/ZyProcessFabricFormDetail.vue @@ -0,0 +1,70 @@ + + + + \ No newline at end of file