Browse Source

xiugai首页字段

newStyle
douzhuo 1 year ago
parent
commit
eb19ada294
5 changed files with 46 additions and 16 deletions
  1. +10
    -10
      src/page/check/chose.vue
  2. +2
    -2
      src/router/axios.js
  3. +20
    -0
      src/views/Customer/label.vue
  4. +13
    -3
      src/views/Receive/index.vue
  5. +1
    -1
      src/views/ReceivingRecords/index.vue

+ 10
- 10
src/page/check/chose.vue View File

@@ -36,16 +36,11 @@
<div class="text-1">{{ item.agentName }}</div>
<div class="text-2">
服务状态:
<template v-if="item.lockFlag == 0">
<span
style="font-size: 12px"
:style="item.residueTime > 0 ? 'color:green;' : 'color:red;'"
>{{ item.residueTime > 0 ? "服务中" : "已过期" }}</span
>
</template>
<template v-else>
<span style="font-size: 12px" :style="'color:red;'">已禁用</span>
</template>
</div>
<div class="text-3">
{{ (item.provinceName || "-") + "-" + (item.cityName || "-") }}
@@ -153,11 +148,16 @@
</div>
<div class="text-2">
服务状态:
<span
style="font-size: 12px"
:style="item.residueTime > 0 ? 'color:green;' : 'color:red;'"
>{{ item.residueTime > 0 ? "服务中" : "已过期" }}</span
>
<template v-if="item.lockFlag == 0">
<span
style="font-size: 12px"
:style="item.residueTime > 0 ? 'color:green;' : 'color:red;'"
>{{ item.residueTime > 0 ? "服务中" : "已过期" }}</span
>
</template>
<template v-else>
<span style="font-size: 12px" :style="'color:red;font-weight: bold;'">已禁用</span>
</template>
</div>
<div class="text-3">
{{ (item.provinceName || "-") + "-" + (item.cityName || "-") }}


+ 2
- 2
src/router/axios.js View File

@@ -63,8 +63,8 @@ axios.interceptors.response.use(res => {
NProgress.done()
const status = Number(res.status) || 200
const message = res.data.msg || errorCode[status] || errorCode['default']
if (status === 401) {
// if (status === 401 || status === 500) {
// if (status === 401) {
if (status === 401 || status === 500) {
idx++
if(idx==1){
Message({


+ 20
- 0
src/views/Customer/label.vue View File

@@ -1152,4 +1152,24 @@ overflow: hidden;
/deep/ .el-button--text{
color: #2671E2;
}


.itemlist {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0;
}
.item-input {
width: 100%;
padding: 4px 10px;
outline: none;
border: 1px solid #409eff;
border-radius: 4px;
overflow: auto;
line-height: 24px;
min-height: 24px;
max-height: 100px;
margin: 0 10px;
}
</style>

+ 13
- 3
src/views/Receive/index.vue View File

@@ -620,8 +620,12 @@
<!-- 需求挖掘 -->
<div v-if="zhixingcenterindex == 2" class="wajueBox">
<div style="display: flex">
<div style="padding: 0 10px;flex: 1;line-height: 44px;">挖掘执行率 {{ userinformationlist.wordFraction || 0 }}%</div>
<div style="padding: 0 10px;flex: 1;line-height: 44px;">挖掘成功率 {{ userinformationlist.wordFinishFraction || 0 }}%</div>
<div style="padding: 0 10px; flex: 1; line-height: 44px">
挖掘执行率 {{ userinformationlist.wordFraction || 0 }}%
</div>
<div style="padding: 0 10px; flex: 1; line-height: 44px">
挖掘成功率 {{ userinformationlist.wordFinishFraction || 0 }}%
</div>
</div>
<div class="wajue-title">
<div class="label1">指标</div>
@@ -629,7 +633,11 @@
<div class="label3">匹配标签</div>
</div>
</div>
<div id="zxldiv" style="height: calc(70vh - 230px)" v-if="zhixingcenterindex == 2">
<div
id="zxldiv"
style="height: calc(70vh - 230px)"
v-if="zhixingcenterindex == 2"
>
<div
style="width: 100%"
v-for="(item, index) in keyWordsList"
@@ -2019,6 +2027,7 @@ export default {
let param = {
keywordIds: "",
id: this.fileId,
projectId: this.userinformationlist.projectId,
};
let str = [];
this.Acquirecustomerintentlist2.map((item) => {
@@ -2176,6 +2185,7 @@ export default {
})
.then((res) => {
this.$message.success("保存成功");
this.init();
});
},



+ 1
- 1
src/views/ReceivingRecords/index.vue View File

@@ -300,7 +300,7 @@
></el-option>
</el-select>
</div>
<div class="div-lab">
<div class="div-lab" v-if="false">
<div class="label">销讲业务:</div>
<el-select
class="div-inp"


Loading…
Cancel
Save