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

View File

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

View File

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