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