From 013df81349ef1e738abc0d8f22739469247d0788 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 3 Aug 2023 14:47:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/oaUser.js | 7 +- components/newArchives/breeding.vue | 66 ++++++++++++------ subpkg/personnelDetails/personnelDetails.vue | 70 +++++++++++++++++--- 3 files changed, 109 insertions(+), 34 deletions(-) diff --git a/api/oaUser.js b/api/oaUser.js index 703316b..728d715 100644 --- a/api/oaUser.js +++ b/api/oaUser.js @@ -44,4 +44,9 @@ export const userDraftingcontracts = (data) => oahttp.post('/user/Draftingcontra /** * 发起合同 */ -export const userInitiateContract = (data) => oahttp.post('/user/initiate_contract', data) \ No newline at end of file +export const userInitiateContract = (data) => oahttp.post('/user/initiate_contract', data) + +/** + * 发送短信 + */ +export const userPostsms = (data) => oahttp.post('/user/postsms', data) diff --git a/components/newArchives/breeding.vue b/components/newArchives/breeding.vue index 3c3e9e5..3deb0c4 100644 --- a/components/newArchives/breeding.vue +++ b/components/newArchives/breeding.vue @@ -140,28 +140,50 @@ return { landPlanList: ['自己种养', '出租', '代种养', '租更多地扩大种植'], formData: { - "cultivated_area": "20", //耕地总面积 - "planning": 1, //土地规划 - "breeding_training": 1, //有无种养殖培训 - "planting_company": 0, //有无注册成立种殖公司 - "notes": "试试备注", //备注 - "breeding_type": 22, //种养殖类型 - "area": 20, //面积 - "breeding_time": "2022-07-22", //种养殖开始时间 - "mature_time": "2022-07-22", //上市时间 - "yield": 600, //产量 - "estimated_income": 1500, //预计收益 - "farm_tools": "收割机一台,打米机一台", //农资农具使用情况 - "ecological_farming": 1, //是否生态种养殖 - "modernization": 30, //现代化程度 - "pre_price": "30.00", //预售卖价格 - "method_sales": 1, //销售方式 - "processing_storage": 0, //有无加工仓储 - "promote": 0, //有无宣传推广 - "transportation": 0, //有无运输 - "expand_business_needs": 0, //是否有扩大经营需求 - "demand": "没有述求", //种养殖述求 - "policy_subsidies": "无补助" //政策补助 + // "cultivated_area": "20", //耕地总面积 + // "planning": 1, //土地规划 + // "breeding_training": 1, //有无种养殖培训 + // "planting_company": 0, //有无注册成立种殖公司 + // "notes": "试试备注", //备注 + // "breeding_type": 22, //种养殖类型 + // "area": 20, //面积 + // "breeding_time": "2022-07-22", //种养殖开始时间 + // "mature_time": "2022-07-22", //上市时间 + // "yield": 600, //产量 + // "estimated_income": 1500, //预计收益 + // "farm_tools": "收割机一台,打米机一台", //农资农具使用情况 + // "ecological_farming": 1, //是否生态种养殖 + // "modernization": 30, //现代化程度 + // "pre_price": "30.00", //预售卖价格 + // "method_sales": 1, //销售方式 + // "processing_storage": 0, //有无加工仓储 + // "promote": 0, //有无宣传推广 + // "transportation": 0, //有无运输 + // "expand_business_needs": 0, //是否有扩大经营需求 + // "demand": "没有述求", //种养殖述求 + // "policy_subsidies": "无补助" ,//政策补助 + "cultivated_area": "", //耕地总面积 + "planning": "", //土地规划 + "breeding_training": "", //有无种养殖培训 + "planting_company": "", //有无注册成立种殖公司 + "notes": "", //备注 + "breeding_type": "", //种养殖类型 + "area": "", //面积 + "breeding_time": "", //种养殖开始时间 + "mature_time": "", //上市时间 + "yield": "", //产量 + "estimated_income": "", //预计收益 + "farm_tools": "", //农资农具使用情况 + "ecological_farming": "", //是否生态种养殖 + "modernization": "", //现代化程度 + "pre_price": "", //预售卖价格 + "method_sales": "", //销售方式 + "processing_storage": "", //有无加工仓储 + "promote": "", //有无宣传推广 + "transportation": "", //有无运输 + "expand_business_needs": "", //是否有扩大经营需求 + "demand": "", //种养殖述求 + "policy_subsidies": "" //政策补助 }, rules: { diff --git a/subpkg/personnelDetails/personnelDetails.vue b/subpkg/personnelDetails/personnelDetails.vue index 06aa919..b932e6e 100644 --- a/subpkg/personnelDetails/personnelDetails.vue +++ b/subpkg/personnelDetails/personnelDetails.vue @@ -144,7 +144,26 @@ - + + + + + + + + + + {{userInfo.contract.contract_type_name}} + + {{userInfo.contract&&userInfo.contract.create_time}} + + + + + + + + @@ -156,7 +175,7 @@