|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<oa-scroll
|
|
|
- customClass=" scroll-height"
|
|
|
+ customClass="customManage-container scroll-height"
|
|
|
:pageSize="pageSize"
|
|
|
:total="total"
|
|
|
:refresherLoad="true"
|
|
@@ -10,57 +10,54 @@
|
|
|
:refresherBackground="'#f5f6f7'"
|
|
|
@load="load"
|
|
|
@refresh="refresh"
|
|
|
+ :data-theme="'theme-' + proxy.$settingStore.themeColor.name"
|
|
|
>
|
|
|
<template #default>
|
|
|
- <view class="customManage-container" :data-theme="'theme-' + proxy.$settingStore.themeColor.name">
|
|
|
- <view class="flex bg-white padding-10" style="position: relative">
|
|
|
- <u--input
|
|
|
- style="width: 100%"
|
|
|
- v-model="projectName"
|
|
|
- placeholder="搜索"
|
|
|
- prefixIcon="search"
|
|
|
- prefixIconStyle="font-size: 22px;color: #909399"
|
|
|
- customStyle="height:30px;background-color:#f5f6fa; "
|
|
|
- @confirm="selectListApi()"
|
|
|
- clearable
|
|
|
- ></u--input>
|
|
|
- <view class="margin-l-10" style="margin-top: auto; margin-bottom: auto; white-space: nowrap" @click="dropdownShow = !dropdownShow">筛选</view>
|
|
|
- </view>
|
|
|
+ <view class="search-area flex bg-white p10">
|
|
|
+ <u--input
|
|
|
+ style="width: 100%"
|
|
|
+ v-model="projectName"
|
|
|
+ placeholder="搜索"
|
|
|
+ prefixIcon="search"
|
|
|
+ prefixIconStyle="font-size: 22px;color: #909399"
|
|
|
+ customStyle="height:30px;background-color:#f5f6fa; "
|
|
|
+ @confirm="selectListApi()"
|
|
|
+ clearable
|
|
|
+ ></u--input>
|
|
|
+ <view class="search-area-buttom ml10" @click="dropdownShow = !dropdownShow">筛选</view>
|
|
|
+ </view>
|
|
|
|
|
|
- <oa-dropdown :dropdownShow="dropdownShow" :closeOnClickOverlay="true" @close="dropdownShow = false">
|
|
|
- <template #content>
|
|
|
- <u-radio-group v-model="radioValue" placement="column" iconPlacement="right" @change="radioChange">
|
|
|
- <u-radio v-for="ra in radioList" :key="ra" :activeColor="proxy.$settingStore.themeColor.color" :label="ra.label" :name="ra.value"></u-radio>
|
|
|
- </u-radio-group>
|
|
|
- </template>
|
|
|
- </oa-dropdown>
|
|
|
-
|
|
|
- <view class="container-area menu-list margin-lr-0" v-for="data in dataList" :key="data">
|
|
|
- <view class="list-cell" style="color: #666666; line-height: 30px">
|
|
|
- <view class="menu-item-box" style="font-size: 16px; font-weight: 600; color: #000000">
|
|
|
- <view> {{ data.projectName }} </view>
|
|
|
+ <oa-dropdown :dropdownShow="dropdownShow" :closeOnClickOverlay="true" @close="dropdownShow = false">
|
|
|
+ <template #content>
|
|
|
+ <u-radio-group v-model="radioValue" placement="column" iconPlacement="right" @change="radioChange">
|
|
|
+ <u-radio v-for="ra in radioList" :key="ra" :activeColor="proxy.$settingStore.themeColor.color" :label="ra.label" :name="ra.value"></u-radio>
|
|
|
+ </u-radio-group>
|
|
|
+ </template>
|
|
|
+ </oa-dropdown>
|
|
|
+
|
|
|
+ <view class="content-area menu-list mlr0" v-for="data in dataList" :key="data">
|
|
|
+ <view class="list-cell" style="color: #666666; line-height: 30px">
|
|
|
+ <view class="content-area-top menu-item-box">
|
|
|
+ <view> {{ data.projectName }} </view>
|
|
|
+ </view>
|
|
|
+ <view class="content-area-row_wrap menu-item-box">
|
|
|
+ <view class="content-area-row_wrap-view"> 项目编号:{{ data.projectId }} </view>
|
|
|
+ <view class="content-area-row_wrap-view"> 到期时间:{{ data.expireTime ? data.expireTime.split("T")[0] : "" }} </view>
|
|
|
+ <view class="content-area-row_wrap-view"> 客户负责人:{{ data.customPerson }} </view>
|
|
|
+ <view class="content-area-row_wrap-view">
|
|
|
+ 维保费:<span style="color: red">¥{{ data.maintainAmount }}</span>
|
|
|
</view>
|
|
|
- <view class="menu-item-box" style="font-size: 13px; flex-flow: row wrap">
|
|
|
- <view style="min-width: 50%"> 项目编号:{{ data.projectId }} </view>
|
|
|
- <view style="min-width: 50%"> 到期时间:{{ data.expireTime ? data.expireTime.split("T")[0] : "" }} </view>
|
|
|
- <view style="min-width: 50%"> 客户负责人:{{ data.customPerson }} </view>
|
|
|
- <view style="min-width: 50%">
|
|
|
- 维保费:<span style="color: red">¥{{ data.maintainAmount }}</span>
|
|
|
- </view>
|
|
|
- <view style="min-width: 50%; display: flex; white-space: nowrap">
|
|
|
- <view style="margin-right: 5px">客户电话:{{ data.phone }}</view>
|
|
|
- <view class="iconfont ucicon-a-copy menu-icon" style="font-size: 14px; color: #909399; margin-left: 5px" @click="copy(data.phone)"> </view>
|
|
|
- <view class="iconfont ucicon-dial menu-icon" style="font-size: 14px; color: #909399; margin-left: 5px" @click="proxy.$common.makePhoneCall(data.phone)"> </view>
|
|
|
- </view>
|
|
|
- <view style="min-width: 50%">
|
|
|
- 状态:
|
|
|
- <span :style="`color: ${data.maintainStatus == 1 ? '#16bf00' : 'red'} `">
|
|
|
- {{ data.maintainStatus == 1 ? "使用中" : "已到期" }}
|
|
|
- </span>
|
|
|
- </view>
|
|
|
- <view style="min-width: 50%"> 客户地址: {{ data.customAddress }} </view>
|
|
|
- <view style="min-width: 50%">销售负责人:{{ data.salePerson }}</view>
|
|
|
+ <view class="content-area-row_wrap-view">
|
|
|
+ <view style="margin-right: 5px">客户电话:{{ data.phone }}</view>
|
|
|
+ <view class="iconfont ucicon-a-copy menu-icon" @click="copy(data.phone)"> </view>
|
|
|
+ <view class="iconfont ucicon-dial menu-icon" @click="proxy.$common.makePhoneCall(data.phone)"> </view>
|
|
|
</view>
|
|
|
+ <view class="content-area-row_wrap-view">
|
|
|
+ <view>状态:</view>
|
|
|
+ <view :style="`color: ${data.maintainStatus == 1 ? '#16bf00' : 'red'} `"> {{ data.maintainStatus == 1 ? "使用中" : "已到期" }}</view>
|
|
|
+ </view>
|
|
|
+ <view class="content-area-row_wrap-view"> 客户地址: {{ data.customAddress }} </view>
|
|
|
+ <view class="content-area-row_wrap-view">销售负责人:{{ data.salePerson }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -207,5 +204,38 @@ onNavigationBarButtonTap((e) => {
|
|
|
}
|
|
|
|
|
|
.customManage-container {
|
|
|
+ .search-area {
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ &-buttom {
|
|
|
+ margin-top: auto;
|
|
|
+ margin-bottom: auto;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .content-area {
|
|
|
+ &-top {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #000000;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-row_wrap {
|
|
|
+ font-size: 13px;
|
|
|
+ flex-flow: row wrap;
|
|
|
+
|
|
|
+ &-view {
|
|
|
+ display: flex;
|
|
|
+ min-width: 50%;
|
|
|
+ white-space: nowrap;
|
|
|
+ > .iconfont {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #909399;
|
|
|
+ margin-left: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|