diff --git a/pages.json b/pages.json
index 0330e249..99e47d25 100644
--- a/pages.json
+++ b/pages.json
@@ -1426,6 +1426,36 @@
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path": "pages/projectEnd/ukashManage/materials",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/projectEnd/ukashManage/lookDetails",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path" : "pages/projectEnd/visitorsManage/visitorsManage",
+ "style" :
+ {
+ "navigationBarTitleText" : "访客管理",
+ "enablePullDownRefresh" : true
+ }
+ },
+ {
+ "path" : "pages/projectEnd/visitorsManage/visitorsDetails",
+ "style" :
+ {
+ "navigationBarTitleText" : "",
+ "enablePullDownRefresh" : false
+ }
}
],
// "subPackages":[{
diff --git a/pages/projectEnd/projectIndex/projectIndex.vue b/pages/projectEnd/projectIndex/projectIndex.vue
index 5bbd29b4..3b60b7b7 100644
--- a/pages/projectEnd/projectIndex/projectIndex.vue
+++ b/pages/projectEnd/projectIndex/projectIndex.vue
@@ -1,66 +1,66 @@
-
-
-
-
-
-
-
-
-
-
- 工程进度
-
- {{
+
+
+
+
+
+
+
+
+
+
+ 工程进度
+
+ {{
projectDetail.periodRatio ? projectDetail.periodRatio : '--'
}}
-
- %
-
- {{
+
+ %
+
+ {{
projectDetail.contractPeriodType == 1 ? '正常' : '已延期'
}}
-
-
-
-
- {{ weatherInfo.temperature }}℃
-
-
-
-
-
- {{ weatherInfo.winddirection }}风 {{ weatherInfo.windpower }}级
-
-
-
-
-
- {{
+
+
+
+
+ {{ weatherInfo.temperature }}℃
+
+
+
+
+
+ {{ weatherInfo.winddirection }}风 {{ weatherInfo.windpower }}级
+
+
+
+
+
+ {{
projectDetail.contractPeriodStartTime != null
? projectDetail.contractPeriodStartTime
: '—.—.—'
}}
-
- 项目开工日期
-
-
-
- {{
+
+ 项目开工日期
+
+
+
+ {{
projectDetail.contractPeriodEndTime != null
? projectDetail.contractPeriodEndTime
: '—.—.—'
}}
-
- 要求完成日期
-
-
-
-
-
- ·已有产品·
-
-
-
-
-
-
-
-
- {{ item.appName || item.moduleName }}
-
-
-
-
-
-
-
-
-
-
- {{ item.appName || item.moduleName }}
-
-
-
-
-
-
-
-
-
-
- 打卡成功
-
- 巡检点:{{ qrCode.checkingPointName }}
-
- 巡检点位置:{{ qrCode.position }}
-
-
-
-
+
+
+
+ 打卡成功
+
+ 巡检点:{{ qrCode.checkingPointName }}
+
+ 巡检点位置:{{ qrCode.position }}
+
+
+
+
+ .projectIndexBG {
+ width: 100%;
+ height: 357px;
+ position: absolute;
+ top: 0;
+ left: 0;
+ }
+
\ No newline at end of file
diff --git a/pages/projectEnd/safeManage/safeIndex.vue b/pages/projectEnd/safeManage/safeIndex.vue
index 78f7d052..244b2437 100644
--- a/pages/projectEnd/safeManage/safeIndex.vue
+++ b/pages/projectEnd/safeManage/safeIndex.vue
@@ -70,10 +70,10 @@
危大工程
-
-
-
-
+
- 0000
- 查看明细
+ 材料名称: {{item.name}}
+
- 型号: 2222s
- 规格: 2222s
- 单位: 2222s
- 数量: 2222s
+ 型号: {{item.model}}
+ 规格: {{item.specifications}}
+ 单位: {{item.unit}}
+ 数量: {{item.num}}
+ 备注: {{item.remark}}
+
+
+ 暂无数据
+
@@ -34,12 +40,10 @@
id: ''
}
},
- onShow() {
- this.queryList()
- },
onLoad(vai) {
console.log(vai.itemS);
this.id = vai.itemS
+ this.queryList()
},
onReachBottom() {
console.log(99999);
@@ -58,29 +62,34 @@
methods: {
queryList() {
let data = {
- id:this.id
+ materialId: this.id
}
let _this = this
this.sendRequest({
- url: 'xmgl/xzMaterialDetail/queryById',
+ url: 'xmgl/xzMaterialDetail/list',
method: 'post',
data: data,
success: res => {
console.log(res);
- // this.dataList =res.result.records
- // if (res.result.records.length < this.pageSize) {
- // //判断接口返回数据量小于请求数据量,则表示此为最后一页
- // this.isLoadMore = true
- // this.loadStatus = 'nomore'
- // } else {
- // this.isLoadMore = false
- // // that.loadStatus='more'
- // }
- // uni.stopPullDownRefresh()
- // // console.log(res.result)
+ this.dataList = res.result
+ if (res.result.length < this.pageSize) {
+ //判断接口返回数据量小于请求数据量,则表示此为最后一页
+ this.isLoadMore = true
+ this.loadStatus = 'nomore'
+ } else {
+ this.isLoadMore = false
+ // that.loadStatus='more'
+ }
+ uni.stopPullDownRefresh()
+ // console.log(res.result)
}
})
},
+ jobLookDetails(id){
+ uni.navigateTo({
+ url: './lookDetails?itemS=' + id
+ })
+ }
}
}
@@ -101,7 +110,7 @@
}
.ukashList {
- height: 163px;
+ height: 193px;
background-color: #fff;
margin: 10px 10px;
border-radius: 15px;
@@ -129,5 +138,22 @@
color: #b9bbc9;
}
}
+
+ .no-data {
+ text-align: center;
+
+ .img {
+ display: block;
+ height: 200rpx;
+ width: 200rpx;
+ margin: 0 auto;
+ margin-top: 60rpx;
+ margin-bottom: 60rpx;
+ }
+
+ .txt {
+ color: #C0C4CC;
+ }
+ }
}
\ No newline at end of file
diff --git a/pages/projectEnd/ukashManage/ukashManage.vue b/pages/projectEnd/ukashManage/ukashManage.vue
index 0ed48d76..38d8a3b7 100644
--- a/pages/projectEnd/ukashManage/ukashManage.vue
+++ b/pages/projectEnd/ukashManage/ukashManage.vue
@@ -5,16 +5,21 @@
材料入场管理
-
-
+
+
{{item.name}}
查看明细
+ 企业: {{item.enterpriseName}}
入场时间: {{item.entryTime}}
+
+
+ 暂无数据
+
@@ -28,18 +33,20 @@
pageNo: 1,
pageSize: 10,
isLoadMore: false,
- dataList: []
+ dataList: [],
+ isFinished: false
}
},
- onShow() {
+ onLoad() {
this.queryList()
},
onReachBottom() {
console.log(99999);
+ // this.pageNo += 1
+ // this.queryList()
if (!this.isLoadMore) {
- this.isLoadMore = true
- this.pageNo + 1
- this.queryList()
+ this.pageNo += 1;
+ this.queryList();
}
},
onPullDownRefresh() {
@@ -47,12 +54,13 @@
this.pageNo = 1
this.dataList = []
this.queryList()
+ this.isFinished = false
},
methods: {
queryList() {
let data = {
pageNo: this.pageNo,
- pageSize: this.pageSize
+ pageSize: this.pageSize,
}
let _this = this
this.sendRequest({
@@ -61,11 +69,14 @@
data: data,
success: res => {
console.log(res);
- this.dataList = res.result.records
+ // this.dataList = this.dataList.concat(res.result.records)
+
+ this.dataList = [...this.dataList, ...res.result.records]
+ // console.log(this.dataList , res.result.total);
+ // this.dataList = res.result.records
if (res.result.records.length < this.pageSize) {
//判断接口返回数据量小于请求数据量,则表示此为最后一页
this.isLoadMore = true
- this.loadStatus = 'nomore'
} else {
this.isLoadMore = false
// that.loadStatus='more'
@@ -79,6 +90,37 @@
uni.navigateTo({
url: './materials?itemS=' + id
})
+ },
+ handleInput(e) {
+ this.dataList = []
+ let data = {
+ pageNo: this.pageNo,
+ pageSize: this.pageSize,
+ name: e.detail.value ? e.detail.value : null
+ }
+ let _this = this
+ this.sendRequest({
+ url: 'xmgl/xzMaterial/page',
+ method: 'post',
+ data: data,
+ success: res => {
+ console.log(res);
+ // this.dataList = this.dataList.concat(res.result.records)
+
+ this.dataList = [...this.dataList, ...res.result.records]
+ // console.log(this.dataList , res.result.total);
+ // this.dataList = res.result.records
+ if (res.result.records.length < this.pageSize) {
+ //判断接口返回数据量小于请求数据量,则表示此为最后一页
+ this.isLoadMore = true
+ } else {
+ this.isLoadMore = false
+ // that.loadStatus='more'
+ }
+ uni.stopPullDownRefresh()
+ // console.log(res.result)
+ }
+ })
}
}
}
@@ -122,11 +164,28 @@
}
.ukashList-time {
- margin-top: 20px;
+ margin-top: 10px;
margin-left: 20px;
font-size: 12px;
color: #b9bbc9;
}
}
+
+ .no-data {
+ text-align: center;
+
+ .img {
+ display: block;
+ height: 200rpx;
+ width: 200rpx;
+ margin: 0 auto;
+ margin-top: 60rpx;
+ margin-bottom: 60rpx;
+ }
+
+ .txt {
+ color: #C0C4CC;
+ }
+ }
}
\ No newline at end of file
diff --git a/pages/projectEnd/visitorsManage/visitorsDetails.vue b/pages/projectEnd/visitorsManage/visitorsDetails.vue
new file mode 100644
index 00000000..36521f08
--- /dev/null
+++ b/pages/projectEnd/visitorsManage/visitorsDetails.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+ 访客姓名
+ {{result.visitName}}
+
+
+ 访客身份证号
+ {{result.idCard}}
+
+
+ 预约人姓名
+ {{result.appointmentName}}
+
+
+ 预约结果
+ {{ result.isSuccess === 0 ? '预约成功' : '预约失败'}}
+
+
+ 预约有效开始时间
+ {{result.beginTime}}
+
+
+ 预约有效结束时间
+ {{result.endTime}}
+
+
+ 当前状态
+ {{ result.isEnable === 0 ? '预约有效' : '预约已失效'}}
+
+
+ 删除
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/projectEnd/visitorsManage/visitorsManage.vue b/pages/projectEnd/visitorsManage/visitorsManage.vue
new file mode 100644
index 00000000..61dab715
--- /dev/null
+++ b/pages/projectEnd/visitorsManage/visitorsManage.vue
@@ -0,0 +1,209 @@
+
+
+
+
+
+
+
+ 访客姓名: {{item.visitName}}
+ {{item.isSuccess===1?'预约成功':'预约失败'}}
+
+ 访客身份证号: {{item.idCard}}
+ 预约人姓名: {{ item.appointmentName }}
+ 预约开始时间: {{ item.beginTime }}
+
+ 预约结束时间: {{ item.endTime }}
+ {{ item.isEnable === 1 ? '预约有效' : '预约已失效' }}
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
\ No newline at end of file