This commit is contained in:
Teng 2025-10-13 15:57:20 +08:00
parent 4b195f4385
commit 857966ffd0
7 changed files with 63 additions and 29 deletions

View File

@ -99,7 +99,7 @@
</view>
<view style="z-index: 1;width: 100%;" v-if=" item.applyStatus==`2` || item.applyType == `2`">
<view style="z-index: 1;width: 100%;margin-top: 90rpx;" v-if=" item.applyStatus==`2` || item.applyType == `2`">
<view class="fuwu-button">
<view class="fuwu-button-top">
<view style="display: flex;">

View File

@ -57,7 +57,7 @@
src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png" />
{{ item.tel }}
</view>
<view class="applying" v-if="item.employeesApiEntity?.status===`1`">
<!-- <view class="applying" v-if="item.employeesApiEntity?.status===`1`">
{{ item.employeesApiEntity.applyType=='1' ? "申请中" : "待确认" }}
</view>
@ -67,10 +67,31 @@
</view>
<view class="applyfail" v-if="item.employeesApiEntity?.status===`3`">
{{ item.employeesApiEntity.applyType=='1' ? "申请驳回" : "已拒绝" }}
</view>
<!-- <view style="height: 50rpx;" v-if="!item.employeesApiEntity">
</view> -->
<view class="applying"
v-if="item.employeesApiEntity?.status===`1`&&item.employeesApiEntity.applyType!=`2`">
{{ item.employeesApiEntity.applyType =='0' ?`待确认`:`申请中` }}
</view>
<view class="applysuccess"
v-if="item.employeesApiEntity?.status===`2`&&item.employeesApiEntity.applyType!=`2`">
{{ item.employeesApiEntity.applyType =='0' ?`已接受`:`申请通过` }}
</view>
<view class="applyfail"
v-if="item.employeesApiEntity?.status===`3`&&item.employeesApiEntity.applyType!=`2`">
{{ item.employeesApiEntity.applyType =='0' ?`已驳回`:`申请驳回` }}
</view>
<view class="applying"
v-if="item.employeesApiEntity?.status===`1`&&item.employeesApiEntity.applyType==`2`">
变更中
</view>
<view class="applysuccess"
v-if="item.employeesApiEntity?.status===`2`&&item.employeesApiEntity.applyType==`2`">
变更通过
</view>
<view class="applyfail"
v-if="item.employeesApiEntity?.status===`3`&&item.employeesApiEntity.applyType==`2`">
变更驳回
</view>
<view class="gray-bgc">
<image class="gray-img" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png" />
@ -107,7 +128,7 @@
<view class="popop-font">
入驻申请已提交请到
<text style="color: #01A9FF;">
"我的-入驻审核"
"我的-审核记录"
</text>
查看审核进度
@ -171,8 +192,14 @@
buttonOpen.value = false;
} else {
hulitarget.value = index;
if (hulijigouArray.value[index].employeesApiEntity?.status == 1 || hulijigouArray.value[index].employeesApiEntity?.status == 2) {
console.log("!!!!",hulijigouArray.value[index].employeesApiEntity?.applyType,hulijigouArray.value[index])
if (
(
(hulijigouArray.value[index].employeesApiEntity?.applyType == 0 || hulijigouArray.value[index].employeesApiEntity?.applyType == 1) &&
(hulijigouArray.value[index].employeesApiEntity.status == 1 || hulijigouArray.value[index].employeesApiEntity.status == 2)
) ||
hulijigouArray.value[index].employeesApiEntity?.applyType == 2
) {
buttonOpen.value = false;
} else {
buttonOpen.value = true;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,13 +41,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
const buttonOpen = common_vendor.ref(false);
const clickCard = (index) => {
var _a, _b;
var _a, _b, _c, _d;
if (hulitarget.value === index) {
hulitarget.value = -1;
buttonOpen.value = false;
} else {
hulitarget.value = index;
if (((_a = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _a.status) == 1 || ((_b = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _b.status) == 2) {
common_vendor.index.__f__("log", "at pages/yuangongindex/searchjigou.vue:195", "!!!!", (_a = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _a.applyType, hulijigouArray.value[index]);
if ((((_b = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _b.applyType) == 0 || ((_c = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _c.applyType) == 1) && (hulijigouArray.value[index].employeesApiEntity.status == 1 || hulijigouArray.value[index].employeesApiEntity.status == 2) || ((_d = hulijigouArray.value[index].employeesApiEntity) == null ? void 0 : _d.applyType) == 2) {
buttonOpen.value = false;
} else {
buttonOpen.value = true;
@ -123,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
setTimeout(() => search(), 1e3);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/yuangongindex/searchjigou.vue:266", "订阅接口调用失败:", err);
common_vendor.index.__f__("error", "at pages/yuangongindex/searchjigou.vue:293", "订阅接口调用失败:", err);
common_vendor.index.showToast({
title: "订阅失败",
icon: "none"
@ -150,29 +151,35 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
i: common_vendor.o(search),
j: common_vendor.f(hulijigouArray.value, (item, index, i0) => {
var _a, _b, _c, _d, _e, _f;
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
return common_vendor.e({
a: common_vendor.t(item.departName),
b: common_vendor.t(item.comLegalPerson),
c: common_vendor.t(item.tel),
d: ((_a = item.employeesApiEntity) == null ? void 0 : _a.status) === `1`
}, ((_b = item.employeesApiEntity) == null ? void 0 : _b.status) === `1` ? {
e: common_vendor.t(item.employeesApiEntity.applyType == "1" ? "申请中" : "待确认")
d: ((_a = item.employeesApiEntity) == null ? void 0 : _a.status) === `1` && item.employeesApiEntity.applyType != `2`
}, ((_b = item.employeesApiEntity) == null ? void 0 : _b.status) === `1` && item.employeesApiEntity.applyType != `2` ? {
e: common_vendor.t(item.employeesApiEntity.applyType == "0" ? `待确认` : `申请中`)
} : {}, {
f: ((_c = item.employeesApiEntity) == null ? void 0 : _c.status) === `2`
}, ((_d = item.employeesApiEntity) == null ? void 0 : _d.status) === `2` ? {
g: common_vendor.t(item.employeesApiEntity.applyType == "1" ? "申请通过" : "已接受")
f: ((_c = item.employeesApiEntity) == null ? void 0 : _c.status) === `2` && item.employeesApiEntity.applyType != `2`
}, ((_d = item.employeesApiEntity) == null ? void 0 : _d.status) === `2` && item.employeesApiEntity.applyType != `2` ? {
g: common_vendor.t(item.employeesApiEntity.applyType == "0" ? `已接受` : `申请通过`)
} : {}, {
h: ((_e = item.employeesApiEntity) == null ? void 0 : _e.status) === `3`
}, ((_f = item.employeesApiEntity) == null ? void 0 : _f.status) === `3` ? {
i: common_vendor.t(item.employeesApiEntity.applyType == "1" ? "申请驳回" : "已拒绝")
h: ((_e = item.employeesApiEntity) == null ? void 0 : _e.status) === `3` && item.employeesApiEntity.applyType != `2`
}, ((_f = item.employeesApiEntity) == null ? void 0 : _f.status) === `3` && item.employeesApiEntity.applyType != `2` ? {
i: common_vendor.t(item.employeesApiEntity.applyType == "0" ? `已驳回` : `申请驳回`)
} : {}, {
j: common_vendor.t(item.comRegisterAddress),
k: index,
l: common_vendor.s(hulitarget.value === index ? {
j: ((_g = item.employeesApiEntity) == null ? void 0 : _g.status) === `1` && item.employeesApiEntity.applyType == `2`
}, ((_h = item.employeesApiEntity) == null ? void 0 : _h.status) === `1` && item.employeesApiEntity.applyType == `2` ? {} : {}, {
k: ((_i = item.employeesApiEntity) == null ? void 0 : _i.status) === `2` && item.employeesApiEntity.applyType == `2`
}, ((_j = item.employeesApiEntity) == null ? void 0 : _j.status) === `2` && item.employeesApiEntity.applyType == `2` ? {} : {}, {
l: ((_k = item.employeesApiEntity) == null ? void 0 : _k.status) === `3` && item.employeesApiEntity.applyType == `2`
}, ((_l = item.employeesApiEntity) == null ? void 0 : _l.status) === `3` && item.employeesApiEntity.applyType == `2` ? {} : {}, {
m: common_vendor.t(item.comRegisterAddress),
n: index,
o: common_vendor.s(hulitarget.value === index ? {
border: `4rpx solid #0093FF`
} : {}),
m: common_vendor.o(($event) => clickCard(index), index)
p: common_vendor.o(($event) => clickCard(index), index)
});
}),
k: buttonOpen.value

View File

@ -1 +1 @@
<view class="container data-v-0e7ef1bb"><view class="title-back data-v-0e7ef1bb" style="{{'height:' + b}}"><view class="left-father data-v-0e7ef1bb" bindtap="{{a}}"><image class="back-img data-v-0e7ef1bb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-0e7ef1bb" style="font-size:30rpx">入驻机构</view></view></view><view class="data-v-0e7ef1bb" style="{{'height:' + c}}"></view><view class="zhiling-box data-v-0e7ef1bb" style="margin-top:30rpx;height:120rpx;justify-content:flex-start"><view class="input-all data-v-0e7ef1bb"><image class="data-v-0e7ef1bb" style="position:absolute;left:20rpx;top:50%;transform:translateY(-50%);width:40rpx;height:40rpx" src="https://www.focusnu.com/media/directive/index/search.png"/><input class="data-v-0e7ef1bb" style="font-size:31rpx" type="text" placeholder="请输入入驻护理机构名称" bindconfirm="{{d}}" bindinput="{{e}}" value="{{f}}"/><view wx:if="{{g}}" class="data-v-0e7ef1bb" bindtap="{{h}}" style="position:absolute;right:20rpx;top:50%;transform:translateY(-50%);width:40rpx;height:40rpx;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#EBEBEB"><image class="data-v-0e7ef1bb" style="width:20rpx;height:20rpx" src="https://www.focusnu.com/media/directive/index/cha.png"/></view></view><view class="tianjia data-v-0e7ef1bb" bindtap="{{i}}"> 检索 </view></view><view class="data-v-0e7ef1bb" style="width:100%;display:flex;flex-wrap:wrap"><view wx:for="{{j}}" wx:for-item="item" wx:key="k" class="zhiling-box-card data-v-0e7ef1bb" style="{{item.l + ';' + 'margin-top:30rpx;height:300rpx;position:relative;width:92%;flex-direction:column'}}" bindtap="{{item.m}}"><view class="card-font data-v-0e7ef1bb">{{item.a}}</view><view class="gray-font data-v-0e7ef1bb"><image class="data-v-0e7ef1bb" style="margin-left:10rpx;height:23rpx;width:23rpx;margin-right:10rpx;margin-top:5rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} <view class="data-v-0e7ef1bb" style="margin:0 20rpx"> | </view><image class="data-v-0e7ef1bb" style="margin-left:10rpx;height:23rpx;width:23rpx;margin-right:10rpx;margin-top:8rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-0e7ef1bb">{{item.e}}</view><view wx:if="{{item.f}}" class="applysuccess data-v-0e7ef1bb">{{item.g}}</view><view wx:if="{{item.h}}" class="applyfail data-v-0e7ef1bb">{{item.i}}</view><view class="gray-bgc data-v-0e7ef1bb"><image class="gray-img data-v-0e7ef1bb" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-0e7ef1bb" style="color:#999999;z-index:1;font-size:27rpx;width:100%;display:flex"><image class="data-v-0e7ef1bb" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1;margin-top:8rpx" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/><view class="data-v-0e7ef1bb" style="width:630rpx">{{item.j}}</view></view></view></view></view><view class="data-v-0e7ef1bb" style="height:200rpx"></view><view class="button-father data-v-0e7ef1bb"><view wx:if="{{k}}" class="blue-button data-v-0e7ef1bb" bindtap="{{l}}"> 申请 </view><view wx:else class="white-button data-v-0e7ef1bb"> 申请 </view></view><u-popup wx:if="{{o}}" class="data-v-0e7ef1bb" u-s="{{['d']}}" u-i="0e7ef1bb-0" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"><view class="popop-father data-v-0e7ef1bb"><image class="data-v-0e7ef1bb" style="width:100rpx;height:100rpx" src="https://www.focusnu.com/media/directive/index/tishi.png"/><view class="popop-font data-v-0e7ef1bb"> 入驻申请已提交,请到 <text class="data-v-0e7ef1bb" style="color:#01A9FF"> "我的-入驻审核" </text> 查看审核进度 </view><view class="popop-blue data-v-0e7ef1bb" bindtap="{{m}}"> 查看 </view></view></u-popup></view>
<view class="container data-v-0e7ef1bb"><view class="title-back data-v-0e7ef1bb" style="{{'height:' + b}}"><view class="left-father data-v-0e7ef1bb" bindtap="{{a}}"><image class="back-img data-v-0e7ef1bb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-0e7ef1bb" style="font-size:30rpx">入驻机构</view></view></view><view class="data-v-0e7ef1bb" style="{{'height:' + c}}"></view><view class="zhiling-box data-v-0e7ef1bb" style="margin-top:30rpx;height:120rpx;justify-content:flex-start"><view class="input-all data-v-0e7ef1bb"><image class="data-v-0e7ef1bb" style="position:absolute;left:20rpx;top:50%;transform:translateY(-50%);width:40rpx;height:40rpx" src="https://www.focusnu.com/media/directive/index/search.png"/><input class="data-v-0e7ef1bb" style="font-size:31rpx" type="text" placeholder="请输入入驻护理机构名称" bindconfirm="{{d}}" bindinput="{{e}}" value="{{f}}"/><view wx:if="{{g}}" class="data-v-0e7ef1bb" bindtap="{{h}}" style="position:absolute;right:20rpx;top:50%;transform:translateY(-50%);width:40rpx;height:40rpx;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#EBEBEB"><image class="data-v-0e7ef1bb" style="width:20rpx;height:20rpx" src="https://www.focusnu.com/media/directive/index/cha.png"/></view></view><view class="tianjia data-v-0e7ef1bb" bindtap="{{i}}"> 检索 </view></view><view class="data-v-0e7ef1bb" style="width:100%;display:flex;flex-wrap:wrap"><view wx:for="{{j}}" wx:for-item="item" wx:key="n" class="zhiling-box-card data-v-0e7ef1bb" style="{{item.o + ';' + 'margin-top:30rpx;height:300rpx;position:relative;width:92%;flex-direction:column'}}" bindtap="{{item.p}}"><view class="card-font data-v-0e7ef1bb">{{item.a}}</view><view class="gray-font data-v-0e7ef1bb"><image class="data-v-0e7ef1bb" style="margin-left:10rpx;height:23rpx;width:23rpx;margin-right:10rpx;margin-top:5rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/man.png"/> {{item.b}} <view class="data-v-0e7ef1bb" style="margin:0 20rpx"> | </view><image class="data-v-0e7ef1bb" style="margin-left:10rpx;height:23rpx;width:23rpx;margin-right:10rpx;margin-top:8rpx" src="https://www.focusnu.com/media/directive/index/ruzhu/phone.png"/> {{item.c}}</view><view wx:if="{{item.d}}" class="applying data-v-0e7ef1bb">{{item.e}}</view><view wx:if="{{item.f}}" class="applysuccess data-v-0e7ef1bb">{{item.g}}</view><view wx:if="{{item.h}}" class="applyfail data-v-0e7ef1bb">{{item.i}}</view><view wx:if="{{item.j}}" class="applying data-v-0e7ef1bb"> 变更中 </view><view wx:if="{{item.k}}" class="applysuccess data-v-0e7ef1bb"> 变更通过 </view><view wx:if="{{item.l}}" class="applyfail data-v-0e7ef1bb"> 变更驳回 </view><view class="gray-bgc data-v-0e7ef1bb"><image class="gray-img data-v-0e7ef1bb" src="https://www.focusnu.com/media/directive/index/ditu/bgc.png"/><view class="data-v-0e7ef1bb" style="color:#999999;z-index:1;font-size:27rpx;width:100%;display:flex"><image class="data-v-0e7ef1bb" style="margin-left:10rpx;height:30rpx;width:25rpx;margin-right:10rpx;z-index:1;margin-top:8rpx" src="https://www.focusnu.com/media/directive/index/ditu/mark.png"/><view class="data-v-0e7ef1bb" style="width:630rpx">{{item.m}}</view></view></view></view></view><view class="data-v-0e7ef1bb" style="height:200rpx"></view><view class="button-father data-v-0e7ef1bb"><view wx:if="{{k}}" class="blue-button data-v-0e7ef1bb" bindtap="{{l}}"> 申请 </view><view wx:else class="white-button data-v-0e7ef1bb"> 申请 </view></view><u-popup wx:if="{{o}}" class="data-v-0e7ef1bb" u-s="{{['d']}}" u-i="0e7ef1bb-0" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"><view class="popop-father data-v-0e7ef1bb"><image class="data-v-0e7ef1bb" style="width:100rpx;height:100rpx" src="https://www.focusnu.com/media/directive/index/tishi.png"/><view class="popop-font data-v-0e7ef1bb"> 入驻申请已提交,请到 <text class="data-v-0e7ef1bb" style="color:#01A9FF"> "我的-审核记录" </text> 查看审核进度 </view><view class="popop-blue data-v-0e7ef1bb" bindtap="{{m}}"> 查看 </view></view></u-popup></view>