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


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

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


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

@@ -1152,4 +1152,24 @@ overflow: hidden;
/deep/ .el-button--text{ /deep/ .el-button--text{
color: #2671E2; 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> </style>

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

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




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

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


Loading…
Cancel
Save