现有接口调用几近完成0622

master
chen 2022-06-22 16:16:26 +08:00
parent a0b1ddb2c1
commit a838d4e8cc
4 changed files with 288 additions and 718 deletions

View File

@ -29,7 +29,7 @@ export function handleWorkOrderGet(data) {
}
// 处理工单,提交
export function handleWorkOrderSubmit(data) {
return request.get("/universal/api.order/process_order", data);
return request.post("/universal/api.order/process_order", data);
}
// 获取产品类型

View File

@ -23,18 +23,8 @@
<view class="">
<view class="title">{{item.name}}</view>
<view class="code">编号{{item.serial_number}}</view>
<view class="label-content fw" >
<view :class="industry_name ? 'label' : ''">{{item.industry_name}}</view>
<view :class="member_level ? 'label' : ''">{{item.member_level}}</view>
<view :class="member_type ? 'label' : ''">{{item.member_type}}</view>
</view>
</view>
<view class="icon">{{item.project_count}}</view>
</view>
<view class="address">
<image class="img flexs" src="../../static/iocn/dizi.png" mode=""></image>
<view class="text">{{item.address}}</view>
</view>
</view>
</view>
<!-- <view class="imgJCon">
@ -81,19 +71,14 @@
list_rows:this.list_rows,
page:this.page
}
this.$requst.post('/universal/api.search/search',params).then(res=>{
this.$requst.get('/universal/api.search/search',params).then(res=>{
console.log(res,'最新客户')
if(res.code) {
res.data.data.forEach(item=>{
res.data.forEach(item=>{
let obj = {
id:item.member_id,
name:item.name,
industry_name:item.industry_name,
serial_number:item.serial_number,
member_level:item.member_level,
member_type:item.member_type,
project_count:item.project_count,
address:item.address
serial_number:item.serial_number
}
this.recentlyQuery.push(obj);
})
@ -232,9 +217,15 @@
padding: 50rpx 34rpx 44rpx;
}
.recently-query-content{
width: 676rpx;
margin: 0 auto;
}
.recently-query-content .li {
background-color: #FFFFFF;
padding: 30rpx 34rpx;
padding: 32rpx;
border-radius: 15rpx;
}
.recently-query-content .li .title {
@ -245,7 +236,6 @@
.recently-query-content .li .code {
font-size: 24rpx;
margin-bottom: 25rpx;
color: #666666;
}
@ -267,7 +257,6 @@
.recently-query-content .li .li-content {
display: flex;
align-items: center;
border-bottom: 2rpx solid #EDEDED;
justify-content: space-between;
}

File diff suppressed because it is too large Load Diff

BIN
static/iocn/icon-yes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB