现有接口调用几近完成0622
parent
a0b1ddb2c1
commit
a838d4e8cc
|
@ -29,7 +29,7 @@ export function handleWorkOrderGet(data) {
|
||||||
}
|
}
|
||||||
// 处理工单,提交
|
// 处理工单,提交
|
||||||
export function handleWorkOrderSubmit(data) {
|
export function handleWorkOrderSubmit(data) {
|
||||||
return request.get("/universal/api.order/process_order", data);
|
return request.post("/universal/api.order/process_order", data);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取产品类型
|
// 获取产品类型
|
||||||
|
|
|
@ -23,17 +23,7 @@
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="title">{{item.name}}</view>
|
<view class="title">{{item.name}}</view>
|
||||||
<view class="code">编号:{{item.serial_number}}</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>
|
||||||
<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>
|
||||||
</view>
|
</view>
|
||||||
|
@ -81,19 +71,14 @@
|
||||||
list_rows:this.list_rows,
|
list_rows:this.list_rows,
|
||||||
page:this.page
|
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,'最新客户')
|
console.log(res,'最新客户')
|
||||||
if(res.code) {
|
if(res.code) {
|
||||||
res.data.data.forEach(item=>{
|
res.data.forEach(item=>{
|
||||||
let obj = {
|
let obj = {
|
||||||
id:item.member_id,
|
id:item.member_id,
|
||||||
name:item.name,
|
name:item.name,
|
||||||
industry_name:item.industry_name,
|
serial_number:item.serial_number
|
||||||
serial_number:item.serial_number,
|
|
||||||
member_level:item.member_level,
|
|
||||||
member_type:item.member_type,
|
|
||||||
project_count:item.project_count,
|
|
||||||
address:item.address
|
|
||||||
}
|
}
|
||||||
this.recentlyQuery.push(obj);
|
this.recentlyQuery.push(obj);
|
||||||
})
|
})
|
||||||
|
@ -232,9 +217,15 @@
|
||||||
padding: 50rpx 34rpx 44rpx;
|
padding: 50rpx 34rpx 44rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.recently-query-content{
|
||||||
|
width: 676rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.recently-query-content .li {
|
.recently-query-content .li {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
padding: 30rpx 34rpx;
|
padding: 32rpx;
|
||||||
|
border-radius: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recently-query-content .li .title {
|
.recently-query-content .li .title {
|
||||||
|
@ -245,7 +236,6 @@
|
||||||
|
|
||||||
.recently-query-content .li .code {
|
.recently-query-content .li .code {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
margin-bottom: 25rpx;
|
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,7 +257,6 @@
|
||||||
.recently-query-content .li .li-content {
|
.recently-query-content .li .li-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: 2rpx solid #EDEDED;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue