Commit 517fabae by 王志慧

Merge branch 'SAAS+V4.37.0' into 'SAAS+V4.37.0_0326'

Saas+v4.37.0

See merge request !4
2 parents de06ccdc 81874781
...@@ -35,10 +35,12 @@ const conversationPage = params => { ...@@ -35,10 +35,12 @@ const conversationPage = params => {
sign: true sign: true
}) })
} }
/** 获取园区店列表 - 园区店 */ /** 获取园区店列表 - 园区店 */
const listShop4sByRef = params => { const listShop4sByRef = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `dj.api.scenemerchantref.listShop4sByRef` params.routerMethod = `dj.api.scenemerchantref.queryShopRefByPartnerShopPage`
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'POST', method: 'POST',
......
...@@ -100,3 +100,7 @@ html { ...@@ -100,3 +100,7 @@ html {
.el-tooltip__popper[x-placement^='top'] .popper__arrow:after { .el-tooltip__popper[x-placement^='top'] .popper__arrow:after {
border-bottom-color: #e4e7ed !important; border-bottom-color: #e4e7ed !important;
} }
.el-popover{
max-height:300px;
overflow: scroll;
}
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<div class="dialogue"> <div class="dialogue">
<div class="record"> <div class="record">
<audio id="audio1"> <audio id="audio1">
<!-- <source src="https://glsk-oss.oss-cn-shenzhen.aliyuncs.com/quality/file.mp3" type="audio/mpeg" /> -->
<source :src="detailObj.fileUrl" type="audio/mpeg" /> <source :src="detailObj.fileUrl" type="audio/mpeg" />
<source :src="detailObj.fileUrl" type="audio/ogg" /> <source :src="detailObj.fileUrl" type="audio/ogg" />
您的浏览器不支持 audio 标签。 您的浏览器不支持 audio 标签。
...@@ -25,8 +26,8 @@ ...@@ -25,8 +26,8 @@
<div class="record-info"> <div class="record-info">
<div class="dialog"> <div class="dialog">
<template v-for="item in dialogList"> <template v-for="item in dialogList">
<div class="dialog-detail" :key="item.id"> <div :class="{ 'dialog-detail': true, 'nth-child': item.role % 2 === 1 }" :key="item.id">
<div class="name">{{ item.role }}</div> <div class="name">角色{{ (item.role % 2) + 1 }}</div>
<div class="dig-content" @click="currentDialog(item)"> <div class="dig-content" @click="currentDialog(item)">
{{ item.content }} {{ item.content }}
</div> </div>
...@@ -135,7 +136,6 @@ export default { ...@@ -135,7 +136,6 @@ export default {
pageSize: 9999 pageSize: 9999
}) })
.then(res => { .then(res => {
console.log(res)
this.dialogList = res.list this.dialogList = res.list
}) })
} }
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
text-align: left; text-align: left;
} }
} }
:nth-child(2n) { .nth-child {
text-align: right; text-align: right;
.dig-content { .dig-content {
display: inline-block; display: inline-block;
......
...@@ -17,10 +17,9 @@ ...@@ -17,10 +17,9 @@
<el-input <el-input
v-model="userInput[0]" v-model="userInput[0]"
:placeholder="startPlaceholder" :placeholder="startPlaceholder"
@blur="handleBlur" @blur="handleBlur(0)"
@input="handleStartInput" @input="handleStartInput"
class="el-range-input" class="el-range-input"
@keydown="handleKeydown"
></el-input> ></el-input>
<span class="el-range-separator">至</span> <span class="el-range-separator">至</span>
<el-input <el-input
...@@ -28,9 +27,8 @@ ...@@ -28,9 +27,8 @@
:placeholder="endPlaceholder" :placeholder="endPlaceholder"
@input="handleEndInput" @input="handleEndInput"
@focus="handleFocus" @focus="handleFocus"
@blur="handleBlur" @blur="handleBlur(1)"
class="el-range-input" class="el-range-input"
@keydown="handleKeydown"
></el-input> ></el-input>
<i <i
...@@ -67,24 +65,25 @@ export default { ...@@ -67,24 +65,25 @@ export default {
}, },
methods: { methods: {
handleStartInput(event) { handleStartInput(event) {
console.log(event) let isNumber = /^\d+$/.test(event)
if (this.userInput) { if (!isNumber) {
this.userInput = [event, this.userInput[1]] event = null
} else {
this.userInput = [event, null]
} }
if (event > 100) event = 100
this.userInput[0] = event
}, },
handleEndInput(event) { handleEndInput(event) {
if (this.userInput) { let isNumber = /^\d+$/.test(event)
this.userInput = [this.userInput[0], event] if (!isNumber) {
} else { event = null
this.userInput = [null, event]
} }
if (event > 100) event = 100
this.userInput[1] = event
}, },
handleClickIcon(event) { handleClickIcon(event) {
this.userInput[0]=null this.userInput[0] = null
this.userInput[1]=null this.userInput[1] = null
}, },
valueIsEmpty() { valueIsEmpty() {
const val = this.userInput const val = this.userInput
...@@ -113,16 +112,16 @@ export default { ...@@ -113,16 +112,16 @@ export default {
this.$emit("focus", this) this.$emit("focus", this)
} }
}, },
handleBlur() { handleBlur(index) {
this.pickerVisible = false this.pickerVisible = false
this.contrastValue() this.contrastValue()
}, },
contrastValue() { contrastValue() {
let val = this.userInput let val = this.userInput
if (Array.isArray(val)) { if (Array.isArray(val)) {
if (val[0] > val[1]) { if (val[0] > val[1]) {
val[1] =null val[1] = null
console.log(val)
} }
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<img :src="require(`@/assets/${i.icon}.png`)" /> <img :src="require(`@/assets/${i.icon}.png`)" />
</div> </div>
<div class="info"> <div class="info">
<div style="position: relative"> <div>
{{ i.text }} {{ i.text }}
<el-tooltip effect="dark" :content="i.tooltip" placement="top" v-if="i.tooltip"> <el-tooltip effect="dark" :content="i.tooltip" placement="top" v-if="i.tooltip">
<img class="mark" src="@/assets/mark.png" /> <img class="mark" src="@/assets/mark.png" />
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</div> </div>
</GLCombiForm> </GLCombiForm>
<GLTable ref="qualityTable" :getListApi="getListApi" :searchForm="searchFormSearch" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url"> <GLTable ref="qualityTable" :getListApi="getListApi" :searchForm="searchFormSearch" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url" @setTableFinishFun="setTableFinishFun">
<div slot="store" slot-scope="scope"> <div slot="store" slot-scope="scope">
<template v-if="scope.scope.storeList && scope.scope.storeList.length > 1"> <template v-if="scope.scope.storeList && scope.scope.storeList.length > 1">
<span>{{ scope.scope.storeList.slice(0, 1).join('') }}</span> <span>{{ scope.scope.storeList.slice(0, 1).join('') }}</span>
...@@ -50,6 +50,12 @@ ...@@ -50,6 +50,12 @@
<span v-else>{{ scope.scope.storeList.join('') }}</span> <span v-else>{{ scope.scope.storeList.join('') }}</span>
</template> </template>
</div> </div>
<div slot="seconds" slot-scope="scope">
<template v-if="scope.scope.seconds">
{{(scope.scope.seconds/60).toFixed(1)}}
</template>
<template v-else>--</template>
</div>
<div slot="service" slot-scope="scope"> <div slot="service" slot-scope="scope">
<template v-if="scope.scope.serviceList && scope.scope.serviceList.length > 1"> <template v-if="scope.scope.serviceList && scope.scope.serviceList.length > 1">
<span>{{ scope.scope.serviceList.slice(0, 1).join('') }}</span> <span>{{ scope.scope.serviceList.slice(0, 1).join('') }}</span>
...@@ -65,8 +71,14 @@ ...@@ -65,8 +71,14 @@
<span v-else>{{ scope.scope.serviceList.join('') }}</span> <span v-else>{{ scope.scope.serviceList.join('') }}</span>
</template> </template>
</div> </div>
<div slot="scoreHtml" slot-scope="scope">
<template v-if="scope.scope.score || scope.scope.score === 0">
{{ scope.scope.score }}
</template>
<template v-else>统计中</template>
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" @click="recepDetail(scope.scope)" :disabled="scope.scope.score==0">接待明细</el-button> <el-button type="text" @click="recepDetail(scope.scope)" :disabled="!scope.scope.score && scope.scope.score != 0">接待明细</el-button>
</div> </div>
</GLTable> </GLTable>
</div> </div>
...@@ -107,12 +119,16 @@ export default { ...@@ -107,12 +119,16 @@ export default {
} }
}, },
{ {
icon: 'score', icon: "score",
text: '话术平均质检评分', text: "话术平均质检评分",
formatter: data => { formatter: (data) => {
return `<span style="font-weight:700;font-size:26px;">${data.averagQualityTestScore ? data.averagQualityTestScore : '0'}</span>分` let strHtml =
data.averageQualityTestScore || data.averageQualityTestScore == 0
? `<span style="font-weight:700;font-size:26px;">${data.averageQualityTestScore}</span>分`
: `<span style="font-weight:700;font-size:22px;">统计中</span>`
return strHtml
}, },
tooltip: '统计当日所有员工的质检平均分,分值越高整体表现越好' tooltip: "统计当日所有员工的质检平均分,分值越高整体表现越好"
} }
], ],
statistics: { statistics: {
...@@ -159,6 +175,7 @@ export default { ...@@ -159,6 +175,7 @@ export default {
{ {
label: '手机号', label: '手机号',
name: 'phoneNumber', name: 'phoneNumber',
placeholder: '请输入手机号(至少4位)',
type: 'input', type: 'input',
maxlength: '20', maxlength: '20',
isClear: true isClear: true
...@@ -193,7 +210,8 @@ export default { ...@@ -193,7 +210,8 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '录音日期', label: '录音日期',
prop: 'searchdate' prop: 'searchdate',
width: '120px'
}, },
{ {
label: '员工', label: '员工',
...@@ -212,7 +230,7 @@ export default { ...@@ -212,7 +230,7 @@ export default {
}, },
{ {
label: '归属服务商', label: '归属服务商',
addHtml: 'service', // addHtml: 'service',
width: '180px', width: '180px',
prop: 'serviceMerchantNo' prop: 'serviceMerchantNo'
}, },
...@@ -224,6 +242,7 @@ export default { ...@@ -224,6 +242,7 @@ export default {
{ {
label: '录音时长/分钟', label: '录音时长/分钟',
prop: 'seconds', prop: 'seconds',
addHtml: 'seconds',
width: '150px' width: '150px'
}, },
{ {
...@@ -238,7 +257,7 @@ export default { ...@@ -238,7 +257,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: 'AI对当日提交的营销录音进行分析得出的接待批次',
placement: 'top' placement: 'top'
} }
}, },
...@@ -259,7 +278,7 @@ export default { ...@@ -259,7 +278,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: '员工通过日报提报的当日触客数',
placement: 'top' placement: 'top'
} }
}, },
...@@ -280,7 +299,7 @@ export default { ...@@ -280,7 +299,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: '异常占比= (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工',
placement: 'top' placement: 'top'
} }
}, },
...@@ -292,6 +311,7 @@ export default { ...@@ -292,6 +311,7 @@ export default {
{ {
label: '话术质检评分/分', label: '话术质检评分/分',
prop: 'score', prop: 'score',
addHtml: 'scoreHtml',
width: '170px', width: '170px',
renderHeader: createElement => { renderHeader: createElement => {
return createElement('div', { style: 'margin-left:-10px' }, [ return createElement('div', { style: 'margin-left:-10px' }, [
...@@ -301,7 +321,7 @@ export default { ...@@ -301,7 +321,7 @@ export default {
{ {
attrs: { attrs: {
effect: 'dark', effect: 'dark',
content: '异常占比 = (预计接待批次 - 当日到店量)/ 预计接待批次数,建议重点关注异常占比超过20%的员工', content: 'AI通过分析营销录音对驻店人员当日表现进行整体打分。',
placement: 'top' placement: 'top'
} }
}, },
...@@ -325,26 +345,27 @@ export default { ...@@ -325,26 +345,27 @@ export default {
watch: { watch: {
'searchForm.searchdate'(newVal) { 'searchForm.searchdate'(newVal) {
this.statisticsEmployeeBadge(newVal) this.statisticsEmployeeBadge(newVal)
this.$refs.qualityTable.refreshTable(true, true)
} }
}, },
mounted() { mounted() {
this.getServiceStore() this.getServiceStore()
}, },
methods: { methods: {
getServiceStore() { getServiceStore() {
this.$apis.quality this.$apis.quality
. listShop4sByRef({ .listShop4sByRef({
scene: 0 currentPage:1,
}).then(res => { pageSize:99999,
this.baseData.storeIdList = res || [] partnerMerchantId: this.$globalState.session.merchantId
this.getOptionsList() })
}) .then(res => {
this.baseData.storeIdList = res.list || []
this.getOptionsList()
})
}, },
statisticsEmployeeBadge(val) { statisticsEmployeeBadge(val) {
let searchdate = Util.dateFormate( let searchdate = Util.dateFormate(val, 'YYYY-MM-DD')
val,
"YYYY-MM-DD"
)
this.$apis.quality this.$apis.quality
.statisticsEmployeeBadge({ .statisticsEmployeeBadge({
searchdate searchdate
...@@ -354,11 +375,11 @@ export default { ...@@ -354,11 +375,11 @@ export default {
}) })
}, },
recepDetail(row) { recepDetail(row) {
if (row.score == 0) { if (!row.score && row.score != 0) {
this.$confirm("质检分析中,请耐心等待", '提示', { this.$confirm('质检分析中,请耐心等待', '提示', {
confirmButtonText: "确定", confirmButtonText: '确定',
cancelButtonText: "取消", cancelButtonText: '取消',
type: "warning" type: 'warning'
}) })
return return
} }
...@@ -369,21 +390,27 @@ export default { ...@@ -369,21 +390,27 @@ export default {
} }
}) })
}, },
toMinutesAndSeconds(hourse) { toMinutesAndSeconds(time) {
const h = Math.floor(hourse / 60) const h = Math.floor(time / 3600)
const m = parseInt(hourse % 60) const m = parseInt((time % 3600) / 60)
return { return {
h, h,
m m
} }
}, },
setTableFinishFun(data) {
for (let i = 0; i < data.length; i++) {
data[i].serviceMerchantNo = this.$globalState.session.merchantName
}
},
beforeSearchFn() { beforeSearchFn() {
return new Promise(resolve => { return new Promise(resolve => {
this.searchFormSearch = deepClone(this.searchForm) this.searchFormSearch = deepClone(this.searchForm)
if (this.searchForm.searchdate) { if (this.searchForm.searchdate) {
this.searchFormSearch.searchdate = Util.dateFormate(this.searchForm.searchdate, 'YYYY-MM-DD') this.searchFormSearch.searchdate = Util.dateFormate(this.searchForm.searchdate, 'YYYY-MM-DD')
} }
console.log(this.$global)
this.searchFormSearch.serviceMerchantNo = this.$globalState.session.merchantId
if (this.searchFormSearch.qualityTestScore) { if (this.searchFormSearch.qualityTestScore) {
this.searchFormSearch.qualityTestScoreBegin = this.searchFormSearch.qualityTestScore[0] this.searchFormSearch.qualityTestScoreBegin = this.searchFormSearch.qualityTestScore[0]
this.searchFormSearch.qualityTestScoreEnd = this.searchFormSearch.qualityTestScore[1] this.searchFormSearch.qualityTestScoreEnd = this.searchFormSearch.qualityTestScore[1]
...@@ -417,6 +444,9 @@ export default { ...@@ -417,6 +444,9 @@ export default {
}) })
}, },
handleSearch() { handleSearch() {
if (this.searchForm.phoneNumber && this.searchForm.phoneNumber.length < 4) {
return
}
this.$refs.qualityTable.refreshTable(true, true) this.$refs.qualityTable.refreshTable(true, true)
// this.stockMonthReportCount() // this.stockMonthReportCount()
}, },
...@@ -483,10 +513,7 @@ export default { ...@@ -483,10 +513,7 @@ export default {
width: 16px; width: 16px;
height: 16px; height: 16px;
display: inline-block; display: inline-block;
position: absolute; vertical-align: middle;
right: 0x;
top: 0;
z-index: 999;
} }
img { img {
width: 100%; width: 100%;
...@@ -511,13 +538,4 @@ export default { ...@@ -511,13 +538,4 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
.mark {
width: 16px;
height: 16px;
display: inline-block;
position: absolute;
right: 0x;
top: 0;
z-index: 999;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<el-radio-group v-model="searchForm.hitResult"> <el-radio-group v-model="searchForm.hitResult">
<el-radio-button label="">全部</el-radio-button> <el-radio-button label="">全部</el-radio-button>
<el-radio-button label="1">命中</el-radio-button> <el-radio-button label="1">命中</el-radio-button>
<el-radio-button label="2">未命中</el-radio-button> <el-radio-button label="0">未命中</el-radio-button>
</el-radio-group> </el-radio-group>
</div> </div>
<GLTable ref="analyseTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url"> <GLTable ref="analyseTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url">
...@@ -59,14 +59,14 @@ export default { ...@@ -59,14 +59,14 @@ export default {
{ {
text: '话术评分', text: '话术评分',
formatter: data => { formatter: data => {
console.log(data) console.log(data,11111111111)
return `<span style="font-weight:700;font-size:26px;">${data.averageQualityTestScore ? data.score : '0'}</span>分` return `<span style="font-weight:700;font-size:26px;">${data.score ? data.score : '0'}</span>分`
} }
}, },
{ {
text: '预计营销结果', text: '预计营销结果',
formatter: data => { formatter: data => {
return `<span style="font-weight:700;font-size:22px;">${data.estimatedResult ? data.estimatedResult : '--'}</span>` return `<span style="font-weight:700;font-size:20px;">${data.estimatedResult ? data.estimatedResult : '--'}</span>`
} }
}, },
{ {
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
getPointCategory() { getPointCategory() {
this.classifyMap = new Map() this.classifyMap = new Map()
this.$apis.quality.getPointCategory().then(res => { this.$apis.quality.getPointCategory().then(res => {
console.log(res) // console.log(res)
this.baseData.firstClassifyList = Object.keys(res) this.baseData.firstClassifyList = Object.keys(res)
for (let item in res) { for (let item in res) {
this.classifyMap.set(item, res[item]) this.classifyMap.set(item, res[item])
...@@ -218,6 +218,7 @@ export default { ...@@ -218,6 +218,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-bottom:20px;
.s-item { .s-item {
flex: 1; flex: 1;
// min-width: 248px; // min-width: 248px;
......
<!-- 关联活动订单弹窗 --> <!-- 关联活动订单弹窗 -->
<template> <template>
<GLDialog big-title="质检详情" mode="big" :visible.sync="isQualityVisible" class="qualityDailog" width="80%" :close-on-click-modal="false" @onOk="handleClose" @onCancel="handleClose"> <GLDialog big-title="质检详情" mode="big" :visible.sync="isQualityVisible" class="qualityDailog" width="80%" :close-on-click-modal="false" @onOk="handleClose" @onCancel="handleClose" @close="handleClose" >
<div> <div>
<el-tabs v-model="activeName" @tab-click="handleReset"> <el-tabs v-model="activeName" @tab-click="handleReset">
<el-tab-pane label="质检分析" name="analyse"> <el-tab-pane label="质检分析" name="analyse">
......
...@@ -9,11 +9,21 @@ ...@@ -9,11 +9,21 @@
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>门店:</label> <label>门店:</label>
<span>{{ queryData.storeList && queryData.storeList.join('、') }}</span> <template v-if="queryData.storeList">
<el-tooltip effect="dark" :content="queryData.storeList.join('、')" placement="top-start">
<span>{{ queryData.storeList.join('、') }}</span>
</el-tooltip>
</template>
<span v-else>-</span>
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>服务商:</label> <label>服务商:</label>
<span>{{ queryData.serviceList && queryData.serviceList.join('、') }}</span> <template v-if="queryData.serviceList">
<el-tooltip effect="dark" :content="queryData.serviceList.join('、')" placement="top-start">
<span>{{queryData.serviceList.join('、') }}</span>
</el-tooltip>
</template>
<span v-else>-</span>
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>质检日期:</label> <label>质检日期:</label>
...@@ -31,7 +41,7 @@ ...@@ -31,7 +41,7 @@
<el-input-range start-placeholder="请输入" end-placeholder="请输入" :displayValue="searchForm.qualityTestScore"></el-input-range> <el-input-range start-placeholder="请输入" end-placeholder="请输入" :displayValue="searchForm.qualityTestScore"></el-input-range>
</template> </template>
</GLCombiForm> </GLCombiForm>
<GLTable ref="recepDetail" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn" :pageConf="pageConf"> <GLTable ref="recepDetail" :get-list-api="getListApi" :hasNum="false" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn" @setTableFinishFun="setTableFinishFun" :pageConf="pageConf">
<template slot="auth-button" slot-scope="scope"> <template slot="auth-button" slot-scope="scope">
<el-button type="text" @click="qualitDetail(scope.scope)">质检详情</el-button> <el-button type="text" @click="qualitDetail(scope.scope)">质检详情</el-button>
</template> </template>
...@@ -86,6 +96,10 @@ export default { ...@@ -86,6 +96,10 @@ export default {
listName: 'list', listName: 'list',
tableOption: true, tableOption: true,
tableColumns: [ tableColumns: [
{
label: "接待批次",
prop: "key"
},
{ {
label: '开始接待时间', label: '开始接待时间',
prop: 'startTime' prop: 'startTime'
...@@ -168,7 +182,7 @@ export default { ...@@ -168,7 +182,7 @@ export default {
this.searchFormSearch.endTime = Util.dateFormate(this.searchFormSearch.recepTime[1], 'YYYY-MM-DD') + ' 23:59:59' this.searchFormSearch.endTime = Util.dateFormate(this.searchFormSearch.recepTime[1], 'YYYY-MM-DD') + ' 23:59:59'
} }
if (this.searchFormSearch.estimatedResult) { if (this.searchFormSearch.estimatedResultId) {
this.searchFormSearch.estimatedResult = this.baseData.estimatedResultList.find(item => item.confId == this.searchFormSearch.estimatedResultId).confLabel this.searchFormSearch.estimatedResult = this.baseData.estimatedResultList.find(item => item.confId == this.searchFormSearch.estimatedResultId).confLabel
} }
...@@ -179,6 +193,11 @@ export default { ...@@ -179,6 +193,11 @@ export default {
resolve() resolve()
}) })
}, },
setTableFinishFun(data) {
for (let i = 0; i < data.length; i++) {
data[i].key = i + 1
}
},
getOptionsList() { getOptionsList() {
this.showFormData.forEach((item, index) => { this.showFormData.forEach((item, index) => {
if (item.type === 'select') { if (item.type === 'select') {
...@@ -232,6 +251,7 @@ export default { ...@@ -232,6 +251,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #1d1d1d; color: #1d1d1d;
display: inline-block; display: inline-block;
cursor: pointer;
max-width: 300px; max-width: 300px;
overflow: hidden; overflow: hidden;
/* 防止文本换行 */ /* 防止文本换行 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!