Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
G
GangShi-un2
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
黄旭新
GangShi-un2
Commits
48b1848b
提交
48b1848b
authored
4月 26, 2021
作者:
黄旭新
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xin
上级
b24c9ec7
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
27 行增加
和
23 行删除
+27
-23
myInfo.vue
pages/myInfo/myInfo.vue
+2
-2
Enquiry.vue
pagesA/enquiry/Enquiry.vue
+2
-2
Particulars.vue
pagesA/enquiry/Particulars.vue
+3
-1
myInfo.js
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.js
+1
-1
myInfo.wxml
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxml
+1
-1
myInfo.wxss
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxss
+2
-2
Enquiry.js
unpackage/dist/build/mp-weixin/pagesA/enquiry/Enquiry.js
+1
-1
Enquiry.wxml
unpackage/dist/build/mp-weixin/pagesA/enquiry/Enquiry.wxml
+1
-1
Particulars.js
unpackage/dist/build/mp-weixin/pagesA/enquiry/Particulars.js
+1
-1
Particulars.wxml
...kage/dist/build/mp-weixin/pagesA/enquiry/Particulars.wxml
+1
-1
Particulars.wxss
...kage/dist/build/mp-weixin/pagesA/enquiry/Particulars.wxss
+1
-1
myInfo.js.map
.../dist/dev/.sourcemap/mp-weixin/pages/myInfo/myInfo.js.map
+1
-1
Demand.js.map
...ist/dev/.sourcemap/mp-weixin/pagesA/enquiry/Demand.js.map
+1
-1
Enquiry.js.map
...st/dev/.sourcemap/mp-weixin/pagesA/enquiry/Enquiry.js.map
+1
-1
Particulars.js.map
...ev/.sourcemap/mp-weixin/pagesA/enquiry/Particulars.js.map
+1
-1
myInfo.wxss
unpackage/dist/dev/mp-weixin/pages/myInfo/myInfo.wxss
+2
-1
Enquiry.wxml
unpackage/dist/dev/mp-weixin/pagesA/enquiry/Enquiry.wxml
+1
-1
Particulars.js
unpackage/dist/dev/mp-weixin/pagesA/enquiry/Particulars.js
+3
-2
Particulars.wxml
unpackage/dist/dev/mp-weixin/pagesA/enquiry/Particulars.wxml
+1
-1
没有找到文件。
pages/myInfo/myInfo.vue
浏览文件 @
48b1848b
...
...
@@ -1040,8 +1040,8 @@
.myInfo
{
padding
:
32rpx
;
margin-bottom
:
12
0rpx
;
padding-bottom
:
18
0rpx
;
background
:
#F5F5F5
;
.banner
{
swiper
{
height
:
196rpx
;
...
...
pagesA/enquiry/Enquiry.vue
浏览文件 @
48b1848b
...
...
@@ -23,11 +23,11 @@
v-else
>
{{
i
.
ename
}}
</text></view>
<view
class=
"item_conclude_price"
v-if=
"i.contractSpread!=''&&i.contractSpread!=null"
>
意向差价:
<text
v-if=
"i.contractSpread==''"
>
无
</text><text
v-else
>
{{
i
.
contractSpread
}}
厘
</text></view>
<view
class=
"item_between_price"
v-if=
"i.shareRatio!=''&&i.shareRatio!=null"
>
意向分成比例
(%)
:
<text
<view
class=
"item_between_price"
v-if=
"i.shareRatio!=''&&i.shareRatio!=null"
>
意向分成比例:
<text
v-if=
"i.intermediateSpread==''"
>
无
</text><text
v-else
>
{{
i
.
shareRatio
}}
%
</text></view>
<view
class=
"item_between_price"
v-if=
"type==2"
>
居间差价:
<text
v-if=
"i.intermediateSpread==''"
>
无
</text><text
v-else
>
{{
i
.
intermediateSpread
}}
厘
</text></view>
<view
class=
"item_status"
v-if=
"i.status==1||i.status==9||i.status==11||i.status==13"
>
审核中
</view>
<view
class=
"item_status"
v-if=
"i.status==1||i.status==9||i.status==11||i.status==13"
>
审核中
</view>
<view
class=
"item_status"
v-if=
"i.status==2||i.status==10||i.status==12||i.status==14"
>
审核不通过
</view>
<view
class=
"item_status"
v-if=
"i.status==5"
>
待上传合同
</view>
<view
class=
"item_status"
v-if=
"i.status==3"
>
待确认合同
</view>
...
...
pagesA/enquiry/Particulars.vue
浏览文件 @
48b1848b
...
...
@@ -9,7 +9,7 @@
<view
class=
"basic_info common_box"
>
<view
v-if=
"messages.contractSpread!=null"
>
意向价差:
{{
messages
.
contractSpread
}}
</view>
<view
v-if=
"messages.shareRatio!=null"
>
意向分成比例(%):
{{
messages
.
shareRatio
}}
</view>
<view
v-if=
"
userType!=5
"
>
居间价差:
{{
messages
.
intermediateSpread
}}
</view>
<view
v-if=
"
type==2
"
>
居间价差:
{{
messages
.
intermediateSpread
}}
</view>
<view>
用电年份:
{{
messages
.
year
}}
</view>
<view
class=
"df_block"
>
企业电费通知单:
<view
class=
"dftzd_img"
style=
"height: auto;"
>
...
...
@@ -102,11 +102,13 @@
status
:
''
,
messages
:
''
,
userType
:
'0'
,
//企业类型
type
:
''
,
//用户类型
}
},
created
()
{
let
that
=
this
let
type
=
uni
.
getStorageSync
(
'type'
)
// type - 用户类型(1: 企业, 2: 电客)
that
.
type
=
type
let
user
=
uni
.
getStorageSync
(
'user'
)
if
(
type
==
1
)
{
// userType - 企业类型(1:游客;2:存量企业;3:普通会员;4:中级会员;5:高级会员)
...
...
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.js
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxml
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/build/mp-weixin/pages/myInfo/myInfo.wxss
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/build/mp-weixin/pagesA/enquiry/Enquiry.js
浏览文件 @
48b1848b
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/enquiry/Enquiry"
],{
1877
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"7226"
),
r
=
n
.
n
(
a
);
for
(
var
u
in
a
)
"default"
!==
u
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
u
);
t
[
"default"
]
=
r
.
a
},
7226
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
"86df"
),
r
=
u
(
n
(
"9036"
));
function
u
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
data
:
function
(){
return
{
userId
:
""
,
type
:
""
,
userType
:
"0"
,
areaStatus
:
"-1"
,
araeShow
:
!
1
,
options
:[],
options1
:[{
status
:
1
,
value
:
"审核中"
},{
status
:
2
,
value
:
"审核不通过"
},{
status
:
3
,
value
:
"待确认合同"
},{
status
:
7
,
value
:
"合同审核中"
},{
status
:
8
,
value
:
"合同审核不通过"
},{
status
:
6
,
value
:
"已取消"
},{
status
:
4
,
value
:
"已完成"
}],
options2
:[{
status
:
1
,
value
:
"审核中"
},{
status
:
2
,
value
:
"审核不通过"
},{
status
:
4
,
value
:
"已完成"
}],
areaValue
:
""
,
enquirydata
:[],
remainder
:[],
remaindering
:[],
setIntervaltimerEnquiry
:
""
}},
created
:
function
(){
var
t
=
this
;
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
n
=
e
.
getStorageSync
(
"user"
);
if
(
!
n
){
e
.
showToast
({
title
:
"未登录,请先登录"
,
icon
:
"none"
});
var
u
=
setTimeout
((
function
(){
e
.
reLaunch
({
url
:
"/pages/login/login"
}),
clearTimeout
(
u
)}),
800
);
return
!
1
}
1
==
t
.
type
?(
t
.
userId
=
n
.
enterpriseId
,
t
.
userType
=
n
.
userType
,
console
.
log
(
"userType:"
+
t
.
userType
),
5
==
t
.
userType
?
t
.
options
=
t
.
options2
:
t
.
options
=
t
.
options1
):(
t
.
options
=
t
.
options1
,
t
.
userId
=
n
.
electricId
),(
0
,
a
.
get
)(
r
.
default
.
independentInquiryList
,{
type
:
t
.
type
,
userId
:
t
.
userId
}).
then
((
function
(
e
){
console
.
log
(
e
),
200
==
e
.
code
&&
(
t
.
enquirydata
=
e
.
data
,
t
.
enquirydata
.
map
((
function
(
e
,
n
){
if
(
5
==
e
.
status
&&
null
!=
e
.
uploadContractCountdown
){
var
r
=
e
.
uploadContractCountdown
.
replace
(
/-/g
,
"/"
),
u
=
r
.
split
(
" "
)[
0
],
i
=
r
.
split
(
" "
)[
1
],
o
=
u
.
split
(
"/"
),
s
=
i
.
split
(
":"
),
l
=
s
[
0
];
console
.
log
(
l
.
length
),
2
==
l
.
length
&&
0
==
l
.
indexOf
(
"0"
)
&&
(
l
=
l
.
slice
(
1
));
var
c
=
Number
(
l
)
+
e
.
autoCancel
;
if
(
c
>=
24
){
var
d
=
parseInt
(
c
/
24
);
if
(
d
>
1
){
var
f
=
c
-
24
*
d
;
f
<
10
&&
(
f
=
"0"
+
f
),
r
=
(
0
,
a
.
transferCouponValueTime
)(
r
,
d
)
+
" "
+
f
+
":"
+
s
[
1
]
+
":"
+
s
[
2
]}
else
{
var
p
=
c
-
24
;
p
<
10
&&
(
p
=
"0"
+
p
),
r
=
o
[
0
]
+
"/"
+
o
[
1
]
+
"/"
+
(
Number
(
o
[
2
])
+
1
)
+
" "
+
p
+
":"
+
s
[
1
]
+
":"
+
s
[
2
]}}
else
r
=
u
+
" "
+
c
+
":"
+
s
[
1
]
+
":"
+
s
[
2
];
console
.
log
(
r
),
t
.
remainder
.
push
((
0
,
a
.
getDuration
)(
new
Date
(
r
).
getTime
()
-
(
new
Date
).
getTime
())),
t
.
remaindering
.
push
(
new
Date
(
r
).
getTime
()
-
(
new
Date
).
getTime
())}
else
t
.
remainder
.
push
(
0
),
t
.
remaindering
.
push
(
0
)})),
t
.
setIntervaltimerEnquiry
=
setInterval
((
function
(){
t
.
remaindering
.
map
((
function
(
e
,
n
){
t
.
remaindering
[
n
]
>
0
&&
(
t
.
remaindering
[
n
]
-=
1
e3
,
t
.
remainder
[
n
]
=
(
0
,
a
.
getDuration
)(
t
.
remaindering
[
n
]))})),
t
.
$forceUpdate
()}),
1
e3
))}))},
methods
:{
getArea
:
function
(
e
,
t
){
this
.
areaStatus
=
e
,
this
.
areaValue
=
this
.
options
[
t
].
value
,
console
.
log
(
this
.
areaValue
),
this
.
araeShow
=!
1
},
toParticulars
:
function
(
t
,
n
){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Particulars?id="
+
t
+
"&status="
+
n
})},
linktoContracts
:
function
(
t
,
n
){
e
.
navigateTo
({
url
:
"/pagesA/Contracts/contract/contract?inquiryId="
+
t
+
"&year="
+
n
})},
toDemand
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Demand"
})}}};
t
.
default
=
i
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
7269
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
t
=
a
(
n
(
"9d34"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
7520
:
function
(
e
,
t
,
n
){},
"97ca"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"7520"
),
r
=
n
.
n
(
a
);
r
.
a
},
"9d34"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"d016"
),
r
=
n
(
"1877"
);
for
(
var
u
in
r
)
"default"
!==
u
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
u
);
n
(
"97ca"
);
var
i
,
o
=
n
(
"f0c5"
),
s
=
Object
(
o
[
"a"
])(
r
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
i
);
t
[
"default"
]
=
s
.
exports
},
d016
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
;
n
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
u
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
;
e
.
_isMounted
||
(
e
.
e0
=
function
(
t
){
e
.
araeShow
=!
e
.
araeShow
})},
u
=
[]}},[[
"7269"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/enquiry/Enquiry"
],{
1877
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"7226"
),
r
=
n
.
n
(
a
);
for
(
var
u
in
a
)
"default"
!==
u
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
u
);
t
[
"default"
]
=
r
.
a
},
"1a5a"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
;
n
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
u
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
;
e
.
_isMounted
||
(
e
.
e0
=
function
(
t
){
e
.
araeShow
=!
e
.
araeShow
})},
u
=
[]},
7226
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
"86df"
),
r
=
u
(
n
(
"9036"
));
function
u
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
data
:
function
(){
return
{
userId
:
""
,
type
:
""
,
userType
:
"0"
,
areaStatus
:
"-1"
,
araeShow
:
!
1
,
options
:[],
options1
:[{
status
:
1
,
value
:
"审核中"
},{
status
:
2
,
value
:
"审核不通过"
},{
status
:
3
,
value
:
"待确认合同"
},{
status
:
7
,
value
:
"合同审核中"
},{
status
:
8
,
value
:
"合同审核不通过"
},{
status
:
6
,
value
:
"已取消"
},{
status
:
4
,
value
:
"已完成"
}],
options2
:[{
status
:
1
,
value
:
"审核中"
},{
status
:
2
,
value
:
"审核不通过"
},{
status
:
4
,
value
:
"已完成"
}],
areaValue
:
""
,
enquirydata
:[],
remainder
:[],
remaindering
:[],
setIntervaltimerEnquiry
:
""
}},
created
:
function
(){
var
t
=
this
;
t
.
type
=
e
.
getStorageSync
(
"type"
);
var
n
=
e
.
getStorageSync
(
"user"
);
if
(
!
n
){
e
.
showToast
({
title
:
"未登录,请先登录"
,
icon
:
"none"
});
var
u
=
setTimeout
((
function
(){
e
.
reLaunch
({
url
:
"/pages/login/login"
}),
clearTimeout
(
u
)}),
800
);
return
!
1
}
1
==
t
.
type
?(
t
.
userId
=
n
.
enterpriseId
,
t
.
userType
=
n
.
userType
,
console
.
log
(
"userType:"
+
t
.
userType
),
5
==
t
.
userType
?
t
.
options
=
t
.
options2
:
t
.
options
=
t
.
options1
):(
t
.
options
=
t
.
options1
,
t
.
userId
=
n
.
electricId
),(
0
,
a
.
get
)(
r
.
default
.
independentInquiryList
,{
type
:
t
.
type
,
userId
:
t
.
userId
}).
then
((
function
(
e
){
console
.
log
(
e
),
200
==
e
.
code
&&
(
t
.
enquirydata
=
e
.
data
,
t
.
enquirydata
.
map
((
function
(
e
,
n
){
if
(
5
==
e
.
status
&&
null
!=
e
.
uploadContractCountdown
){
var
r
=
e
.
uploadContractCountdown
.
replace
(
/-/g
,
"/"
),
u
=
r
.
split
(
" "
)[
0
],
i
=
r
.
split
(
" "
)[
1
],
o
=
u
.
split
(
"/"
),
s
=
i
.
split
(
":"
),
l
=
s
[
0
];
console
.
log
(
l
.
length
),
2
==
l
.
length
&&
0
==
l
.
indexOf
(
"0"
)
&&
(
l
=
l
.
slice
(
1
));
var
c
=
Number
(
l
)
+
e
.
autoCancel
;
if
(
c
>=
24
){
var
d
=
parseInt
(
c
/
24
);
if
(
d
>
1
){
var
f
=
c
-
24
*
d
;
f
<
10
&&
(
f
=
"0"
+
f
),
r
=
(
0
,
a
.
transferCouponValueTime
)(
r
,
d
)
+
" "
+
f
+
":"
+
s
[
1
]
+
":"
+
s
[
2
]}
else
{
var
p
=
c
-
24
;
p
<
10
&&
(
p
=
"0"
+
p
),
r
=
o
[
0
]
+
"/"
+
o
[
1
]
+
"/"
+
(
Number
(
o
[
2
])
+
1
)
+
" "
+
p
+
":"
+
s
[
1
]
+
":"
+
s
[
2
]}}
else
r
=
u
+
" "
+
c
+
":"
+
s
[
1
]
+
":"
+
s
[
2
];
console
.
log
(
r
),
t
.
remainder
.
push
((
0
,
a
.
getDuration
)(
new
Date
(
r
).
getTime
()
-
(
new
Date
).
getTime
())),
t
.
remaindering
.
push
(
new
Date
(
r
).
getTime
()
-
(
new
Date
).
getTime
())}
else
t
.
remainder
.
push
(
0
),
t
.
remaindering
.
push
(
0
)})),
t
.
setIntervaltimerEnquiry
=
setInterval
((
function
(){
t
.
remaindering
.
map
((
function
(
e
,
n
){
t
.
remaindering
[
n
]
>
0
&&
(
t
.
remaindering
[
n
]
-=
1
e3
,
t
.
remainder
[
n
]
=
(
0
,
a
.
getDuration
)(
t
.
remaindering
[
n
]))})),
t
.
$forceUpdate
()}),
1
e3
))}))},
methods
:{
getArea
:
function
(
e
,
t
){
this
.
areaStatus
=
e
,
this
.
areaValue
=
this
.
options
[
t
].
value
,
console
.
log
(
this
.
areaValue
),
this
.
araeShow
=!
1
},
toParticulars
:
function
(
t
,
n
){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Particulars?id="
+
t
+
"&status="
+
n
})},
linktoContracts
:
function
(
t
,
n
){
e
.
navigateTo
({
url
:
"/pagesA/Contracts/contract/contract?inquiryId="
+
t
+
"&year="
+
n
})},
toDemand
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/enquiry/Demand"
})}}};
t
.
default
=
i
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
7269
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
a
(
n
(
"66fd"
));
var
t
=
a
(
n
(
"9d34"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
7520
:
function
(
e
,
t
,
n
){},
"97ca"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"7520"
),
r
=
n
.
n
(
a
);
r
.
a
},
"9d34"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
a
=
n
(
"1a5a"
),
r
=
n
(
"1877"
);
for
(
var
u
in
r
)
"default"
!==
u
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
u
);
n
(
"97ca"
);
var
i
,
o
=
n
(
"f0c5"
),
s
=
Object
(
o
[
"a"
])(
r
[
"default"
],
a
[
"b"
],
a
[
"c"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"a"
],
i
);
t
[
"default"
]
=
s
.
exports
}},[[
"7269"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/enquiry/Enquiry.wxml
浏览文件 @
48b1848b
<view class="enquiry"><view class="enquiry_select"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="area" bindtap="__e"><block wx:if="{{areaValue==''}}"><text>状态</text></block><block wx:if="{{areaValue!=''}}"><text>{{areaValue}}</text></block><image class="{{[(araeShow)?'area_active':'']}}" src="../../static/images/xia.png" mode></image></view><block wx:if="{{araeShow}}"><view class="araeShow"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getArea',['$0',index],[[['options','',index,'status']]]]]]]}}" class="select_item" bindtap="__e">{{''+item.value+''}}</view></block></view></block></view><view class="enquiry_list"><block wx:for="{{enquirydata}}" wx:for-item="i" wx:for-index="index" wx:key="index"><block wx:if="{{areaStatus<0||areaStatus==i.status||areaStatus==1&&(i.status==1||i.status==9||i.status==11||i.status==13)||areaStatus==2&&(i.status==2||i.status==10||i.status==12||i.status==14)}}"><view class="enquiry_item"><view class="padding_box"><view class="item_company">售电公司:<block wx:if="{{i.ename==''||i.ename==null}}"><text>无</text></block><block wx:else><text>{{i.ename}}</text></block></view><block wx:if="{{i.contractSpread!=''&&i.contractSpread!=null}}"><view class="item_conclude_price">意向差价:<block wx:if="{{i.contractSpread==''}}"><text>无</text></block><block wx:else><text>{{i.contractSpread+"厘"}}</text></block></view></block><block wx:if="{{i.shareRatio!=''&&i.shareRatio!=null}}"><view class="item_between_price">意向分成比例(%):<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.shareRatio+"%"}}</text></block></view></block><block wx:if="{{type==2}}"><view class="item_between_price">居间差价:<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.intermediateSpread+"厘"}}</text></block></view></block><block wx:if="{{i.status==1||i.status==9||i.status==11||i.status==13}}"><view class="item_status">审核中</view></block><block wx:if="{{i.status==2||i.status==10||i.status==12||i.status==14}}"><view class="item_status">审核不通过</view></block><block wx:if="{{i.status==5}}"><view class="item_status">待上传合同</view></block><block wx:if="{{i.status==3}}"><view class="item_status">待确认合同</view></block><block wx:if="{{i.status==7}}"><view class="item_status">合同审核中</view></block><block wx:if="{{i.status==8}}"><view class="item_status">合同审核不通过</view></block><block wx:if="{{i.status==6}}"><view class="item_status">已取消</view></block><block wx:if="{{i.status==4}}"><view class="item_status">已完成</view></block></view><view class="hexian"></view><view class="particulars"><block wx:if="{{i.status==5&&remainder[index]!=0}}"><text class="item_count">{{"上传倒计时:\n\t\t\t\t\t"+(remainder[index]!=0?remainder[index]:'已结束')}}</text></block><view class="particulars_btns"><block wx:if="{{i.status==5}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">选择合同</view></block><block wx:if="{{i.status==8}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">重新选择合同</view></block><view data-event-opts="{{[['tap',[['toParticulars',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'status']]]]]]]}}" bindtap="__e">查看详情</view></view></view></view></block></block></view><view class="button_box"><view class="button_block"><button type="default" data-event-opts="{{[['tap',[['toDemand',['$event']]]]]}}" bindtap="__e">发布需求</button></view></view></view>
\ No newline at end of file
<view class="enquiry"><view class="enquiry_select"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="area" bindtap="__e"><block wx:if="{{areaValue==''}}"><text>状态</text></block><block wx:if="{{areaValue!=''}}"><text>{{areaValue}}</text></block><image class="{{[(araeShow)?'area_active':'']}}" src="../../static/images/xia.png" mode></image></view><block wx:if="{{araeShow}}"><view class="araeShow"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getArea',['$0',index],[[['options','',index,'status']]]]]]]}}" class="select_item" bindtap="__e">{{''+item.value+''}}</view></block></view></block></view><view class="enquiry_list"><block wx:for="{{enquirydata}}" wx:for-item="i" wx:for-index="index" wx:key="index"><block wx:if="{{areaStatus<0||areaStatus==i.status||areaStatus==1&&(i.status==1||i.status==9||i.status==11||i.status==13)||areaStatus==2&&(i.status==2||i.status==10||i.status==12||i.status==14)}}"><view class="enquiry_item"><view class="padding_box"><view class="item_company">售电公司:<block wx:if="{{i.ename==''||i.ename==null}}"><text>无</text></block><block wx:else><text>{{i.ename}}</text></block></view><block wx:if="{{i.contractSpread!=''&&i.contractSpread!=null}}"><view class="item_conclude_price">意向差价:<block wx:if="{{i.contractSpread==''}}"><text>无</text></block><block wx:else><text>{{i.contractSpread+"厘"}}</text></block></view></block><block wx:if="{{i.shareRatio!=''&&i.shareRatio!=null}}"><view class="item_between_price">意向分成比例:<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.shareRatio+"%"}}</text></block></view></block><block wx:if="{{type==2}}"><view class="item_between_price">居间差价:<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.intermediateSpread+"厘"}}</text></block></view></block><block wx:if="{{i.status==1||i.status==9||i.status==11||i.status==13}}"><view class="item_status">审核中</view></block><block wx:if="{{i.status==2||i.status==10||i.status==12||i.status==14}}"><view class="item_status">审核不通过</view></block><block wx:if="{{i.status==5}}"><view class="item_status">待上传合同</view></block><block wx:if="{{i.status==3}}"><view class="item_status">待确认合同</view></block><block wx:if="{{i.status==7}}"><view class="item_status">合同审核中</view></block><block wx:if="{{i.status==8}}"><view class="item_status">合同审核不通过</view></block><block wx:if="{{i.status==6}}"><view class="item_status">已取消</view></block><block wx:if="{{i.status==4}}"><view class="item_status">已完成</view></block></view><view class="hexian"></view><view class="particulars"><block wx:if="{{i.status==5&&remainder[index]!=0}}"><text class="item_count">{{"上传倒计时:\n\t\t\t\t\t"+(remainder[index]!=0?remainder[index]:'已结束')}}</text></block><view class="particulars_btns"><block wx:if="{{i.status==5}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">选择合同</view></block><block wx:if="{{i.status==8}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">重新选择合同</view></block><view data-event-opts="{{[['tap',[['toParticulars',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'status']]]]]]]}}" bindtap="__e">查看详情</view></view></view></view></block></block></view><view class="button_box"><view class="button_block"><button type="default" data-event-opts="{{[['tap',[['toDemand',['$event']]]]]}}" bindtap="__e">发布需求</button></view></view></view>
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/enquiry/Particulars.js
浏览文件 @
48b1848b
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/enquiry/Particulars"
],{
"4f6c"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
u
=
n
(
"86df"
),
i
=
a
(
n
(
"9036"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
data
:
function
(){
return
{
status
:
""
,
messages
:
""
,
userType
:
"0"
}},
created
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"type"
),
u
=
e
.
getStorageSync
(
"user"
);
1
==
n
&&
(
t
.
userType
=
u
.
userType
,
console
.
log
(
"userType:"
+
t
.
userType
))},
onLoad
:
function
(
e
){
var
t
=
this
;
this
.
status
=
e
.
status
,
console
.
log
(
this
.
status
),(
0
,
u
.
get
)(
i
.
default
.
independentInquiryDetails
,{
id
:
e
.
id
}).
then
((
function
(
e
){
200
==
e
.
code
&&
(
t
.
messages
=
e
.
data
,
t
.
messages
.
enterpriseElectricityNoticeBill
=
JSON
.
parse
(
t
.
messages
.
enterpriseElectricityNoticeBill
))}))},
methods
:{
previewImage
:
function
(
t
){
e
.
previewImage
({
urls
:[
t
]})},
checkFile
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/Contracts/attachment/attachment"
}),
console
.
log
(
"查看pdf文件"
)}}};
t
.
default
=
r
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"5aab"
:
function
(
e
,
t
,
n
){},
"727b"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
u
(
n
(
"66fd"
));
var
t
=
u
(
n
(
"78bf"
));
function
u
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
"78bf"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
u
=
n
(
"90dc"
),
i
=
n
(
"b371"
);
for
(
var
a
in
i
)
"default"
!==
a
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
a
);
n
(
"b3b1"
);
var
r
,
c
=
n
(
"f0c5"
),
s
=
Object
(
c
[
"a"
])(
i
[
"default"
],
u
[
"b"
],
u
[
"c"
],
!
1
,
null
,
"e67a36b4"
,
null
,
!
1
,
u
[
"a"
],
r
);
t
[
"default"
]
=
s
.
exports
},
"90dc"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"b"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
u
}));
var
u
=
{
uTimeLine
:
function
(){
return
n
.
e
(
"uview-ui/components/u-time-line/u-time-line"
).
then
(
n
.
bind
(
null
,
"aef7"
))},
uTimeLineItem
:
function
(){
return
n
.
e
(
"uview-ui/components/u-time-line-item/u-time-line-item"
).
then
(
n
.
bind
(
null
,
"bf7a"
))}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
a
=
[]},
b371
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
u
=
n
(
"4f6c"
),
i
=
n
.
n
(
u
);
for
(
var
a
in
u
)
"default"
!==
a
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
u
[
e
]}))}(
a
);
t
[
"default"
]
=
i
.
a
},
b3b1
:
function
(
e
,
t
,
n
){
"use strict"
;
var
u
=
n
(
"5aab"
),
i
=
n
.
n
(
u
);
i
.
a
}},[[
"727b"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
(
global
[
"webpackJsonp"
]
=
global
[
"webpackJsonp"
]
||
[]).
push
([[
"pagesA/enquiry/Particulars"
],{
"4a7a"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
u
=
n
(
"59ff"
),
i
=
n
.
n
(
u
);
i
.
a
},
"4f6c"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
u
=
n
(
"86df"
),
i
=
a
(
n
(
"9036"
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
r
=
{
data
:
function
(){
return
{
status
:
""
,
messages
:
""
,
userType
:
"0"
,
type
:
""
}},
created
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"type"
);
t
.
type
=
n
;
var
u
=
e
.
getStorageSync
(
"user"
);
1
==
n
&&
(
t
.
userType
=
u
.
userType
,
console
.
log
(
"userType:"
+
t
.
userType
))},
onLoad
:
function
(
e
){
var
t
=
this
;
this
.
status
=
e
.
status
,
console
.
log
(
this
.
status
),(
0
,
u
.
get
)(
i
.
default
.
independentInquiryDetails
,{
id
:
e
.
id
}).
then
((
function
(
e
){
200
==
e
.
code
&&
(
t
.
messages
=
e
.
data
,
t
.
messages
.
enterpriseElectricityNoticeBill
=
JSON
.
parse
(
t
.
messages
.
enterpriseElectricityNoticeBill
))}))},
methods
:{
previewImage
:
function
(
t
){
e
.
previewImage
({
urls
:[
t
]})},
checkFile
:
function
(){
e
.
navigateTo
({
url
:
"/pagesA/Contracts/attachment/attachment"
}),
console
.
log
(
"查看pdf文件"
)}}};
t
.
default
=
r
}).
call
(
this
,
n
(
"543d"
)[
"default"
])},
"59ff"
:
function
(
e
,
t
,
n
){},
"727b"
:
function
(
e
,
t
,
n
){
"use strict"
;(
function
(
e
){
n
(
"78ef"
);
u
(
n
(
"66fd"
));
var
t
=
u
(
n
(
"78bf"
));
function
u
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
e
(
t
.
default
)}).
call
(
this
,
n
(
"543d"
)[
"createPage"
])},
"78bf"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
u
=
n
(
"7c13"
),
i
=
n
(
"b371"
);
for
(
var
a
in
i
)
"default"
!==
a
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
a
);
n
(
"4a7a"
);
var
r
,
c
=
n
(
"f0c5"
),
s
=
Object
(
c
[
"a"
])(
i
[
"default"
],
u
[
"b"
],
u
[
"c"
],
!
1
,
null
,
"44254616"
,
null
,
!
1
,
u
[
"a"
],
r
);
t
[
"default"
]
=
s
.
exports
},
"7c13"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"b"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
u
}));
var
u
=
{
uTimeLine
:
function
(){
return
n
.
e
(
"uview-ui/components/u-time-line/u-time-line"
).
then
(
n
.
bind
(
null
,
"aef7"
))},
uTimeLineItem
:
function
(){
return
n
.
e
(
"uview-ui/components/u-time-line-item/u-time-line-item"
).
then
(
n
.
bind
(
null
,
"bf7a"
))}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
;
e
.
_self
.
_c
},
a
=
[]},
b371
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
u
=
n
(
"4f6c"
),
i
=
n
.
n
(
u
);
for
(
var
a
in
u
)
"default"
!==
a
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
u
[
e
]}))}(
a
);
t
[
"default"
]
=
i
.
a
}},[[
"727b"
,
"common/runtime"
,
"common/vendor"
]]]);
\ No newline at end of file
unpackage/dist/build/mp-weixin/pagesA/enquiry/Particulars.wxml
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/build/mp-weixin/pagesA/enquiry/Particulars.wxss
浏览文件 @
48b1848b
.particulars.data-v-e67a36b4{padding-top:32rpx;width:100%;min-height:100%;background-color:#f4f5f7;padding-bottom:100rpx}.particulars .block.data-v-e67a36b4{width:100%;background-color:#fff;padding:0 32rpx 32rpx 32rpx;margin-bottom:16rpx}.particulars .block .u-order-title.data-v-e67a36b4{font-size:28rpx;color:#333}.particulars .block .u-order-desc.data-v-e67a36b4{font-size:24rpx;color:#999}.particulars .block .u-dot.data-v-e67a36b4{background-color:#1989fa}.particulars .block .u-node.data-v-e67a36b4{width:16rpx;height:16rpx;-webkit-border-radius:50%;border-radius:50%}.particulars .particulars_title.data-v-e67a36b4{height:90rpx;line-height:90rpx;font-size:32rpx}.particulars .common_box.data-v-e67a36b4{padding:0 32rpx;background-color:#f4f5f7}.particulars .common_box view.data-v-e67a36b4{min-height:60rpx;line-height:60rpx;font-size:28rpx;color:#333;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.particulars .common_box view text.data-v-e67a36b4{color:#1989fa}.particulars .common_box view image.data-v-e67a36b4{width:80rpx;height:80rpx;-webkit-border-radius:4px;border-radius:4px;vertical-align:top;margin-left:20rpx}.particulars .common_box .df_block .dftzd_img.data-v-e67a36b4{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap;width:60%}.particulars .common_box .df_block .dftzd_img image.data-v-e67a36b4{margin-right:10rpx;margin-left:0;margin-bottom:10rpx}
\ No newline at end of file
.particulars.data-v-44254616{padding-top:32rpx;width:100%;min-height:100%;background-color:#f4f5f7;padding-bottom:100rpx}.particulars .block.data-v-44254616{width:100%;background-color:#fff;padding:0 32rpx 32rpx 32rpx;margin-bottom:16rpx}.particulars .block .u-order-title.data-v-44254616{font-size:28rpx;color:#333}.particulars .block .u-order-desc.data-v-44254616{font-size:24rpx;color:#999}.particulars .block .u-dot.data-v-44254616{background-color:#1989fa}.particulars .block .u-node.data-v-44254616{width:16rpx;height:16rpx;-webkit-border-radius:50%;border-radius:50%}.particulars .particulars_title.data-v-44254616{height:90rpx;line-height:90rpx;font-size:32rpx}.particulars .common_box.data-v-44254616{padding:0 32rpx;background-color:#f4f5f7}.particulars .common_box view.data-v-44254616{min-height:60rpx;line-height:60rpx;font-size:28rpx;color:#333;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.particulars .common_box view text.data-v-44254616{color:#1989fa}.particulars .common_box view image.data-v-44254616{width:80rpx;height:80rpx;-webkit-border-radius:4px;border-radius:4px;vertical-align:top;margin-left:20rpx}.particulars .common_box .df_block .dftzd_img.data-v-44254616{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap;width:60%}.particulars .common_box .df_block .dftzd_img image.data-v-44254616{margin-right:10rpx;margin-left:0;margin-bottom:10rpx}
\ No newline at end of file
unpackage/dist/dev/.sourcemap/mp-weixin/pages/myInfo/myInfo.js.map
浏览文件 @
48b1848b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/enquiry/Demand.js.map
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/enquiry/Enquiry.js.map
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/enquiry/Particulars.js.map
浏览文件 @
48b1848b
差异被折叠。
点击展开。
unpackage/dist/dev/mp-weixin/pages/myInfo/myInfo.wxss
浏览文件 @
48b1848b
...
...
@@ -167,7 +167,8 @@ page.data-v-661f7086 {
}
.myInfo.data-v-661f7086 {
padding: 32rpx;
margin-bottom: 120rpx;
padding-bottom: 180rpx;
background: #F5F5F5;
}
.myInfo .banner swiper.data-v-661f7086 {
height: 196rpx;
...
...
unpackage/dist/dev/mp-weixin/pagesA/enquiry/Enquiry.wxml
浏览文件 @
48b1848b
<view class="enquiry"><view class="enquiry_select"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="area" bindtap="__e"><block wx:if="{{areaValue==''}}"><text>状态</text></block><block wx:if="{{areaValue!=''}}"><text>{{areaValue}}</text></block><image class="{{[(araeShow)?'area_active':'']}}" src="../../static/images/xia.png" mode></image></view><block wx:if="{{araeShow}}"><view class="araeShow"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getArea',['$0',index],[[['options','',index,'status']]]]]]]}}" class="select_item" bindtap="__e">{{''+item.value+''}}</view></block></view></block></view><view class="enquiry_list"><block wx:for="{{enquirydata}}" wx:for-item="i" wx:for-index="index" wx:key="index"><block wx:if="{{areaStatus<0||areaStatus==i.status||areaStatus==1&&(i.status==1||i.status==9||i.status==11||i.status==13)||areaStatus==2&&(i.status==2||i.status==10||i.status==12||i.status==14)}}"><view class="enquiry_item"><view class="padding_box"><view class="item_company">售电公司:<block wx:if="{{i.ename==''||i.ename==null}}"><text>无</text></block><block wx:else><text>{{i.ename}}</text></block></view><block wx:if="{{i.contractSpread!=''&&i.contractSpread!=null}}"><view class="item_conclude_price">意向差价:<block wx:if="{{i.contractSpread==''}}"><text>无</text></block><block wx:else><text>{{i.contractSpread+"厘"}}</text></block></view></block><block wx:if="{{i.shareRatio!=''&&i.shareRatio!=null}}"><view class="item_between_price">意向分成比例(%):<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.shareRatio+"%"}}</text></block></view></block><block wx:if="{{type==2}}"><view class="item_between_price">居间差价:<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.intermediateSpread+"厘"}}</text></block></view></block><block wx:if="{{i.status==1||i.status==9||i.status==11||i.status==13}}"><view class="item_status">审核中</view></block><block wx:if="{{i.status==2||i.status==10||i.status==12||i.status==14}}"><view class="item_status">审核不通过</view></block><block wx:if="{{i.status==5}}"><view class="item_status">待上传合同</view></block><block wx:if="{{i.status==3}}"><view class="item_status">待确认合同</view></block><block wx:if="{{i.status==7}}"><view class="item_status">合同审核中</view></block><block wx:if="{{i.status==8}}"><view class="item_status">合同审核不通过</view></block><block wx:if="{{i.status==6}}"><view class="item_status">已取消</view></block><block wx:if="{{i.status==4}}"><view class="item_status">已完成</view></block></view><view class="hexian"></view><view class="particulars"><block wx:if="{{i.status==5&&remainder[index]!=0}}"><text class="item_count">{{"上传倒计时:\n\t\t\t\t\t"+(remainder[index]!=0?remainder[index]:'已结束')}}</text></block><view class="particulars_btns"><block wx:if="{{i.status==5}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">选择合同</view></block><block wx:if="{{i.status==8}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">重新选择合同</view></block><view data-event-opts="{{[['tap',[['toParticulars',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'status']]]]]]]}}" bindtap="__e">查看详情</view></view></view></view></block></block></view><view class="button_box"><view class="button_block"><button type="default" data-event-opts="{{[['tap',[['toDemand',['$event']]]]]}}" bindtap="__e">发布需求</button></view></view></view>
\ No newline at end of file
<view class="enquiry"><view class="enquiry_select"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="area" bindtap="__e"><block wx:if="{{areaValue==''}}"><text>状态</text></block><block wx:if="{{areaValue!=''}}"><text>{{areaValue}}</text></block><image class="{{[(araeShow)?'area_active':'']}}" src="../../static/images/xia.png" mode></image></view><block wx:if="{{araeShow}}"><view class="araeShow"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getArea',['$0',index],[[['options','',index,'status']]]]]]]}}" class="select_item" bindtap="__e">{{''+item.value+''}}</view></block></view></block></view><view class="enquiry_list"><block wx:for="{{enquirydata}}" wx:for-item="i" wx:for-index="index" wx:key="index"><block wx:if="{{areaStatus<0||areaStatus==i.status||areaStatus==1&&(i.status==1||i.status==9||i.status==11||i.status==13)||areaStatus==2&&(i.status==2||i.status==10||i.status==12||i.status==14)}}"><view class="enquiry_item"><view class="padding_box"><view class="item_company">售电公司:<block wx:if="{{i.ename==''||i.ename==null}}"><text>无</text></block><block wx:else><text>{{i.ename}}</text></block></view><block wx:if="{{i.contractSpread!=''&&i.contractSpread!=null}}"><view class="item_conclude_price">意向差价:<block wx:if="{{i.contractSpread==''}}"><text>无</text></block><block wx:else><text>{{i.contractSpread+"厘"}}</text></block></view></block><block wx:if="{{i.shareRatio!=''&&i.shareRatio!=null}}"><view class="item_between_price">意向分成比例:<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.shareRatio+"%"}}</text></block></view></block><block wx:if="{{type==2}}"><view class="item_between_price">居间差价:<block wx:if="{{i.intermediateSpread==''}}"><text>无</text></block><block wx:else><text>{{i.intermediateSpread+"厘"}}</text></block></view></block><block wx:if="{{i.status==1||i.status==9||i.status==11||i.status==13}}"><view class="item_status">审核中</view></block><block wx:if="{{i.status==2||i.status==10||i.status==12||i.status==14}}"><view class="item_status">审核不通过</view></block><block wx:if="{{i.status==5}}"><view class="item_status">待上传合同</view></block><block wx:if="{{i.status==3}}"><view class="item_status">待确认合同</view></block><block wx:if="{{i.status==7}}"><view class="item_status">合同审核中</view></block><block wx:if="{{i.status==8}}"><view class="item_status">合同审核不通过</view></block><block wx:if="{{i.status==6}}"><view class="item_status">已取消</view></block><block wx:if="{{i.status==4}}"><view class="item_status">已完成</view></block></view><view class="hexian"></view><view class="particulars"><block wx:if="{{i.status==5&&remainder[index]!=0}}"><text class="item_count">{{"上传倒计时:\n\t\t\t\t\t"+(remainder[index]!=0?remainder[index]:'已结束')}}</text></block><view class="particulars_btns"><block wx:if="{{i.status==5}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">选择合同</view></block><block wx:if="{{i.status==8}}"><view data-event-opts="{{[['tap',[['linktoContracts',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'year']]]]]]]}}" bindtap="__e">重新选择合同</view></block><view data-event-opts="{{[['tap',[['toParticulars',['$0','$1'],[[['enquirydata','',index,'id']],[['enquirydata','',index,'status']]]]]]]}}" bindtap="__e">查看详情</view></view></view></view></block></block></view><view class="button_box"><view class="button_block"><button type="default" data-event-opts="{{[['tap',[['toDemand',['$event']]]]]}}" bindtap="__e">发布需求</button></view></view></view>
\ No newline at end of file
unpackage/dist/dev/mp-weixin/pagesA/enquiry/Particulars.js
浏览文件 @
48b1848b
...
...
@@ -329,9 +329,10 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
//
//
//
var
_default
=
{
data
:
function
data
()
{
return
{
status
:
''
,
messages
:
''
,
userType
:
'0'
//企业类型
var
_default
=
{
data
:
function
data
()
{
return
{
status
:
''
,
messages
:
''
,
userType
:
'0'
,
//企业类型
type
:
''
//用户类型
};},
created
:
function
created
()
{
var
that
=
this
;
var
type
=
uni
.
getStorageSync
(
'type'
);
// type - 用户类型(1: 企业, 2: 电客)
var
user
=
uni
.
getStorageSync
(
'user'
);
if
(
type
==
1
)
{
// userType - 企业类型(1:游客;2:存量企业;3:普通会员;4:中级会员;5:高级会员)
that
.
type
=
type
;
var
user
=
uni
.
getStorageSync
(
'user'
);
if
(
type
==
1
)
{
// userType - 企业类型(1:游客;2:存量企业;3:普通会员;4:中级会员;5:高级会员)
that
.
userType
=
user
.
userType
;
console
.
log
(
'userType:'
+
that
.
userType
);}},
onLoad
:
function
onLoad
(
options
)
{
var
that
=
this
;
this
.
status
=
options
.
status
;
console
.
log
(
this
.
status
);(
0
,
_fun
.
get
)(
_api
.
default
.
independentInquiryDetails
,
{
id
:
options
.
id
}).
then
(
function
(
res
)
{
if
(
res
.
code
==
200
)
{
that
.
messages
=
res
.
data
;
that
.
messages
.
enterpriseElectricityNoticeBill
=
JSON
.
parse
(
that
.
messages
.
enterpriseElectricityNoticeBill
);}});},
methods
:
{
//预览电费单
previewImage
:
function
previewImage
(
url
)
{
uni
.
previewImage
({
urls
:
[
url
]
});},
//车看合同附件
checkFile
:
function
checkFile
()
{
uni
.
navigateTo
({
url
:
'/pagesA/Contracts/attachment/attachment'
});
console
.
log
(
'查看pdf文件'
);}
}
};
exports
.
default
=
_default
;
...
...
unpackage/dist/dev/mp-weixin/pagesA/enquiry/Particulars.wxml
浏览文件 @
48b1848b
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论