Commit 3bf20aba authored by 刘文虎's avatar 刘文虎

修改维修字样为服务

parent 127ec6d3
;(function() { ;(function() {
let NODE_ENV = 'test' // dev:开发环境 | test:测试环境 | prod:生产环境 let NODE_ENV = 'prod' // dev:开发环境 | test:测试环境 | prod:生产环境
let ENV_VAR = null let ENV_VAR = null
let VERSION = 'v1.0.11' let VERSION = 'v1.0.15'
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
if (NODE_ENV === 'dev') { if (NODE_ENV === 'dev') {
ENV_VAR = require('./.env.dev.js') ENV_VAR = require('./.env.dev.js')
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
> >
</view> </view>
</view> </view>
<view class="item-view" v-for="(item, ind) in items.list" :key="ind"> <view class="item-view" v-for="(item, ind) in items.list" :key="item.id">
<CellBill <CellBill
@select="handleSelect" @select="handleSelect"
:info="item" :info="item"
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
@click="$u.throttle(handleClickDelete, 500)" @click="$u.throttle(handleClickDelete, 500)"
>删除</view >删除</view
> >
<view class="title-view">明细信息</view> <view class="title-view">服务明细</view>
<view class="item-view"> <view class="item-view">
<view class="label-view">工时/配件</view> <view class="label-view">收费项</view>
<view class="value-view"> <view class="value-view">
<u-input <u-input
type="text" type="text"
......
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
"path": "index", "path": "index",
"name": "maintain-bill", "name": "maintain-bill",
"style": { "style": {
"navigationBarTitleText": "维修记账", "navigationBarTitleText": "服务记账",
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": true "disableScroll": true
...@@ -359,7 +359,7 @@ ...@@ -359,7 +359,7 @@
"path": "particulars", "path": "particulars",
"name": "maintain-bill-particulars", "name": "maintain-bill-particulars",
"style": { "style": {
"navigationBarTitleText": "维修明细", "navigationBarTitleText": "服务明细",
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": true "disableScroll": true
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<view class="item" v-for="(item, index) in list" :key="index"> <view class="item" v-for="(item, index) in list" :key="index">
<view class="item-label">{{ item.label }}</view> <view class="item-label">{{ item.label }}</view>
<view class="item-value"> <view class="item-value">
<text class="item-value-repair" v-if="item.value === 'remark' && detail.repairId" @click="toRepair">点击查看维修账单</text> <text class="item-value-repair" v-if="item.value === 'remark' && detail.repairId" @click="toRepair">点击查看账单</text>
<text v-else-if="item.value === 'happenTime'">{{ resetHappenTime(detail[item.value]) || '' }}</text> <text v-else-if="item.value === 'happenTime'">{{ resetHappenTime(detail[item.value]) || '' }}</text>
<text v-else>{{ detail[item.value]|| '' }}</text> <text v-else>{{ detail[item.value]|| '' }}</text>
</view> </view>
......
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
{ {
image: this.baseUrl + 'weixiushoujutubiao-n@3x.png', image: this.baseUrl + 'weixiushoujutubiao-n@3x.png',
path: '/pages/maintain-bill/index', path: '/pages/maintain-bill/index',
name: '维修记账', name: '收据记账',
subtiile: '电子收据' subtiile: '电子收据'
}, },
{ {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<text v-else>立即登录</text> <text v-else>立即登录</text>
</view> </view>
<view class="license-num"> <view class="license-num">
<text v-if="userInfo.id">{{ userInfo.repairShopName || userInfo.nickname + '的维修店' }}</text> <text v-if="userInfo.id">{{ userInfo.repairShopName || userInfo.nickname + '的店' }}</text>
<text v-else>登录可体验更多功能</text> <text v-else>登录可体验更多功能</text>
</view> </view>
<view class="vip" v-if="userInfo.id" @click.stop="toPay"> <view class="vip" v-if="userInfo.id" @click.stop="toPay">
......
...@@ -29,28 +29,7 @@ export default { ...@@ -29,28 +29,7 @@ export default {
return { return {
logoImage:baseUrl+'login-logo@3x.png', logoImage:baseUrl+'login-logo@3x.png',
needAuth: true, needAuth: true,
list: [
{
img: '/static/images/datum/gzmcx@2x.png',
title: '故障码查询',
intro: '173个家电品牌;4207条故障码;2437篇检修方案'
},
{
img: '/static/images/datum/cjgzxx@2x.png',
title: '常见故障现象查询',
intro: '空调,洗衣机,冰箱,电磁炉等常见故障检修方案'
},
{
img: '/static/images/datum/cjzl@2x.png',
title: '厂家维修资料免费看',
intro: '各大厂商维修手册,培训资料,故障修复指引免费看'
},
{
img: '/static/images/datum/zsdgz@2x.png',
title: '指示灯故障查询',
intro: '各大品牌空调指示灯,一应俱全'
}
],
canIUseGetUserProfile: false, canIUseGetUserProfile: false,
agree: false, agree: false,
params: {}, params: {},
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
show: true, show: true,
arrowUrl: billBaseUrl + 'baojiashunxu@3x.png', arrowUrl: billBaseUrl + 'baojiashunxu@3x.png',
steps: quotedPriceSteps, steps: quotedPriceSteps,
previewImage: billBaseUrl + 'weixiupreview.png', previewImage: billBaseUrl + 'weixiuzhangdan-1.png',
closeIcon: billBaseUrl + 'guanbitanchuang@3x.png', closeIcon: billBaseUrl + 'guanbitanchuang@3x.png',
customStyle: { customStyle: {
// 'margin-top': '90rpx', // 'margin-top': '90rpx',
......
<template> <template>
<view class="maintain-create"> <view class="maintain-create">
<NavbarRight title="维修记账(开收据)" /> <NavbarRight title="收据记账(开收据)" />
<view class="content-view"> <view class="content-view">
<required-tips @preview="preview"></required-tips> <required-tips @preview="preview"></required-tips>
<u-form :model="form" ref="uForm" label-width="180"> <u-form :model="form" ref="uForm" label-width="180">
...@@ -61,14 +61,14 @@ ...@@ -61,14 +61,14 @@
</view> </view>
</u-form> </u-form>
<view class="maintain-view part-view"> <view class="maintain-view part-view">
<view class="title-view">维修信息</view> <view class="title-view">服务信息</view>
<view class="item-view"> <view class="item-view">
<view class="lable-view">维修时间</view> <view class="lable-view">服务时间</view>
<view class="right-view"> <view class="right-view">
<DateRangePicker type="date" :clear-icon="false" v-show="showDatePicker" v-model="form.repairTime" @maskClick="maskClick"> <DateRangePicker type="date" :clear-icon="false" v-show="showDatePicker" v-model="form.repairTime" @maskClick="maskClick">
<view class="date-view" hover-class="u-hover-class"> <view class="date-view" hover-class="u-hover-class">
<view class="date-text" v-if="repairTime.dayTime">{{ repairTime.dayTime }}</view> <view class="date-text" v-if="repairTime.dayTime">{{ repairTime.dayTime }}</view>
<view class="placeholder-text" v-else>选择维修日期</view> <view class="placeholder-text" v-else>选择服务日期</view>
<view class="image-view"><image :src="dateImage"></image></view> <view class="image-view"><image :src="dateImage"></image></view>
</view> </view>
</DateRangePicker> </DateRangePicker>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</view> </view>
<view class="line-view"></view> <view class="line-view"></view>
<view class="item-view address-item-view"> <view class="item-view address-item-view">
<view class="lable-view address-label-view">维修地址</view> <view class="lable-view address-label-view">客户地址</view>
<view class="address-value-view"> <view class="address-value-view">
<!-- <view :class="['address-view', { adress: form.address }]">{{ form.address || '选择地址' }}</view> --> <!-- <view :class="['address-view', { adress: form.address }]">{{ form.address || '选择地址' }}</view> -->
<view class="address-view"> <view class="address-view">
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<view class="accessory-view part-view"> <view class="accessory-view part-view">
<view class="title-view"> <view class="title-view">
<text>记录凭证</text> <text>记录凭证</text>
<text class="sub-title-view">上传维修配件图片、物流单等</text> <text class="sub-title-view">上传服务凭证、物流单等</text>
</view> </view>
<view class="images-view"> <view class="images-view">
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
></view ></view
> >
<view class="info-view part-view"> <view class="info-view part-view">
<view class="title-view">维修信息</view> <view class="title-view">服务信息</view>
<view class="list-view" v-for="(item, key) in infoKeys" :key="key"> <view class="list-view" v-for="(item, key) in infoKeys" :key="key">
<view v-if="key" class="item-view"> <view v-if="key" class="item-view">
<view class="label-view">{{ item }}</view> <view class="label-view">{{ item }}</view>
...@@ -238,12 +238,12 @@ export default { ...@@ -238,12 +238,12 @@ export default {
}, },
infoKeys() { infoKeys() {
return { return {
id: '维修单号:', id: '服务单号:',
name: '客户姓名:', name: '客户姓名:',
phone: '联系电话:', phone: '联系电话:',
'': '', '': '',
address: '维修地址:', address: '客户地址:',
repairTime: '维修时间:', repairTime: '服务时间:',
} }
}, },
settleState() { settleState() {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
height="80" height="80"
search-icon-color="#bdbdbd" search-icon-color="#bdbdbd"
color="#333333" color="#333333"
placeholder="搜索维修单号、客户姓名/手机、维修备注" placeholder="搜索单号、客户姓名/手机、备注"
placeholder-color="#CCCCCC" placeholder-color="#CCCCCC"
:search-icon="searchImage" :search-icon="searchImage"
@change="changeSearch" @change="changeSearch"
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
}, },
data() { data() {
return { return {
backText:'维修记账', backText:'收据记账',
keyword: '', keyword: '',
customerId:'', customerId:'',
daterange: [], daterange: [],
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
} }
: { : {
image: this.baseUrl + 'wuweixiuzhangdan@3x.png', image: this.baseUrl + 'wuweixiuzhangdan@3x.png',
text: '当前暂无维修账单信息' text: '当前暂无账单信息'
}; };
}, },
dateString() { dateString() {
......
<template> <template>
<view class="maintain-particulars"> <view class="maintain-particulars">
<NavbarRight title="维修明细" /> <NavbarRight title="服务明细" />
<view class="content-view"> <view class="content-view">
<view class="tip-view"> <view class="tip-view">
<u-icon name="error-circle" color="#02A074" size="30"></u-icon> <u-icon name="error-circle" color="#02A074" size="30"></u-icon>
<view class="tip-text">若客户需要详细维修账单请填写</view> <view class="tip-text">若客户需要详细服务账单请填写</view>
<view class="other-text">(如不需要可不填)</view> <view class="other-text">(如不需要可不填)</view>
</view> </view>
<view class="part-view"> <view class="part-view">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
:background="{ :background="{
'background-color': '#02A074', 'background-color': '#02A074',
}" }"
title="维修账单" title="服务账单"
/> />
<view class="back-view"></view> <view class="back-view"></view>
<view class="status-view"> <view class="status-view">
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
class="remark-view part-view" class="remark-view part-view"
v-if="info.remark || (info.attach && info.attach.length > 0)" v-if="info.remark || (info.attach && info.attach.length > 0)"
> >
<view class="title-view">本次维修记录</view> <view class="title-view">本次服务记录</view>
<view class="label-view">备注信息:</view> <view class="label-view">备注信息:</view>
<view class="remark-content-view"> <view class="remark-content-view">
<text class="remark-text">{{ info.remark }}</text> <text class="remark-text">{{ info.remark }}</text>
...@@ -346,7 +346,7 @@ export default { ...@@ -346,7 +346,7 @@ export default {
return { return {
customerName: '客户姓名:', customerName: '客户姓名:',
customerPhone: '联系电话:', customerPhone: '联系电话:',
address: '维修地址:', address: '客户地址:',
} }
}, },
moneyKeys() { moneyKeys() {
...@@ -360,15 +360,15 @@ export default { ...@@ -360,15 +360,15 @@ export default {
color: this.info.settleState.code == 'YES' ? '#333333' : '#FC524D', color: this.info.settleState.code == 'YES' ? '#333333' : '#FC524D',
line: true, line: true,
}, },
{ key: 'id', title: '维修单号:', text: '' }, { key: 'id', title: '服务单号:', text: '' },
{ key: 'repairTime', title: '维修时间:', text: '' }, { key: 'repairTime', title: '服务时间:', text: '' },
] ]
return this.receive return this.receive
? [...arr, { key: 'repairShopName', title: '维修商户:', text: '' }] ? [...arr, { key: 'repairShopName', title: '服务商户:', text: '' }]
: [ : [
...arr, ...arr,
{ key: 'createTime', title: '账单创建:', text: '' }, { key: 'createTime', title: '账单创建:', text: '' },
{ key: 'repairShopName', title: '维修商户:', text: '' }, { key: 'repairShopName', title: '服务商户:', text: '' },
] ]
}, },
customScan() { customScan() {
...@@ -803,7 +803,7 @@ export default { ...@@ -803,7 +803,7 @@ export default {
display: 'block', display: 'block',
}, },
type: 'text', type: 'text',
text: '本次维修记录', text: '本次服务记录',
}, },
{ {
css: { css: {
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
if (options && options.type) { if (options && options.type) {
if (options.type === 'maintain') { if (options.type === 'maintain') {
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '维修帐单导出' title: '服务帐单导出'
}); });
} }
this.type = options.type; this.type = options.type;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<view class="top"> <view class="top">
<view class="t-left"> <view class="t-left">
<image :src="userInfo.avatar" class="avatar"></image> <image :src="userInfo.avatar" class="avatar"></image>
<view class="nickname">{{ userInfo.repairShopName || userInfo.nickname + '的维修店' }}</view> <view class="nickname">{{ userInfo.repairShopName || userInfo.nickname + '的店' }}</view>
</view> </view>
<text class="t-right">{{ userStatus }}</text> <text class="t-right">{{ userStatus }}</text>
</view> </view>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="content"> <view class="content">
<setting-card :detail="stopInfo" @update="updateDetail"></setting-card> <setting-card :detail="stopInfo" @update="updateDetail"></setting-card>
<view class="switch"> <view class="switch">
<view class="label">维修记账自动统计为收入</view> <view class="label">收据记账自动统计为收入</view>
<u-switch slot="right-icon" v-model="stopInfo.intoBookRecord" active-color="#02A074" inactive-color="#8D8D8D" :loading="switchLoading" @change="switchChange"></u-switch> <u-switch slot="right-icon" v-model="stopInfo.intoBookRecord" active-color="#02A074" inactive-color="#8D8D8D" :loading="switchLoading" @change="switchChange"></u-switch>
</view> </view>
</view> </view>
......
export const version = "1.0.13" export const version = "1.0.15"
export const baseURL = "/baseapi" export const baseURL = "/baseapi"
export const token = "TOKEN" export const token = "TOKEN"
export const PHONENUMBER = "PHONENUMBER" export const PHONENUMBER = "PHONENUMBER"
......
...@@ -8,7 +8,7 @@ export const minPopupOptions = [{ ...@@ -8,7 +8,7 @@ export const minPopupOptions = [{
type: '1', type: '1',
}, },
{ {
label: '维修帐', label: '开收据',
path: '/pages/maintain-bill/create', path: '/pages/maintain-bill/create',
icon: 'weixiuzhangfapiao@3x.png', icon: 'weixiuzhangfapiao@3x.png',
type: '2', type: '2',
......
...@@ -7,7 +7,7 @@ export const exportOptions = [{ ...@@ -7,7 +7,7 @@ export const exportOptions = [{
}, },
{ {
id: 2, id: 2,
title: '维修账单', title: '服务账单',
icon: baseUrl + 'weixiuzhangdaochuicon@3x.png', icon: baseUrl + 'weixiuzhangdaochuicon@3x.png',
path: "/pages/mine/import-export/export/export?type=maintain" path: "/pages/mine/import-export/export/export?type=maintain"
}, },
......
...@@ -7,7 +7,7 @@ export const introOptions = [{ ...@@ -7,7 +7,7 @@ export const introOptions = [{
icon: mineBaseUrl + 'huiyuanwuguanggao@3x.png', icon: mineBaseUrl + 'huiyuanwuguanggao@3x.png',
}, },
{ {
label: '维修记账', label: '服务记账',
icon: mineBaseUrl + 'huiyuanweixiujizhang@3x.png', icon: mineBaseUrl + 'huiyuanweixiujizhang@3x.png',
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment