Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
32e52591
提交
32e52591
编写于
2月 27, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/zjx' into 'develop'
add See merge request
!114
上级
60f21545
010a7ffb
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
21 行增加
和
15 行删除
+21
-15
loading.vue
src/components/loading/loading.vue
+1
-0
index.vue
src/components/selectTime/index.vue
+2
-2
httpExtension.js
src/plugins/httpExtension.js
+2
-1
index.vue
src/views/appoint/index.vue
+16
-12
未找到文件。
src/components/loading/loading.vue
浏览文件 @
32e52591
<
template
>
<
template
>
<van-popup
<van-popup
v-if=
"show"
v-model=
"show"
v-model=
"show"
:close-on-click-overlay=
"false"
:close-on-click-overlay=
"false"
style=
"background-color: transparent"
style=
"background-color: transparent"
...
...
src/components/selectTime/index.vue
浏览文件 @
32e52591
...
@@ -118,11 +118,11 @@ export default {
...
@@ -118,11 +118,11 @@ export default {
},
},
selectItem
()
{
selectItem
()
{
if
(
this
.
selectTimes
===
''
)
{
if
(
this
.
selectTimes
===
''
)
{
this
.
$toast
(
'请选择日期'
);
//
this.$toast('请选择日期');
return
;
return
;
}
}
if
(
this
.
selectTimeBucket
===
''
)
{
if
(
this
.
selectTimeBucket
===
''
)
{
this
.
$toast
(
'请选择时间段'
);
//
this.$toast('请选择时间段');
return
;
return
;
}
}
this
.
$emit
(
'change'
,
this
.
selectTimes
+
' '
+
this
.
selectTimeBucket
);
this
.
$emit
(
'change'
,
this
.
selectTimes
+
' '
+
this
.
selectTimeBucket
);
...
...
src/plugins/httpExtension.js
浏览文件 @
32e52591
...
@@ -24,7 +24,8 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config)
...
@@ -24,7 +24,8 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config)
$http
.
addAfterHook
(
response
=>
{
$http
.
addAfterHook
(
response
=>
{
vueApp
.
$loading
.
hide
();
vueApp
.
$loading
.
hide
();
if
(
response
.
data
.
code
!==
'000000'
)
{
if
(
response
.
data
.
code
!==
'000000'
)
{
vueApp
.
$toast
(
response
.
data
.
message
);
console
.
log
(
'我是新增的后置钩子111'
,
response
);
vueApp
.
$toast
(
response
.
data
.
message
);
}
}
console
.
log
(
'我是新增的后置钩子'
,
response
);
console
.
log
(
'我是新增的后置钩子'
,
response
);
},
0
);
},
0
);
src/views/appoint/index.vue
浏览文件 @
32e52591
...
@@ -490,14 +490,16 @@ export default {
...
@@ -490,14 +490,16 @@ export default {
};
};
appointment
(
data
).
then
(
res
=>
{
appointment
(
data
).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/appoint-details'
,
path
:
'/appoint-details'
,
query
:
{
query
:
{
yunOrderNo
:
this
.
yunOrderNo
,
yunOrderNo
:
this
.
yunOrderNo
,
projectEquityNo
:
this
.
projectEquityNo
projectEquityNo
:
this
.
projectEquityNo
}
}
});
});
}
}
else
{
res
.
message
&&
this
.
$toast
(
res
.
message
);
}
});
});
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
@@ -508,12 +510,14 @@ export default {
...
@@ -508,12 +510,14 @@ export default {
getButtonStatus
(
yunOrderNo
)
{
getButtonStatus
(
yunOrderNo
)
{
getButtonStatus
(
yunOrderNo
).
then
(
res
=>
{
getButtonStatus
(
yunOrderNo
).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
this
.
$loading
.
hide
();
this
.
buttonStatus
=
res
.
data
.
buttonStatus
;
this
.
buttonStatus
=
res
.
data
.
buttonStatus
;
this
.
buttonText
=
res
.
data
.
statusDesc
;
this
.
buttonText
=
res
.
data
.
statusDesc
;
if
(
!
this
.
buttonStatus
)
{
!
this
.
buttonStatus
&&
this
.
$dialog
.
alert
({
this
.
$toast
(
this
.
buttonText
);
message
:
this
.
buttonText
,
}
confirmButtonColor
:
'#00bda5'
this
.
$loading
.
hide
();
});
});
});
},
},
getDetailByUnionId
()
{
},
getDetailByUnionId
()
{
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录