From 5303d552ecce3c4cfc70dac160e2867539e90fc2 Mon Sep 17 00:00:00 2001 From: Panzihang <819652404@qq.com> Date: Mon, 24 Jul 2023 16:56:46 +0800 Subject: [PATCH] =?UTF-8?q?pad=E6=96=B0=E5=A2=9E=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=96=B0=E5=A2=9E=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/head-info/head-info.vue | 191 +++++++++++++++++++++++- pages.json | 20 ++- pages/login/index.vue | 180 +++++++++++++++++++++++ pages/shipWork/abnormal.vue | 42 +++++- pages/shipWork/abnormalAdd.vue | 12 +- pages/shipWork/brandDetails.vue | 33 +++-- pages/shipWork/documentList.vue | 4 - pages/shipWork/index.vue | 53 ++++--- pages/shipWork/mafi.vue | 44 ++++-- pages/shipWork/mafiAdd.vue | 12 +- pages/shipWork/mixWork.vue | 61 +++++--- pages/shipWork/notice.vue | 42 +++++- pages/shipWork/noticeAdd.vue | 12 +- pages/shipWork/opinion.vue | 42 +++++- pages/shipWork/opinionAdd.vue | 12 +- pages/shipWork/patrol.vue | 19 ++- pages/shipWork/patrolAdd.vue | 12 +- pages/shipWork/peopleAdd.vue | 12 +- pages/shipWork/shiftAdd.vue | 156 +++++++++++--------- pages/shipWork/shiftDetails.vue | 62 ++++---- pages/shipWork/sign.vue | 225 +++++++++++++++++++++++++++++ pages/shipWork/supply.vue | 42 +++++- pages/shipWork/supplyAdd.vue | 12 +- pages/shipWork/untieAdd.vue | 12 +- pages/shipWork/untieCord.vue | 44 ++++-- pages/shipWork/workAssign.vue | 42 +++++- pages/shipWork/workAssignAdd.vue | 12 +- 27 files changed, 1151 insertions(+), 259 deletions(-) create mode 100644 pages/login/index.vue create mode 100644 pages/shipWork/sign.vue diff --git a/components/head-info/head-info.vue b/components/head-info/head-info.vue index 968a907..f24ccb4 100644 --- a/components/head-info/head-info.vue +++ b/components/head-info/head-info.vue @@ -1,18 +1,130 @@ - + \ No newline at end of file diff --git a/pages.json b/pages.json index 5fa9cd2..305e5b5 100644 --- a/pages.json +++ b/pages.json @@ -1,5 +1,11 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/login/index", + "style": { + "navigationBarTitleText": "登录" + } + }, { "path": "pages/index/index", "style": { @@ -36,6 +42,12 @@ "navigationBarTitleText": "单证列表" } }, + { + "path": "pages/shipWork/sign", + "style": { + "navigationBarTitleText": "单证签名" + } + }, { "path": "pages/shipWork/mixWork", "style": { @@ -45,18 +57,18 @@ { "path": "pages/shipWork/peopleAdd", "style": { - "navigationBarTitleText": "杂项作业查看(人员信息)" + "navigationBarTitleText": "杂项作业(人员信息)" } }, { "path": "pages/shipWork/shiftAdd", "style": { - "navigationBarTitleText": "杂项作业查看(工班信息)" + "navigationBarTitleText": "杂项作业(工班信息)" } }, { "path": "pages/shipWork/shiftDetails", "style": { - "navigationBarTitleText": "工班信息详情" + "navigationBarTitleText": "杂项作业(工班信息)" } }, { "path": "pages/shipWork/untieCord", @@ -159,7 +171,7 @@ "style": { "navigationBarTitleText": "品牌明细" } - },{ + }, { "path": "pages/shipWork/carDetails", "style": { "navigationBarTitleText": "车型明细" diff --git a/pages/login/index.vue b/pages/login/index.vue new file mode 100644 index 0000000..fa210db --- /dev/null +++ b/pages/login/index.vue @@ -0,0 +1,180 @@ + + + + + \ No newline at end of file diff --git a/pages/shipWork/abnormal.vue b/pages/shipWork/abnormal.vue index fb74c3c..f850840 100644 --- a/pages/shipWork/abnormal.vue +++ b/pages/shipWork/abnormal.vue @@ -1,15 +1,21 @@ diff --git a/pages/shipWork/documentList.vue b/pages/shipWork/documentList.vue index 00a8e2e..00c4a0f 100644 --- a/pages/shipWork/documentList.vue +++ b/pages/shipWork/documentList.vue @@ -60,10 +60,6 @@ name: "安全巡检", url: "patrol" }, - // { - // name: "船舶载货量", - // url: "mixWork" - // }, { name: "船舶资料", url: "shipInfo" diff --git a/pages/shipWork/index.vue b/pages/shipWork/index.vue index 81201c2..c9cc422 100644 --- a/pages/shipWork/index.vue +++ b/pages/shipWork/index.vue @@ -5,11 +5,11 @@ - + @@ -100,7 +100,7 @@ return { // 港口 pamValue: "", - pamList: [], + // pamList: [], // 船名航次 shipName: "", shipValue: '', @@ -121,7 +121,8 @@ HeadInfo, }, mounted() { - this.getPam(); + this.pamValue = uni.getStorageSync('portObj').portId + // this.getPam(); }, methods: { // 获取船的数据 @@ -161,27 +162,27 @@ this.initData() }, // 获取港区下拉数据 - getPam() { - uni.request({ - url: this.$local + '/api/shipOperate/queryPortArea', - header: { - 'Content-Type': 'application/json' //自定义请求头信息 - }, - method: 'GET', //请求方式,必须为大写 - success: (res) => { - console.log('接口返回------', res); - if (res.statusCode === 200) { - let arr = res.data.data; - arr.forEach((v, index) => { - this.pamList.push({ - text: v.pamName, - value: v.pamId - }) - }) - } - } - }) - }, + // getPam() { + // uni.request({ + // url: this.$local + '/api/shipOperate/queryPortArea', + // header: { + // 'Content-Type': 'application/json' //自定义请求头信息 + // }, + // method: 'GET', //请求方式,必须为大写 + // success: (res) => { + // console.log('接口返回------', res); + // if (res.statusCode === 200) { + // let arr = res.data.data; + // arr.forEach((v, index) => { + // this.pamList.push({ + // text: v.pamName, + // value: v.pamId + // }) + // }) + // } + // } + // }) + // }, // 获取船名航次下拉数据 getShip() { uni.request({ @@ -198,8 +199,6 @@ } }) }, - // 港区下拉 - pamChange(event) {}, // 船名航次下拉模糊查询 input_json(e) { this.shipInput = e; diff --git a/pages/shipWork/mafi.vue b/pages/shipWork/mafi.vue index 9320c76..f5c3919 100644 --- a/pages/shipWork/mafi.vue +++ b/pages/shipWork/mafi.vue @@ -1,16 +1,22 @@