浏览代码

init

newStyle
lancer 3 年前
父节点
当前提交
2ecc03511e
共有 3 个文件被更改,包括 28 次插入5 次删除
  1. +7
    -3
      src/views/Receive/index.vue
  2. +19
    -0
      src/views/houseData/analyse.vue
  3. +2
    -2
      vue.config.js

+ 7
- 3
src/views/Receive/index.vue 查看文件

@@ -968,7 +968,8 @@ export default {
this.$api.http.updateValidInvalid({
id:this.fileId,
validInvalid:0,
invalidReason:''
invalidReason:'',
houseId:localStorage.getItem('houseId')
}).then((res) => {
this.$message({
type: "success",
@@ -1002,7 +1003,8 @@ export default {
validInvalid:'',
validInvalid:1,
invalidReason:Number(this.effectiveindex),
invalidNote:this.effectiveitext
invalidNote:this.effectiveitext,
houseId:localStorage.getItem('houseId')
}).then((res) => {
this.dialogFormVisible13=false;
this.$message({
@@ -1129,7 +1131,8 @@ export default {
this.$api.http.markConsultant({
speaker:num,
id:this.isd,
customerId:this.fileId
customerId:this.fileId,
houseId:localStorage.getItem('houseId')
}).then((res) => {
this.dialogFormVisible11=false;
this.init()
@@ -1179,6 +1182,7 @@ export default {
cupid:this.form.cupid,
wrongWord: this.form.wrongWord,
customerId:this.fileId,
houseId:localStorage.getItem('houseId')
}).then((res) => {
this.$message.success('保存成功')
})


+ 19
- 0
src/views/houseData/analyse.vue 查看文件

@@ -122,6 +122,10 @@
<div class="zuo">
<div class="title">
<div class="text1">运营目标完成排名</div>
<div style="display:flex;margin-left:auto;line-height: 54px; margin-right:20px;cursor: pointer;" >
<div :class="{ colostyle: tabFlag == 1 }" style="margin-right:10px;" @click="tabClick1(1)">达标</div>
<div :class="{ colostyle: tabFlag == 2 }" @click="tabClick1(2)">未达标</div>
</div>
</div>
<div
style="overflow-y: auto; height: 350px; width: 94%; margin: 0 auto"
@@ -151,6 +155,10 @@
<div class="zuo">
<div class="title">
<div class="text1">运营目标排名</div>
<div style="display:flex;margin-left:auto;line-height: 54px; margin-right:20px;cursor: pointer;" >
<div :class="{ colostyle: tabFlag2 == 1 }" style="margin-right:10px;" @click="tabClick2(1)">上升</div>
<div :class="{ colostyle: tabFlag2 == 2 }" @click="tabClick2(2)">下降</div>
</div>
</div>
<div
style="overflow-y: auto; height: 350px; width: 94%; margin: 0 auto"
@@ -338,6 +346,8 @@ export default {
num3: "",
},
receiveRules: {},
tabFlag:1,
tabFlag2:1,
objList: [
{
name: "顾文一",
@@ -382,6 +392,12 @@ export default {
this.getChart("data2", arr);
},
methods: {
tabClick2(idx){
this.tabFlag2=idx
},
tabClick1(idx){
this.tabFlag=idx
},
reset(){
this.receiveForm={
num1: "",
@@ -904,4 +920,7 @@ export default {
text-indent: 16px;
}
}
.colostyle{
color: #1E90FF;
}
</style>

+ 2
- 2
vue.config.js 查看文件

@@ -3,11 +3,11 @@
* https://cli.vuejs.org/zh/config/
*/
// const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
const url = 'http://62.234.122.43:9999' //王笑
// const url = 'http://62.234.122.43:9999' //王笑

const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']


正在加载...
取消
保存