master
parent
45ea83ccf5
commit
6036797775
|
@ -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{
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -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 {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue