@ -0,0 +1,14 @@
|
||||
# Windows
|
||||
[Dd]esktop.ini
|
||||
Thumbs.db
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
|
||||
# Node.js
|
||||
node_modules/
|
@ -0,0 +1,36 @@
|
||||
# 阳光系统-小程序
|
||||
|
||||
#### Description
|
||||
阳光新系统的小程序
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
@ -0,0 +1,15 @@
|
||||
const api = require('./api/api.js');
|
||||
|
||||
App({
|
||||
|
||||
onLaunch() {
|
||||
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null,
|
||||
imgUrl: api.IMG_BASE_URL, //图片地址
|
||||
url: api.API_BASE_URL, //接口地址
|
||||
monitUrl: api.API_MONIT_URL, //监控接口地址
|
||||
monitUpload: api.UP_MONIT_IMG, //监控上传图片路径
|
||||
},
|
||||
})
|
@ -0,0 +1,170 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/startPage/startPage",
|
||||
"pages/index/index",
|
||||
"pages/mine/mine",
|
||||
"pages/home/home",
|
||||
"pages/forgotPassword/forgotPassword",
|
||||
"pages/map/map",
|
||||
"pages/pend/pend",
|
||||
"pages/traderList/traderList",
|
||||
"pages/appRecord/appRecord",
|
||||
"pages/scanCode/scanCode"
|
||||
],
|
||||
"subpackages": [
|
||||
{
|
||||
"root": "home",
|
||||
"name": "home",
|
||||
"pages": [
|
||||
"pages/entryInfo/entryInfo",
|
||||
"pages/dataScreening/dataScreening",
|
||||
"pages/dataScreeningDetails/dataScreeningDetails",
|
||||
"pages/viewSchema/viewSchema",
|
||||
"pages/infoRegistration/infoRegistration",
|
||||
"components/infor/infor",
|
||||
"components/survey/survey",
|
||||
"components/install/install",
|
||||
"components/installHR/installHR",
|
||||
"components/finish/finish",
|
||||
"components/finishHR/finishHR",
|
||||
"components/onGrid/onGrid",
|
||||
"pages/entryInfoDetails/entryInfoDetails",
|
||||
"pages/customDetails/customDetails",
|
||||
"pages/install/install",
|
||||
"pages/installHR/installHR",
|
||||
"pages/completion/completion",
|
||||
"pages/completionHR/completionHR",
|
||||
"pages/bwForm/bwForm",
|
||||
"pages/installOwn/installOwn",
|
||||
"pages/entryInfoAudit/entryInfoAudit",
|
||||
"pages/entryInfoAuditHR/entryInfoAuditHR",
|
||||
"pages/acceptance/acceptance",
|
||||
"pages/acceptanceBW/acceptanceBW",
|
||||
"pages/acceptanceAZ/acceptanceAZ",
|
||||
"pages/entryInfoBT/entryInfoBT",
|
||||
"pages/surveyForm/surveyForm",
|
||||
"pages/surveyFormHr/surveyFormHr",
|
||||
"pages/filesForm/filesForm",
|
||||
"pages/ownerForm/ownerForm",
|
||||
"pages/bankCardDetail/bankCardDetail",
|
||||
"pages/dispatch/dispatch",
|
||||
"pages/webView/webView",
|
||||
"pages/customList/customList",
|
||||
"pages/3days/3days",
|
||||
"pages/uploadContract/uploadContract",
|
||||
"pages/installSelfAudit/installSelfAudit",
|
||||
"pages/converge/converge"
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "mine",
|
||||
"name": "mine",
|
||||
"pages": [
|
||||
"pages/customerService/customerService",
|
||||
"pages/contactUs/contactUs"
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "monitor",
|
||||
"name": "monitor",
|
||||
"pages": [
|
||||
"pages/home/home",
|
||||
"pages/workOrder/order/order",
|
||||
"pages/workOrder/backDetail/backDetail",
|
||||
"pages/workOrder/orderDetail/orderDetail",
|
||||
"pages/workOrder/orderDetail2/orderDetail2",
|
||||
"pages/center/center",
|
||||
"pages/station/station",
|
||||
"pages/notice/notice",
|
||||
"pages/noticeDetail/noticeDetail",
|
||||
"pages/technicalData/technicalData",
|
||||
"pages/technicaDetail/technicaDetail",
|
||||
"pages/lookImg/lookImg",
|
||||
"pages/settlement/settlement",
|
||||
"pages/stationDetail/stationDetail",
|
||||
"pages/deviceList/deviceList",
|
||||
"pages/deviceDetail/deviceDetail",
|
||||
"pages/materialApply/materialApply",
|
||||
"pages/myMaterial/myMaterial",
|
||||
"pages/addMaterial/addMaterial",
|
||||
"pages/materialDetail/materialDetail",
|
||||
"pages/materialUse/materialUse",
|
||||
"pages/materialList/materialList"
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "other",
|
||||
"name": "other",
|
||||
"pages": [
|
||||
"pages/infoList/infoList",
|
||||
"pages/dispatch/dispatch",
|
||||
"pages/qualityAcceptList/qualityAcceptList",
|
||||
"pages/qualityAcceptDetail/qualityAcceptDetail",
|
||||
"pages/qualityAccept/qualityAccept",
|
||||
"pages/unableAccept/unableAccept",
|
||||
"pages/rectification/rectification",
|
||||
"pages/rectifyForm/rectifyForm"
|
||||
]
|
||||
}
|
||||
],
|
||||
"preloadRule": {
|
||||
"pages/home/home": {
|
||||
"network": "all",
|
||||
"packages": [
|
||||
"home"
|
||||
]
|
||||
},
|
||||
"pages/mine/mine": {
|
||||
"network": "all",
|
||||
"packages": [
|
||||
"mine"
|
||||
]
|
||||
}
|
||||
},
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "能辉新能源",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"custom": true,
|
||||
"selectedColor": "#0a6597",
|
||||
"color": "#999999",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath": "/img/home.png",
|
||||
"selectedIconPath": "/img/home-se.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/pend/pend",
|
||||
"text": "待办",
|
||||
"iconPath": "/img/pend.png",
|
||||
"selectedIconPath": "/img/pend-se.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/mine",
|
||||
"text": "我的",
|
||||
"iconPath": "/img/mine.png",
|
||||
"selectedIconPath": "/img/mine-se.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"useExtendedLib": {
|
||||
"weui": true
|
||||
},
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于获取实时地理位置信息"
|
||||
}
|
||||
},
|
||||
"requiredPrivateInfos": [
|
||||
"getLocation"
|
||||
],
|
||||
"lazyCodeLoading": "requiredComponents"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-popup": "@vant/weapp/popup/index",
|
||||
"van-search": "@vant/weapp/search/index",
|
||||
"van-empty": "@vant/weapp/empty/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
<!--components/region/region.wxml-->
|
||||
<!-- 选择器 -->
|
||||
<van-popup show="{{ showRegion }}" position="bottom" duration="250" round custom-style="height: 90%;" bind:close="_closeBank" closeable lock-scroll>
|
||||
<view class="content-province-title">
|
||||
<image src="../../img/left-black.png" class="content-province-title-left" wx:if="{{backShow}}" />
|
||||
请选择
|
||||
</view>
|
||||
<!-- 银行/地址 -->
|
||||
<view class="tab-box" wx:if="{{capitalId !='04'}}">
|
||||
<view>
|
||||
<picker bindchange="bindBankList" range="{{bankNameList}}" range-key='name'>
|
||||
<view class="picker-box">
|
||||
<view wx:if="{{bankNamed !=''}}">
|
||||
{{bankNamed}}
|
||||
</view>
|
||||
<view class="content-text content-text-gray" wx:else>
|
||||
开户银行
|
||||
</view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view>
|
||||
<picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}" level="city">
|
||||
<view class="picker-box">
|
||||
<view wx:if="{{region.length>0}}">{{region[0]}}{{region[1]}}</view>
|
||||
<view wx:else>开户地址</view>
|
||||
<view class="close" data-type="adr" catchtap="emptyData" wx:if="{{region.length>0}}">X</view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="search-box">
|
||||
<van-search
|
||||
value="{{ bankName }}"
|
||||
placeholder="请输入至少2个字符"
|
||||
bind:search="onSearch"
|
||||
bind:clear="onSearchClear"
|
||||
bind:change="onSearch"
|
||||
></van-search>
|
||||
</view>
|
||||
<scroll-view scroll-y="true" bindscrolltolower='more' class="content-province-sc" >
|
||||
<view wx:if="{{provinceList.length>0}}" wx:for="{{provinceList}}" wx:key="index" class="content-province" bind:tap="_chooseBank" data-id="{{item.number}}" data-name="{{item.bank_name}}">{{item.bank_name}}</view>
|
||||
<van-empty
|
||||
wx:if="{{provinceList.length<=0}}"
|
||||
class="custom-image"
|
||||
image=""
|
||||
description="暂无可选择数据,请先搜索"
|
||||
/>
|
||||
</scroll-view>
|
||||
</van-popup>
|
@ -0,0 +1,40 @@
|
||||
/* components/region/region.wxss */
|
||||
.content-province-title {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
border-bottom: 3rpx solid #f2f2f2;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content-province-title-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
margin-left: 30rpx;
|
||||
width: 45rpx;
|
||||
height: 45rpx;
|
||||
}
|
||||
|
||||
.content-province-sc {
|
||||
width: 100%;
|
||||
height: calc(100% - 300rpx);
|
||||
}
|
||||
|
||||
.content-province {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
font-size: 26rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-bottom: 3rpx solid #f2f2f2;
|
||||
}
|
||||
.tab-box{ display: flex; align-items: center; justify-content: space-between; height: 70rpx; border-bottom: 1px solid #f0f0f0;}
|
||||
.tab-box>view{flex: 1; width: 50%; text-align: center; font-size: 24rpx; height: 70rpx; line-height: 70rpx; border-left: 1px solid #f0f0f0; font-weight: 800; }
|
||||
.tab-box .picker view{white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
|
||||
.picker-box{position: relative;}
|
||||
.picker-box .close{position: absolute; right: 0rpx; top: 0; color: #999; padding: 0 30rpx;}
|
@ -0,0 +1,194 @@
|
||||
// components/region/region.js
|
||||
const {
|
||||
getProvinceList,
|
||||
getCitysByProId,
|
||||
getAreaByCityId,
|
||||
getStreetByAreaId
|
||||
} = require('../../api/api')
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
showRegion: {
|
||||
type:Boolean,
|
||||
value:false
|
||||
},
|
||||
traderId: {
|
||||
type: String
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
},
|
||||
pageLifetimes: {
|
||||
show: function () {
|
||||
// 页面被展示
|
||||
this._bindRegionChange()
|
||||
},
|
||||
},
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
/**
|
||||
*
|
||||
* 选择用户地址
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_bindRegionChange: function (e) {
|
||||
getProvinceList({
|
||||
traderId: this.data.traderId,
|
||||
}).then((res) => {
|
||||
this.setData({
|
||||
provinceList: res
|
||||
})
|
||||
})
|
||||
|
||||
this.setData({
|
||||
provinceShow: true
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
*
|
||||
* 选择省查找市
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_chooseProvince(e) {
|
||||
const ProvinceID = e.currentTarget.dataset.id
|
||||
const provinceName = e.currentTarget.dataset.name
|
||||
const traderId = e.currentTarget.dataset.tid
|
||||
this.setData({
|
||||
provinceShow: false,
|
||||
cityShow: true,
|
||||
backShow: true,
|
||||
provinceName: provinceName,
|
||||
})
|
||||
wx.showLoading({
|
||||
title: '加载中',
|
||||
mask: true
|
||||
})
|
||||
getCitysByProId({
|
||||
province: ProvinceID,
|
||||
traderId: traderId?traderId:'',
|
||||
}).then((res) => {
|
||||
wx.hideLoading()
|
||||
this.setData({
|
||||
cityList: res
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* 选择市查找区
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_chooseCity(e) {
|
||||
const city = e.currentTarget.dataset.id
|
||||
const cityName = e.currentTarget.dataset.name
|
||||
const traderId = e.currentTarget.dataset.tid
|
||||
this.setData({
|
||||
cityShow: false,
|
||||
areaShow: true,
|
||||
cityName: cityName
|
||||
})
|
||||
wx.showLoading({
|
||||
title: '加载中',
|
||||
mask: true
|
||||
})
|
||||
getAreaByCityId({
|
||||
city: city,
|
||||
traderId: traderId?traderId:'',
|
||||
}).then((res) => {
|
||||
wx.hideLoading()
|
||||
this.setData({
|
||||
areaList: res
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* 选择区
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_chooseArea(e) {
|
||||
const areaName = e.currentTarget.dataset.name
|
||||
this.setData({
|
||||
showRegion: false,
|
||||
})
|
||||
setTimeout(()=>{
|
||||
this.setData({
|
||||
provinceShow: true,
|
||||
areaShow: false,
|
||||
backShow: false,
|
||||
areaName: areaName
|
||||
})
|
||||
console.log("选择的省市区===》》》", this.data.provinceName, this.data.cityName, this.data.areaName)
|
||||
var data = {
|
||||
provinceName: this.data.provinceName,
|
||||
cityName: this.data.cityName,
|
||||
areaName: this.data.areaName,
|
||||
}
|
||||
this.triggerEvent('chooseRegion', data)
|
||||
},200)
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* 市区后退
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_backChooseRegion(e) {
|
||||
if (this.data.cityShow) {
|
||||
this.setData({
|
||||
cityShow: false,
|
||||
provinceShow: true,
|
||||
backShow: false,
|
||||
})
|
||||
} else if (this.data.areaShow) {
|
||||
this.setData({
|
||||
areaShow: false,
|
||||
cityShow: true
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
*
|
||||
* 关闭弹框
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_closeRegion(e) {
|
||||
this.setData({
|
||||
provinceName: "",
|
||||
cityName: "",
|
||||
areaName: "",
|
||||
addressName: "",
|
||||
provinceShow: true,
|
||||
showRegion: false,
|
||||
cityShow: false,
|
||||
areaShow: false,
|
||||
backShow: false,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-popup": "@vant/weapp/popup/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<!--components/region/region.wxml-->
|
||||
<!-- 省市区街道选择器 -->
|
||||
<van-popup show="{{ showRegion }}" position="bottom" duration="250" round custom-style="height: 75%;" bind:close="_closeRegion" closeable lock-scroll>
|
||||
<view class="content-province-title">
|
||||
<image src="../../img/left-black.png" class="content-province-title-left" wx:if="{{backShow}}" bind:tap="_backChooseRegion" />
|
||||
请选择地址
|
||||
</view>
|
||||
<scroll-view scroll-y="true" class="content-province-sc">
|
||||
<view wx:if="{{provinceList.length>0 && provinceShow}}" wx:for="{{provinceList}}" wx:key="index" class="content-province" bind:tap="_chooseProvince" data-id="{{item.columns.ProvinceID}}" data-tid="{{item.columns.traderId}}" data-name="{{item.columns.ProvinceName}}">{{item.columns.ProvinceName}}</view>
|
||||
<view wx:if="{{cityList.length>0 && cityShow}}" wx:for="{{cityList}}" wx:key="index" class="content-province" bind:tap="_chooseCity" data-id="{{item.columns.CityID}}" data-tid="{{item.columns.traderId}}" data-name="{{item.columns.CityName}}">{{item.columns.CityName}}</view>
|
||||
<view wx:if="{{areaList.length>0 && areaShow}}" wx:for="{{areaList}}" wx:key="index" class="content-province" bind:tap="_chooseArea" data-id="{{item.columns.DistrictID}}" data-name="{{item.columns.DistrictName}}">{{item.columns.DistrictName}}</view>
|
||||
</scroll-view>
|
||||
</van-popup>
|
@ -0,0 +1,35 @@
|
||||
/* components/region/region.wxss */
|
||||
.content-province-title {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
border-bottom: 3rpx solid #f2f2f2;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content-province-title-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
margin-left: 30rpx;
|
||||
width: 45rpx;
|
||||
height: 45rpx;
|
||||
}
|
||||
|
||||
.content-province-sc {
|
||||
width: 100%;
|
||||
height: calc(100% - 100rpx);
|
||||
}
|
||||
|
||||
.content-province {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
font-size: 26rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-bottom: 3rpx solid #f2f2f2;
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
// pages/components/statusBar/statusBar.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
showBackTop: Boolean,
|
||||
title: String
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
showBack: true
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
/**
|
||||
*
|
||||
*返回上一级
|
||||
*
|
||||
* @param {*} e
|
||||
*/
|
||||
_backPage(e) {
|
||||
wx.navigateBack()
|
||||
},
|
||||
},
|
||||
|
||||
lifetimes: {
|
||||
attached: function () {
|
||||
wx.getSystemInfo({
|
||||
success: (res) => {
|
||||
const isiOS = res.system.indexOf('iOS') > -1;
|
||||
this.setData({
|
||||
navHeight: isiOS ? 44 : 48,
|
||||
statusBarHeight: res.statusBarHeight,
|
||||
windowHeight: res.windowHeight,
|
||||
windowWidth: res.windowWidth,
|
||||
})
|
||||
}
|
||||
})
|
||||
// wx.getSystemInfo({
|
||||
// success: (res) => {
|
||||
// const isiOS = res.system.indexOf('iOS') > -1;
|
||||
// this.setData({
|
||||
// navHeight: isiOS ? 44 : 48,
|
||||
// statusBarHeight: res.statusBarHeight,
|
||||
// windowHeight: res.windowHeight,
|
||||
// windowWidth: res.windowWidth,
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
},
|
||||
},
|
||||
|
||||
pageLifetimes: {
|
||||
show: function () {
|
||||
if (getCurrentPages().length <= 1) {
|
||||
this.setData({
|
||||
showBack: false
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
})
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<!--pages/components/statusBar/statusBar.wxml-->
|
||||
<view class="diynavbar-content">
|
||||
<view class="diynavbar" style="height:{{statusBarHeight + navHeight}}px">
|
||||
<view class="navBar-content" style="height:{{navHeight}}px;">
|
||||
<view class="navBar-search-container">
|
||||
<image src="/img/left.png" class="navBar-search-image" bind:tap="_backPage" wx:if="{{showBack}}" />
|
||||
<text class="navBar-search-text">{{title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
@ -0,0 +1,47 @@
|
||||
/* pages/components/statusBar/statusBar.wxss */
|
||||
.diynavbar-content {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.diynavbar {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.diynavbar-none {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.navBar-content {
|
||||
width: 750rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navBar-search-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
|
||||
.navBar-search-text {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.navBar-search-image {
|
||||
position: absolute;
|
||||
width: 65rpx;
|
||||
height: 65rpx;
|
||||
left: 0;
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
Component({
|
||||
data: {
|
||||
selected: 0,
|
||||
"selectedColor": "#0a6597",
|
||||
"color": "#999999",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
navList: []
|
||||
},
|
||||
ready() {
|
||||
if(wx.getStorageSync('userType') == 'PLATFORM_EMP'){//平台员工
|
||||
this.setData({
|
||||
navList: [{
|
||||
"pagePath": "/pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath": "/img/home.png",
|
||||
"selectedIconPath": "/img/home-se.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/pend/pend",
|
||||
"text": "待办",
|
||||
"iconPath": "/img/pend.png",
|
||||
"selectedIconPath": "/img/pend-se.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/mine/mine",
|
||||
"text": "我的",
|
||||
"iconPath": "/img/mine.png",
|
||||
"selectedIconPath": "/img/mine-se.png"
|
||||
}]
|
||||
});
|
||||
}else if(wx.getStorageSync('userType') == 'SERVICE_PROV'){//服务商
|
||||
this.setData({
|
||||
navList: [{
|
||||
"pagePath": "/monitor/pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath": "/img/home.png",
|
||||
"selectedIconPath": "/img/home-se.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/monitor/pages/workOrder/workOrder",
|
||||
"text": "工单",
|
||||
"iconPath": "/img/mine.png",
|
||||
"selectedIconPath": "/img/mine-se.png"
|
||||
}]
|
||||
});
|
||||
}else{//代理商
|
||||
this.setData({
|
||||
navList: [{
|
||||
"pagePath": "/pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath": "/img/home.png",
|
||||
"selectedIconPath": "/img/home-se.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/mine/mine",
|
||||
"text": "我的",
|
||||
"iconPath": "/img/mine.png",
|
||||
"selectedIconPath": "/img/mine-se.png"
|
||||
}]
|
||||
});
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
switchTab(e) {
|
||||
const data = e.currentTarget.dataset
|
||||
const url = data.path
|
||||
if(url =='/monitor/pages/home/home' || url =='/monitor/pages/workOrder/workOrder'){
|
||||
wx.navigateTo({
|
||||
url: url, //因为添加页面在分包中 因此只能使用wx.navigateTo跳转
|
||||
})
|
||||
}else{
|
||||
wx.switchTab({url})
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
})
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<!--miniprogram/custom-tab-bar/index.wxml-->
|
||||
<view class="tab-bar">
|
||||
<view class="tab-bar-border"></view>
|
||||
<view wx:for="{{navList}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
||||
<image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image>
|
||||
<view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
||||
</view>
|
||||
</view>
|
@ -0,0 +1,40 @@
|
||||
.tab-bar {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: white;
|
||||
display: flex;
|
||||
box-sizing: content-box;
|
||||
height: 48px;
|
||||
padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
|
||||
|
||||
}
|
||||
|
||||
.tab-bar-border {
|
||||
background-color: rgba(0, 0, 0, 0.15);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
transform: scaleY(0.5);
|
||||
}
|
||||
|
||||
.tab-bar-item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tab-bar-item image {
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
.tab-bar-item view {
|
||||
font-size: 10px;
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,153 @@
|
||||
<!--home/components/finish/finish.wxml-->
|
||||
<wxs src="/wxs/util.wxs" module="util"></wxs>
|
||||
<view class="content">
|
||||
<block wx:if="{{formSetObj.filing_document_code.status =='1'}}">
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">项目备案代码</view>
|
||||
<input type="text" class="content-input" placeholder="" model:value="{{detail.filing_document_code}}" disabled />
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.filing_document_photo.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">备案证(1-4张)</view>
|
||||
</view>
|
||||
<view class="txt-upload">
|
||||
<view wx:for="{{photo.filingDocumentPhoto}}" wx:key="childIndex" wx:for-index="childIndex" wx:for-item="child" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{child.name}}">{{util.formartFileName(child.name)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{detail.tenant_type == '2'}}">
|
||||
<block wx:if="{{formSetObj.other_imgs1.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">银行印鉴留样(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs1}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs1" data-type="otherImgs1" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.other_imgs2.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">签约现场照片-法定代表人/负责人签字照(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs2}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs2" data-type="otherImgs2" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.other_imgs3.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">签约现场照片-正脸、持笔/持印、合同签署页同框(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs3}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs3" data-type="otherImgs3" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.other_imgs4.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">签署完成照片(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs4}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs4" data-type="otherImgs4" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
<!-- 广发历史电站才显示 -->
|
||||
<block wx:if="{{detail.is_history =='1' && detail.management =='03'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">合同</view>
|
||||
</view>
|
||||
<view class="txt-upload" style="padding-left: 10rpx;">
|
||||
<view wx:for="{{photo.contractUrl}}" wx:key="childIndex" wx:for-index="childIndex" wx:for-item="child" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{child.name}}">{{util.formartFileName(child.name)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
</view>
|
||||
<!-- 工程信息 -->
|
||||
<view class="content">
|
||||
<view class="content-title">工程信息</view>
|
||||
<view>
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<block wx:for="{{photoTips}}" wx:for-item="child" wx:for-index="childIndex" wx:key="childIndex">
|
||||
<block wx:if="{{child.status =='1'}}">
|
||||
<view class="content-line" style="margin:10rpx 5rpx 10rpx" wx:if="{{childIndex!=0}}"></view>
|
||||
<view class="content-img-name {{child.num>1?'w-100':''}}">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f24">{{child.title}}
|
||||
<block wx:if="{{child.num>1 && child.min}}">({{child.min}}-{{child.num}}张)</block>
|
||||
<block wx:elif="{{child.num>1}}">(1-{{child.num}}张)</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="txt-upload" wx:if="{{child.key == 'otherFiles' || child.key == 'kgConditionFiles'}}">
|
||||
<view wx:for="{{photo[child.key]}}" wx:key="childsIndex" wx:for-index="childsIndex" wx:for-item="childs" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{childs.name}}">{{util.formartFileName(childs.name)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:elif="{{child.key == 'supplementVideoUrl'}}">
|
||||
<van-uploader accept="video" file-list="{{photo[child.key]}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" data-type="{{child.key}}" data-name="{{child.key}}" max-count="1">
|
||||
</van-uploader>
|
||||
</block>
|
||||
<view class="img-box" wx:else>
|
||||
<van-uploader file-list="{{photo[child.key]}}" bind:after-read="afteruploadPhotoRead" data-name="{{child.key}}" use-before-read bind:before-read="beforeRead" disabled deletable="{{false}}" data-type="{{child.key}}" preview-size="150rpx" preview-image preview-full-image max-count="{{child.num}}" show-upload="{{false}}" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:if="{{formSetObj.complete_remark.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">完工备注</view>
|
||||
<view class="content-input">{{detail.report.completeRemark}}</view>
|
||||
</view>
|
||||
</block>
|
||||
<!-- <block wx:if="{{formSetObj.other_files.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">其他资料</view>
|
||||
<view class="txt-upload">
|
||||
<view wx:for="{{otherFiles}}" wx:key="index" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{item}}">{{util.formartFileName(item)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block> -->
|
||||
</view>
|
@ -0,0 +1,7 @@
|
||||
/* home/components/finish/finish.wxss */
|
||||
@import "../../pages/completion/completion.wxss";
|
||||
/** 文件上传样式 **/
|
||||
.txt-upload{flex: 1; color: blue; font-size: 24rpx; width: 100%;}
|
||||
.txt-upload-list{ display: flex; justify-content: space-between; margin:4rpx 0 20rpx;}
|
||||
.txt-upload-list text:first-child{flex: 1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
|
||||
.txt-upload-list text:last-child{width: 80rpx; margin-left: 20rpx;}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,182 @@
|
||||
<!--home/components/finish/finish.wxml-->
|
||||
<wxs src="/wxs/util.wxs" module="util"></wxs>
|
||||
<view class="content">
|
||||
<block wx:if="{{formSetObj.filing_document_code.status =='1'}}">
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">项目备案代码</view>
|
||||
<input type="text" class="content-input" placeholder="" model:value="{{detail.filing_document_code}}" disabled />
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.filing_document_photo.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">备案证(1-4张)</view>
|
||||
</view>
|
||||
<view class="txt-upload">
|
||||
<view wx:for="{{photo.filingDocumentPhoto}}" wx:key="childIndex" wx:for-index="childIndex" wx:for-item="child" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{child.name}}">{{util.formartFileName(child.name)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{detail.tenant_type == '2'}}">
|
||||
<block wx:if="{{formSetObj.other_imgs1.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">银行印鉴留样(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs1}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs1" data-type="otherImgs1" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.other_imgs2.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">签约现场照片-法定代表人/负责人签字照(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs2}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs2" data-type="otherImgs2" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.other_imgs3.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">签约现场照片-正脸、持笔/持印、合同签署页同框(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs3}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs3" data-type="otherImgs3" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.other_imgs4.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">签署完成照片(1-4张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.otherImgs4}}" bind:after-read="afteruploadPhotoRead" use-before-read bind:before-read="beforeRead" data-name="otherImgs4" data-type="otherImgs4" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="4" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
<!-- 广发历史电站才显示 -->
|
||||
<block wx:if="{{detail.is_history =='1' && detail.management =='03'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f28">合同</view>
|
||||
</view>
|
||||
<view class="txt-upload" style="padding-left: 10rpx;">
|
||||
<view wx:for="{{photo.contractUrl}}" wx:key="childIndex" wx:for-index="childIndex" wx:for-item="child" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{child.name}}">{{util.formartFileName(child.name)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
</view>
|
||||
<!-- 工程信息 -->
|
||||
<view class="content">
|
||||
<view class="content-title">工程信息</view>
|
||||
<block wx:if="{{formSetObj.safety_warning_img2.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<text style="color: red;" wx:if="{{formSetObj.safety_warning_img2.mustFillFlag =='1'}}">*</text>
|
||||
<text style="color: red; visibility: hidden;" wx:else>*</text>
|
||||
<view class="content-attention-showText f28">三级安全教育卡(1-15张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.safetyWarningImg2}}" bind:after-read="afteruploadPhotoRead" data-name="safetyWarningImg2" data-type="safetyWarningImg2" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj.kg_condition_files.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<view class="content-img-name">
|
||||
<view class="content-attention-text">
|
||||
<text style="color: red;" wx:if="{{formSetObj.kg_condition_files.mustFillFlag =='1'}}">*</text>
|
||||
<text style="color: red; visibility: hidden;" wx:else>*</text>
|
||||
<view class="content-attention-showText f28">安全防护措施合照照片(1-15张)</view>
|
||||
</view>
|
||||
<view class="img-box">
|
||||
<van-uploader capture="{{capture}}" file-list="{{photo.kgConditionFiles}}" bind:after-read="afteruploadPhotoRead" data-name="kgConditionFiles" data-type="kgConditionFiles" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="content-line"></view>
|
||||
<!-- 多产品分类 -->
|
||||
<view class="detail-tab">
|
||||
<view wx:for="{{detail.projectList}}" wx:key="index" class="{{tabIndex == index?'active':''}}" data-index="{{index}}" bind:tap="changeTab">
|
||||
{{item.roofType}}
|
||||
<view wx:if="{{tabIndex ==index}}" class="actived"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
<view class="content-line"></view>
|
||||
<view class="content-img-box">
|
||||
<block wx:for="{{photoTips}}" wx:for-item="child" wx:for-index="childIndex" wx:key="childIndex">
|
||||
<block wx:if="{{child.status =='1'}}">
|
||||
<view class="content-line" style="margin:10rpx 5rpx 10rpx" wx:if="{{childIndex!=0}}"></view>
|
||||
<view class="content-img-name {{child.num>1?'w-100':''}}">
|
||||
<view class="content-attention-text">
|
||||
<view class="content-attention-showText f24">{{child.title}}
|
||||
<block wx:if="{{child.num>1 && child.min}}">({{child.min}}-{{child.num}}张)</block>
|
||||
<block wx:elif="{{child.num>1}}">(1-{{child.num}}张)</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="txt-upload" wx:if="{{child.key == 'otherFiles' || child.key == 'kgConditionFiles'}}">
|
||||
<view wx:for="{{multiPhoto[tabIndex][child.key]}}" wx:key="childsIndex" wx:for-index="childsIndex" wx:for-item="childs" class="txt-upload-list">
|
||||
<text bindtap="openDocument" data-path="{{childs.name}}">{{util.formartFileName(childs.name)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:elif="{{child.key == 'supplementVideoUrl'}}">
|
||||
<van-uploader accept="video" file-list="{{multiPhoto[tabIndex][child.key]}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" data-type="{{child.key}}" data-name="{{child.key}}" max-count="1">
|
||||
</van-uploader>
|
||||
</block>
|
||||
<view class="img-box" wx:else>
|
||||
<van-uploader file-list="{{multiPhoto[tabIndex][child.key]}}" bind:after-read="afteruploadPhotoRead" data-name="{{child.key}}" use-before-read bind:before-read="beforeRead" disabled deletable="{{false}}" data-type="{{child.key}}" preview-size="150rpx" preview-image preview-full-image max-count="{{child.num}}" show-upload="{{false}}" style="flex: 1;">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:if="{{formSetObj.complete_remark.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">完工备注</view>
|
||||
<view class="content-input">{{remarkArr[tabIndex].completeRemark}}</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
@ -0,0 +1,12 @@
|
||||
/* home/components/finish/finish.wxss */
|
||||
@import "../../pages/completion/completion.wxss";
|
||||
/** 文件上传样式 **/
|
||||
.txt-upload{flex: 1; color: blue; font-size: 24rpx; width: 100%;}
|
||||
.txt-upload-list{ display: flex; justify-content: space-between; margin:4rpx 0 20rpx;}
|
||||
.txt-upload-list text:first-child{flex: 1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
|
||||
.txt-upload-list text:last-child{width: 80rpx; margin-left: 20rpx;}
|
||||
|
||||
.detail-tab{display: flex; justify-content: space-between; height: 90rpx; border-bottom: 1px solid #f0f0f0; color: #666666; position: sticky; top: 0; background: #FFF; z-index: 99; overflow: auto; background-color: #FFF;}
|
||||
.detail-tab>view{flex: 1; text-align: center; line-height: 82rpx; font-size: 28rpx; position: relative; white-space: nowrap; word-break: break-all; margin: 0 20rpx;}
|
||||
.detail-tab>view.active{color: #333333; font-size: 32rpx;}
|
||||
.detail-tab>view .actived{width: 60rpx; height: 6rpx; background-color: #0a6597; border-radius: 3rpx; margin: 0 auto;}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,380 @@
|
||||
<!--home/components/infor/infor.wxml-->
|
||||
<!-- 业主信息 -->
|
||||
<view class="content" style="margin-top: 0;" wx:if="{{detailObj.tenant_type =='1'}}">
|
||||
<view class="content-title">客户基本信息</view>
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">客户类型</view>
|
||||
<text>个人</text>
|
||||
</view>
|
||||
<block wx:if="{{formSetObj['01'].id_card_front.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">身份证照片</view>
|
||||
<van-uploader file-list="{{photo.idCardFrontFileList }}" bind:after-read="afteruploadPhotoRead" disabled disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
<van-uploader file-list="{{ photo.idCardBackFileList }}" bind:after-read="afteruploadPhotoRead" disabled disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-0.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].tenant_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">业主姓名</view>
|
||||
<text>{{detailObj.name}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].birthday_date.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">出生日期</view>
|
||||
<text>{{detailObj.detail.birthday_date}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].ic_validity_begin.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">身份证生效日</view>
|
||||
<text>{{detailObj.detail.ic_validity_begin}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].ic_validity_end.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">身份证失效日</view>
|
||||
<text>{{detailObj.detail.ic_validity_end}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].gender.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">性别</view>
|
||||
<text>{{detailObj.gender}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].age.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">年龄</view>
|
||||
<text>{{detailObj.age}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].id_code.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">身份证号</view>
|
||||
<text>{{detailObj.idCard}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].mobile.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">联系电话</view>
|
||||
<text>{{detailObj.phone}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].exigence_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">紧急联系人</view>
|
||||
<text>{{detailObj.detail.exigence_name}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].exigence_phone.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">紧急联系电话</view>
|
||||
<text>{{detailObj.detail.exigence_phone}}</text>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
|
||||
<!-- <block wx:if="{{formSetObj.pca_address.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">业主地址</view>
|
||||
<text>{{detailObj.region}}</text>
|
||||
</view>
|
||||
</block> -->
|
||||
</view>
|
||||
<!-- 单位信息 -->
|
||||
<view class="content" wx:else>
|
||||
<view class="content-title">客户基本信息</view>
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">客户类型</view>
|
||||
<text>单位</text>
|
||||
</view>
|
||||
<block wx:if="{{formSetObj['01'].tenant_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">单位名称</view>
|
||||
<text>{{detailObj.name}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].regno.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">统一社会信用代码</view>
|
||||
<text>{{detailObj.regno}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].regno_url.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">营业执照</view>
|
||||
<van-uploader file-list="{{photo.regnoUrl}}" data-name="regnoUrl" data-type="" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/img-base.png" class="content-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].mobile.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">联系电话</view>
|
||||
<text>{{detailObj.phone}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<!-- <block wx:if="{{formSetObj.pca_address.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">安装地址</view>
|
||||
<text>{{detailObj.region}}</text>
|
||||
</view>
|
||||
</block> -->
|
||||
<block wx:if="{{formSetObj['01'].id_card_front.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">负责人身份证</view>
|
||||
<van-uploader file-list="{{ photo.idCardFrontFileList }}" data-name="idCardFrontFileList" bind:after-read="afteruploadPhotoReadPositive" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
<van-uploader file-list="{{ photo.idCardBackFileList }}" data-name="idCardBackFileList" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-0.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].corp.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">负责人姓名</view>
|
||||
<text>{{detailObj.corp}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].id_code.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">证件号码</view>
|
||||
<text>{{detailObj.idCard}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].exigence_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">紧急联系人</view>
|
||||
<text>{{detailObj.detail.exigence_name}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['01'].exigence_phone.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">紧急联系电话</view>
|
||||
<text>{{detailObj.detail.exigence_phone}}</text>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<!-- 广发不显示档案 -->
|
||||
<block wx:if="{{capitalId != '03'}}">
|
||||
<!-- 个人档案信息 -->
|
||||
<view class="content" wx:if="{{detailObj.tenant_type =='1'}}">
|
||||
<view class="content-title">档案信息</view>
|
||||
<block wx:if="{{formSetObj['05'].residence_booklet.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">户口本复印件</view>
|
||||
<van-uploader file-list="{{photo.residenceBooklet}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].house_ownership.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">房产证</view>
|
||||
<van-uploader file-list="{{photo.phoneHouse}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].credit_certificate.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">信誉凭证</view>
|
||||
<van-uploader file-list="{{photo.creditCertificate}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bank_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">银行账户名称</view>
|
||||
<text>{{detailObj.bankName }}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bank_code.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">银行账号</view>
|
||||
<text>{{detailObj.bankCode}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].tss_bank_num_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">开户行</view>
|
||||
<text>{{detailObj.tssBankNumName }}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bank_card.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">银行卡照片</view>
|
||||
<van-uploader file-list="{{photo.bankCard}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<!-- 补充信息 -->
|
||||
<block wx:if="{{isComplement}}">
|
||||
<block wx:if="{{formSetObj['05'].bp_card_front.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">共签人身份证照片</view>
|
||||
<van-uploader file-list="{{photo.bpCardFront }}" bind:after-read="afteruploadPhotoRead" disabled disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
<van-uploader file-list="{{ photo.bpCardBack }}" bind:after-read="afteruploadPhotoRead" disabled disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-0.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bp_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">共签人名称</view>
|
||||
<text>{{detailObj.bpName}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bp_id_card.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">证件号码</view>
|
||||
<text>{{detailObj.bpIdCard}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bp_mobile.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">手机号</view>
|
||||
<text>{{detailObj.bpMobile}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bp_relation.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">共签人与业主关系</view>
|
||||
<text>{{detailObj.bpRelation}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bp_file.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">共签人子女证明材料</view>
|
||||
<van-uploader file-list="{{photo.bpFile }}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
<!-- 单位档案信息 -->
|
||||
<view class="content" wx:else>
|
||||
<view class="content-title">档案信息</view>
|
||||
<block wx:if="{{formSetObj['05'].resolution_paper_url.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">村民代表大会决议书</view>
|
||||
<van-uploader file-list="{{photo.resolutionPaperUrl}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].yszc_url.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">村委议事章程</view>
|
||||
<van-uploader file-list="{{photo.yszcUrl}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].account_info_url.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">对公账户信息</view>
|
||||
<van-uploader file-list="{{photo.accountInfoUrl}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].ownership_certificate_url.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">产权证明-集体土地使用证</view>
|
||||
<van-uploader file-list="{{photo.ownershipCertificateUrl}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].other_ownership_certificate_url.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">产权证明-不动产证书/查册证明/相关确权文件</view>
|
||||
<van-uploader file-list="{{photo.otherOwnershipCertificateUrl}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
<image src="../../img/id-card-1.png" class="id-card-img" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bank_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">银行账户名称</view>
|
||||
<text>{{detailObj.bankName }}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bank_code.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">银行账号</view>
|
||||
<text>{{detailObj.bankCode}}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].tss_bank_num_name.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">开户行</view>
|
||||
<text>{{detailObj.tssBankNumName }}</text>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{formSetObj['05'].bank_card.status =='1'}}">
|
||||
<view class="content-line"></view>
|
||||
<view class="content-list">
|
||||
<view class="content-title-item">银行卡照片</view>
|
||||
<van-uploader file-list="{{photo.bankCard}}" bind:after-read="afteruploadPhotoRead" disabled deletable="{{false}}" preview-size="150rpx" preview-image preview-full-image max-count="1">
|
||||
</van-uploader>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</block>
|
@ -0,0 +1,2 @@
|
||||
/* home/components/infor/infor.wxss */
|
||||
@import "../../pages/entryInfoDetails/entryInfoDetails";
|
@ -0,0 +1,34 @@
|
||||
// home/components/install/install.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
detailObj: Object,
|
||||
cagesList: Array,
|
||||
supportList: Array,
|
||||
converterList: Array,
|
||||
componentList: Array,
|
||||
nbqList: Array,
|
||||
zjMap: Object
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
},
|
||||
ready(){
|
||||
this.setData({
|
||||
capitalId: this.data.detailObj.management
|
||||
})
|
||||
// console.log(1212, this.data)
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
/* home/components/install/install.wxss */
|
||||
@import "../../pages/install/install";
|
@ -0,0 +1,43 @@
|
||||
// home/components/install/install.js
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
detailObj: Object,
|
||||
cagesList: Array,
|
||||
supportList: Array,
|
||||
converterList: Array,
|
||||
componentList: Array,
|
||||
productList: Array,
|
||||
// nbqList: Array,
|
||||
// zjMap: Object
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
tabIndex: '0',
|
||||
},
|
||||
ready(){
|
||||
this.setData({
|
||||
capitalId: this.data.detailObj.management,
|
||||
projectList: this.data.detailObj.projectList,
|
||||
})
|
||||
// console.log(1212, this.data)
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
//tab切换
|
||||
changeTab(e){
|
||||
let index = e.currentTarget.dataset.index
|
||||
this.setData({
|
||||
tabIndex: index
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
/* home/components/install/install.wxss */
|
||||
@import "../../pages/install/install";
|
||||
.detail-tab{display: flex; justify-content: space-between; height: 90rpx; border-bottom: 1px solid #f0f0f0; color: #666666; background-color: #FFF;}
|
||||
.detail-tab>view{flex: 1; text-align: center; line-height: 82rpx; font-size: 28rpx; position: relative;}
|
||||
.detail-tab>view.active{color: #333333; font-size: 32rpx;}
|
||||
.detail-tab>view .actived{width: 60rpx; height: 6rpx; background-color: #0a6597; border-radius: 3rpx; margin: 0 auto;}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
/* home/components/onGrid/onGrid.wxss */
|
||||
@import "../../pages/bwForm/bwForm.wxss";
|
||||
/** 文件上传样式 **/
|
||||
.txt-upload{flex: 1; color: blue; font-size: 24rpx; width: 100%;}
|
||||
.txt-upload-list{ display: flex; justify-content: space-between; margin:4rpx 0 20rpx;}
|
||||
.txt-upload-list text:first-child{flex: 1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
|
||||
.txt-upload-list text:last-child{width: 80rpx; margin-left: 20rpx;}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
@import "/home/pages/entryInfoAudit/entryInfoAudit.wxss";
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
@import "/home/pages/entryInfoAuditHR/entryInfoAuditHR.wxss";
|
||||
.detail-tab{display: flex; justify-content: space-between; height: 90rpx; border-bottom: 1px solid #f0f0f0; color: #666666;}
|
||||
.detail-tab>view{flex: 1; text-align: center; line-height: 82rpx; font-size: 28rpx; position: relative;}
|
||||
.detail-tab>view.active{color: #333333; font-size: 32rpx;}
|
||||
.detail-tab>view .actived{width: 60rpx; height: 6rpx; background-color: #0a6597; border-radius: 3rpx; margin: 0 auto;}
|
@ -0,0 +1,56 @@
|
||||
// home/components/userInfo/userInfo.js
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
detail: Object,
|
||||
type: String,
|
||||
recordShow:Boolean,
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
ready(){
|
||||
// console.log(1212, this.data)
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
/** 用户信息跳转 **/
|
||||
userFn(e){
|
||||
// console.log('用户信息跳转', e)
|
||||
wx.navigateTo({
|
||||
url: '/home/pages/ownerForm/ownerForm?projectId=' + this.data.detail.entry_id + '&type='+this.data.type,
|
||||
})
|
||||
},
|
||||
/** 拨打业主联系电话 **/
|
||||
phoneFn(e) {
|
||||
const phone = e.currentTarget.dataset.phone;
|
||||
if (!phone) {
|
||||
wx.showToast({
|
||||
title: '暂无联系方式',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: phone,
|
||||
})
|
||||
},
|
||||
//审批记录
|
||||
goRecord(e){
|
||||
wx.navigateTo({
|
||||
url: '/pages/appRecord/appRecord?entryId=' + this.data.detail.id + '&type='+this.data.type,
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
<!--home/components/userInfo/userInfo.wxml-->
|
||||
<view class="content">
|
||||
<view class="user-box">
|
||||
<view class="user-list" catchtap="userFn">
|
||||
<view class="bt">{{detail.tenant_name}}</view>
|
||||
<view class="bd">
|
||||
<text class="tag" wx:if="{{detail.tenant_type == '1'}}">个人</text>
|
||||
<text class="tag" wx:if="{{detail.tenant_type == '2'}}">单位</text>
|
||||
</view>
|
||||
<image src="../../img/arrow.png" class="content-img-right" />
|
||||
</view>
|
||||
<view class="user-list">
|
||||
<view class="bt">联系电话</view>
|
||||
<view class="bd">{{detail.mobile}}</view>
|
||||
<view class="tel" catchtap="phoneFn" data-phone="{{detail.mobile}}">
|
||||
<image src="../../img/tel.png" />
|
||||
拨打
|
||||
</view>
|
||||
</view>
|
||||
<view class="user-list" wx:if="{{detail.tenant_type == '1'}}">
|
||||
<view class="bt">身份证号</view>
|
||||
<view class="bd">{{detail.id_code}}</view>
|
||||
<view bind:tap="goRecord" class="record-btn">审批记录</view>
|
||||
</view>
|
||||
<view class="user-list" wx:if="{{detail.tenant_type == '2'}}">
|
||||
<view class="bt">统一信用代码</view>
|
||||
<view class="bd">{{detail.regno}}</view>
|
||||
<view bind:tap="goRecord" class="record-btn">审批记录</view>
|
||||
</view>
|
||||
<!-- <view class="user-list" style="align-items: flex-start;">
|
||||
<view class="bt">安装地址</view>
|
||||
<view class="bd">{{detail.province}}{{detail.city}}{{detail.area}}{{detail.address}}</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="content-list" wx:if="{{detail.auditType>0}}">
|
||||
<view class="content-title-item txt-red" wx:if="{{detail.auditType=='1'}}">设计自审驳回</view>
|
||||
<view class="content-title-item txt-red" wx:if="{{detail.auditType=='2'}}">设计审核驳回</view>
|
||||
<view class="content-title-item txt-red" wx:if="{{detail.auditType=='3'}}">安装验收驳回</view>
|
||||
<view class="content-title-item txt-red" wx:if="{{detail.auditType=='4'}}">并网验收驳回</view>
|
||||
<text class="txt-red">{{detail.auditRemark}}</text>
|
||||
</view>
|
||||
</view>
|
@ -0,0 +1,4 @@
|
||||
/* home/components/userInfo/userInfo.wxss */
|
||||
@import "../../pages/completion/completion";
|
||||
.txt-red{ color: #FF0000;}
|
||||
.record-btn{ border: 1px solid #0a6597; color: #0a6597; border-radius: 30rpx; padding: 5rpx 15rpx; font-size: 24rpx;}
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 498 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 503 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 649 B |
After Width: | Height: | Size: 583 B |
After Width: | Height: | Size: 648 B |
After Width: | Height: | Size: 540 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 735 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.5 KiB |