diff --git a/manifest.json b/manifest.json
index f1efce4..b29cf67 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"name" : "海通Pad",
"appid" : "__UNI__F864E80",
"description" : "",
- "versionName" : "1.1.1",
+ "versionName" : "1.1.2",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
diff --git a/package-lock.json b/package-lock.json
index 696f039..389c2ce 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,7 +1,7 @@
{
"name": "下拉多选,单选,搜索",
"version": "1.0.2",
- "lockfileVersion": 3,
+ "lockfileVersion": 2,
"requires": true,
"packages": {
"": {
@@ -12,9 +12,16 @@
}
},
"node_modules/crypto-js": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
- "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw=="
+ "version": "4.2.0",
+ "resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.2.0.tgz",
+ "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
+ }
+ },
+ "dependencies": {
+ "crypto-js": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.2.0.tgz",
+ "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
}
}
}
diff --git a/pages/index/instruct.vue b/pages/index/instruct.vue
index e6b7edf..06ed815 100644
--- a/pages/index/instruct.vue
+++ b/pages/index/instruct.vue
@@ -53,8 +53,8 @@
舱层
-
-
+
+
总指令进度
{{zTjList.totalSentCount}}/{{zTjList.totalSum}}
@@ -72,7 +72,7 @@
+ @click="clickTjList(item,index,'zzl')">
{{item.titleBar}}
{{item.totalSentCount}}/{{item.zsum}}
@@ -106,7 +106,7 @@
contentColor="#0067CF"
backColor="#f2f2f2" textPosition="outside" percentum precision="0" />
-
+
{{ item.label }}{{filterType == 'CABIN_LEVEL_TYPE' ? '层' : ''}}
-
-
+
+
@@ -313,8 +313,8 @@
舱层
-
-
+
+
分指令进度
{{zTjList.branchSentCount}}/{{zTjList.branchSum}}
@@ -332,7 +332,7 @@
+ @click="clickTjList(item,index,'fzl')">
{{item.titleBar}}
{{item.branchSentCount}}/{{item.fsum}}
@@ -366,7 +366,7 @@
contentColor="#0067CF"
backColor="#f2f2f2" textPosition="outside" percentum precision="0" />
-
+
{{ item.label }}{{filterType == 'CABIN_LEVEL_TYPE' ? '层' : ''}}
-
+
@@ -566,7 +566,7 @@
contentColor="#0067CF"
backColor="#f2f2f2" textPosition="outside" percentum precision="0" />
-
+
{{ item.label }}{{filterType == 'CABIN_LEVEL_TYPE' ? '层' : ''}}
-
-
+
+
@@ -736,7 +736,7 @@
-
@@ -1043,8 +1043,8 @@
-
-
+
+
@@ -1324,6 +1324,7 @@
this.getTotalProgress() //获取装船总进度
this.getRoleId() // 获取角色ID
},
+
components: {
HeadView,
HeadInfo,
@@ -1332,7 +1333,10 @@
methods: {
// 点击tabs
changeTabs(e) {
- this.getQueryCheckRecord(0) // 获取勾选
+ this.itemList = []
+ this.jobProgressList = []
+ this.tabsValue = e.value
+ this.tabsName = e.label
this.mnfBl = ''
this.brdId = ''
this.brdName = ''
@@ -1340,16 +1344,18 @@
this.bvmName = ''
this.potId = ''
this.potName = ''
- this.itemList = []
this.sendValue = ''
- this.tabsValue = e.value
- this.tabsName = e.label
this.zTjActive = -1
this.shipDeck = ""
this.current = 1
this.zTjType = true
this.activeIndex = 0
- this.jobProgressList = []
+ this.zzlFlag = true
+ this.fzlFlag = true
+ this.directorList = []
+ if(e.label == '总指令' || e.label == '分指令') {
+ this.getStatistics() // 获取统计列表
+ }
if (e.label == '分指令' || e.label == '班组长分指令') {
this.loadOtherOrder()
this.askDisabled = true
@@ -1367,13 +1373,8 @@
this.getDc()
this.askDisabled = true
}
- if(e.label == '总指令' || e.label == '分指令') {
- this.getStatistics() // 获取统计列表
- }
- this.directorList = []
+ this.getQueryCheckRecord(0) // 获取勾选
this.getRoleId()
- this.zzlFlag = true
- this.fzlFlag = true
},
// 刷新
refresh() {
@@ -1498,8 +1499,8 @@
method: 'GET', //请求方式,必须为大写
success: (res) => {
this.ZLFlag = res.data.data.length > 0 ? true : false
- if(!this.ZLFlag) return
this.zTjList = {}
+ if(!this.ZLFlag) return
this.zTjList = res.data.data[0]
this.zTjList["totalSum"] = this.zTjList.totalSentCount + this.zTjList.totalNotSentCount
this.zTjList["branchSum"] = this.zTjList.branchSentCount + this.zTjList
@@ -1519,7 +1520,7 @@
if(this.goodsClassifySelected == null) this.goodsClassifySelected = 0
uni.request({
// url: `${this.$local}/api/shipInstructions/page?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&potId=${this.potId}&bvmId=${this.bvmId}&shipDeck=${this.shipDeck}&size=${this.pageSize}¤t=${this.current}`,
- url: `${this.$local}/api/loadShipCommand/queryCommandCardForTotal?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&potId=${this.potId}&bvmId=${this.bvmId}&shipDeck=${this.shipDeck}&size=${this.pageSize}¤t=${this.current}&goodsClassifySelected=${this.goodsClassifySelected}`,
+ url: `${this.$local}/api/loadShipCommand/queryCommandCardForTotal?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&potId=${this.potId}&bvmId=${this.bvmId}&shipDeck=${this.shipDeck}&size=999¤t=${this.current}&goodsClassifySelected=${this.goodsClassifySelected}`,
header: {
'Content-Type': 'application/json', //自定义请求头信息
'Authorization': `Bearer ${this.loginObj.access_token}`
@@ -1527,10 +1528,10 @@
method: 'GET', //请求方式,必须为大写
success: (res) => {
this.itemList.push(...res.data.data.records)
- if (res.data.data.records.length == 10) {
- this.current++
- this.loadSumOrder()
- }
+ // if (res.data.data.records.length == 10) {
+ // this.current++
+ // this.loadSumOrder()
+ // }
this.itemList.forEach((v, index) => {
v.image = '../../static/images/theme/car1.png'
v.index = index
@@ -1552,7 +1553,7 @@
if(this.goodsClassifySelected == null) this.goodsClassifySelected = 0
uni.request({
// url: `${this.$local}/api/shipInstructions/pageCommandForBranch?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&potId=${this.potId}&bvmId=${this.bvmId}&sendStatus=${this.sendValue}&shipDeck=${this.shipDeck}&teamFlag=${teamFlag}&size=${this.pageSize}¤t=${this.current}`,
- url: `${this.$local}/api/loadShipCommand/queryCommandCardForBranch?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&potId=${this.potId}&bvmId=${this.bvmId}&sendStatus=${this.sendValue}&shipDeck=${this.shipDeck}&teamFlag=${teamFlag}&size=${this.pageSize}¤t=${this.current}&goodsClassifySelected=${this.goodsClassifySelected}`,
+ url: `${this.$local}/api/loadShipCommand/queryCommandCardForBranch?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&potId=${this.potId}&bvmId=${this.bvmId}&sendStatus=${this.sendValue}&shipDeck=${this.shipDeck}&teamFlag=${teamFlag}&size=999¤t=${this.current}&goodsClassifySelected=${this.goodsClassifySelected}`,
header: {
'Content-Type': 'application/json', //自定义请求头信息
'Authorization': `Bearer ${this.loginObj.access_token}`
@@ -1560,10 +1561,10 @@
method: 'GET', //请求方式,必须为大写
success: (res) => {
this.itemList.push(...res.data.data.records)
- if (res.data.data.records.length == 10) {
- this.current++
- this.loadOtherOrder()
- }
+ // if (res.data.data.records.length == 10) {
+ // this.current++
+ // this.loadOtherOrder()
+ // }
this.itemList.forEach((v, index) => {
v.image = '../../static/images/theme/car1.png'
v.index = index