master
tangyi 2022-04-01 10:59:01 +08:00
parent 45ea83ccf5
commit 6036797775
3 changed files with 18 additions and 18 deletions

View File

@ -60,11 +60,9 @@
</view> </view>
<view class="bottom"> <view class="bottom">
<view class="bottom-content"> <view class="bottom-content">
联系电话 <text class="cor3">157xxxx8279</text> 联系电话 <text class="cor3">157xxxx8279</text>
</view> </view>
<view class="bottom-content"> <view class="bottom-content">
注册时间 <text class="cor3">2018-12-12</text> 注册时间 <text class="cor3">2018-12-12</text>
</view> </view>
</view> </view>
@ -243,7 +241,7 @@
.peopleManagement-content .li .con .text .icon { .peopleManagement-content .li .con .text .icon {
width: 24rpx; width: 24rpx;
height: 21rpx; height: 24rpx;
} }
.peopleManagement-content .li .con .text .code { .peopleManagement-content .li .con .text .code {
@ -256,8 +254,9 @@
.peopleManagement-content .li .con .text .p{ .peopleManagement-content .li .con .text .p{
color: #7a7979; color: #7a7979;
display: flex; display: flex;
font-size: 24rpx; font-size: 20rpx;
padding: 22rpx 0rpx;
padding: 0rpx 0rpx;
} }
.peopleManagement-content .li .con .text .p .one{ .peopleManagement-content .li .con .text .p .one{

View File

@ -328,12 +328,10 @@
methods: { methods: {
// //
getWorkOrderType(){ getWorkOrderType(){
this.$requst.get('/universal/api.order/order_type', ).then(res => { this.$requst.get('/universal/api.order/order_type', ).then(res => {
if (res.code == 1) { if (res.code == 1) {
for (var i = 0; i < res.data.length; i++) { for (var i = 0; i < res.data.length; i++) {
for (var k = 0; k < this.workOrderList.length; k++) { for (var k = 0; k < this.workOrderList.length; k++) {
if(res.data[i].name== this.workOrderList[k].title){ if(res.data[i].name== this.workOrderList[k].title){
this.$set(this.workOrderList,k,{...this.workOrderList[k],id:res.data[i].id}) this.$set(this.workOrderList,k,{...this.workOrderList[k],id:res.data[i].id})

View File

@ -108,24 +108,27 @@
} }
}, },
onLoad(op) { onLoad(option) {
this.workeOrderStatusIndex = this.array.findIndex(item=>item.name==op.status);
if(this.workeOrderStatusIndex!=-1) this.workeOrderStatus = '';
// //
this.getType();
// this.getType(option);
this.getDatalist();
}, },
methods: { methods: {
// //
getType(){ getType(option){
this.$requst.get('/universal/api.order/order_type', { this.$requst.get('/universal/api.order/order_type').then(res => {
list_rows: this.dataPage.list_rows,
page: this.dataPage.page,
}).then(res => {
// this.$toolAll.tools.showToast(res.msg); // this.$toolAll.tools.showToast(res.msg);
if (res.code) { if (res.code) {
this.array=[...res.data] this.array=[...res.data]
//
if(option.status){
this.workeOrderStatusIndex = this.array.findIndex(item=>item.id==option.status);
if(this.workeOrderStatusIndex!=-1) this.workeOrderStatus = '';
}
this.getDatalist();
} else { } else {
} }