更新
This commit is contained in:
parent
1abdae0f3f
commit
ba779a4aff
1184
pages/index/meetCarOrder.vue
Normal file
1184
pages/index/meetCarOrder.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -93,14 +93,9 @@
|
||||
<!-- <text>{{ detailData.workerName }}</text>-->
|
||||
<!-- </view>-->
|
||||
<view class="steps-container">
|
||||
<view
|
||||
v-for="(item, index) in detailData.workNodes"
|
||||
:key="index"
|
||||
class="step-item"
|
||||
>
|
||||
<view v-for="(item, index) in detailData.workNodes" :key="index" class="step-item">
|
||||
<!-- 圆形图标 -->
|
||||
<view
|
||||
class="step-circle"
|
||||
<view class="step-circle"
|
||||
:class="{'circle-blue': item.type === '1', 'circle-yellow': item.type === '0'}">
|
||||
</view>
|
||||
<!-- 项目信息 -->
|
||||
@ -163,13 +158,15 @@
|
||||
</view>
|
||||
</view>
|
||||
<text class="times" v-if="!item.updateTime">{{ item.createTime }}</text>
|
||||
<text class="times" v-else style="text-align: center">{{ item.createTime }}<br/><text>至</text><br/>{{item.updateTime}}</text>
|
||||
<text class="times" v-else
|
||||
style="text-align: center">{{ item.createTime }}<br /><text>至</text><br />{{item.updateTime}}</text>
|
||||
|
||||
</view>
|
||||
<view class="p_box" v-if="index+1 <detailData.stepInfos.length || (item.images.length > 0 || item.content)">
|
||||
|
||||
<view class="g_hui" v-if="item.images.length > 0 || item.content">
|
||||
<view style="margin-bottom: 10px; box-sizing: border-box;" v-if="item.content">{{ item.content }}</view>
|
||||
<view style="margin-bottom: 10px; box-sizing: border-box;" v-if="item.content">{{ item.content }}
|
||||
</view>
|
||||
<view style="display: flex" v-if="item.images">
|
||||
<u-album :urls="item.imageList" :singleSize="70"></u-album>
|
||||
</view>
|
||||
@ -179,7 +176,8 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="annniu" v-if="detailData.status&&(detailData.status == 0 || detailData.status == 2)&&workNodeStatus == 1"
|
||||
<view class="annniu"
|
||||
v-if="detailData.status&&(detailData.status == 0 || detailData.status == 2)&&workNodeStatus == 1"
|
||||
@click="hge = true;getProject();cancelInterval()">
|
||||
<view class="">结束检测</view>
|
||||
</view>
|
||||
@ -200,8 +198,8 @@
|
||||
<text>施工图片:</text>
|
||||
</view>
|
||||
<!-- :sizeType="['compressed']" 压缩图片参数-->
|
||||
<u-upload :sizeType="['compressed']" :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple
|
||||
:maxCount="10"></u-upload>
|
||||
<u-upload :sizeType="['compressed']" :fileList="fileList1" @afterRead="afterRead" @delete="deletePic"
|
||||
name="1" multiple :maxCount="10"></u-upload>
|
||||
|
||||
<view class="t-title">是否合格</view>
|
||||
<view class="on-inputx">
|
||||
@ -275,8 +273,7 @@
|
||||
<text>备注:</text>
|
||||
|
||||
</view>
|
||||
<u--textarea v-model="payRemark" placeholder="如果存在组合付款方式,请在备注中描述清楚"
|
||||
border="bottom"></u--textarea>
|
||||
<u--textarea v-model="payRemark" placeholder="如果存在组合付款方式,请在备注中描述清楚" border="bottom"></u--textarea>
|
||||
|
||||
|
||||
<view class="bottomx" @click="tiijiao()" style="margin-top: 10px;">
|
||||
@ -288,12 +285,10 @@
|
||||
<u-picker :show="bankShow" :columns="bankList" @confirm="chooseBank" @cancel="bankShow=false"
|
||||
keyName="label"></u-picker>
|
||||
<u-picker :show="showLeadMan" :columns="leadManList" :defaultIndex="defaultIndex" @confirm="confirmLeadMan"
|
||||
@cancel="cancelLeadMan"
|
||||
keyName="nickname"></u-picker>
|
||||
@cancel="cancelLeadMan" keyName="nickname"></u-picker>
|
||||
|
||||
<uni-popup ref="alertDialog" type="dialog">
|
||||
<uni-popup-dialog cancelText="关闭" confirmText="确定" title="通知" content="您确定制证完成吗"
|
||||
@confirm="dialogConfirm"
|
||||
<uni-popup-dialog cancelText="关闭" confirmText="确定" title="通知" content="您确定制证完成吗" @confirm="dialogConfirm"
|
||||
@close="dialogClose"></uni-popup-dialog>
|
||||
</uni-popup>
|
||||
</view>
|
||||
@ -306,7 +301,9 @@ import upload from '@/utils/upload.js'
|
||||
import headersVue from "@/components/header/headers.vue";
|
||||
|
||||
export default {
|
||||
components: {headersVue},
|
||||
components: {
|
||||
headersVue
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
baseImageUrl: this.$baseImageUrl,
|
||||
@ -399,8 +396,7 @@ export default {
|
||||
// 在组件挂载后启动定时器
|
||||
this.timer = setInterval(this.getindex, 10000);
|
||||
},
|
||||
onShow() {
|
||||
},
|
||||
onShow() {},
|
||||
onHide() {
|
||||
clearInterval(this.timer);
|
||||
this.timer = null
|
||||
@ -471,7 +467,10 @@ export default {
|
||||
const index = subArray.findIndex(item => item.id === this.detailData.leadManId);
|
||||
if (index !== -1) {
|
||||
// 返回的是子数组的索引和匹配项的索引
|
||||
return {subArrayIndex, itemIndex: index};
|
||||
return {
|
||||
subArrayIndex,
|
||||
itemIndex: index
|
||||
};
|
||||
} else {
|
||||
// 没有找到匹配项,返回 null 或 undefined
|
||||
return null;
|
||||
@ -639,6 +638,7 @@ export default {
|
||||
uni.showToast({
|
||||
title: "成功",
|
||||
})
|
||||
uni.$emit('refresh')
|
||||
uni.navigateBack();
|
||||
}
|
||||
if (res.code == 500) {
|
||||
@ -777,16 +777,13 @@ export default {
|
||||
this.xling = false
|
||||
|
||||
},
|
||||
openxl(e) {
|
||||
},
|
||||
close(e) {
|
||||
},
|
||||
openxl(e) {},
|
||||
close(e) {},
|
||||
confirm(e) {
|
||||
this.show = false,
|
||||
this.lei = e.value[0].label
|
||||
},
|
||||
change(e) {
|
||||
},
|
||||
change(e) {},
|
||||
cancel(e) {
|
||||
this.show = false
|
||||
},
|
||||
@ -1050,8 +1047,7 @@ image {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.box {
|
||||
}
|
||||
.box {}
|
||||
|
||||
.box-dis {
|
||||
box-sizing: border-box;
|
||||
@ -1348,15 +1344,20 @@ image {
|
||||
|
||||
.steps-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap; /* 自动换行 */
|
||||
justify-content: space-between; /* 均匀分布 */
|
||||
gap: 10px; /* 控制横向和纵向间距 */
|
||||
flex-wrap: wrap;
|
||||
/* 自动换行 */
|
||||
justify-content: space-between;
|
||||
/* 均匀分布 */
|
||||
gap: 10px;
|
||||
/* 控制横向和纵向间距 */
|
||||
}
|
||||
|
||||
.step-item {
|
||||
display: flex;
|
||||
align-items: center; /* 图标和文字垂直居中对齐 */
|
||||
width: 31%; /* 每行展示三个 */
|
||||
align-items: center;
|
||||
/* 图标和文字垂直居中对齐 */
|
||||
width: 31%;
|
||||
/* 每行展示三个 */
|
||||
text-align: left;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@ -1368,7 +1369,8 @@ image {
|
||||
background: linear-gradient(to right, #F1F1F1, #858899);
|
||||
box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.3);
|
||||
flex-shrink: 0;
|
||||
margin-right: 5px; /* 圆点和文字的间距 */
|
||||
margin-right: 5px;
|
||||
/* 圆点和文字的间距 */
|
||||
}
|
||||
|
||||
.circle-blue {
|
||||
@ -1382,7 +1384,8 @@ image {
|
||||
|
||||
.step-content {
|
||||
font-size: 16px;
|
||||
line-height: 20px; /* 与图标高度对齐 */
|
||||
line-height: 20px;
|
||||
/* 与图标高度对齐 */
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user