Browse Source

init

newStyle
wangxiaohua 3 years ago
parent
commit
ac0e009c12
4 changed files with 40 additions and 6 deletions
  1. +4
    -2
      src/views/Receive/index.vue
  2. +17
    -1
      src/views/ReceivingRecords/index.vue
  3. +18
    -2
      src/views/Statistics/Insightintothedetails.vue
  4. +1
    -1
      vue.config.js

+ 4
- 2
src/views/Receive/index.vue View File

@@ -370,7 +370,7 @@
<div class="topyou">
<div class="pingfenbox" >
<div :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{userinformationlist.fraction|| 0}}%</div>
<div :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</div>
<div v-if="info.userRoleType==6" :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">禁忌执行</div>
</div>
<div v-if="zhixingcenterindex==0">
<div style="width: 100%;height: 44px;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
@@ -632,6 +632,7 @@
<script>
import "aplayer/dist/APlayer.min.css";
import APlayer from "aplayer";
import { getStore, setStore } from "@/util/store";
export default {
data() {
return {
@@ -692,12 +693,13 @@ export default {
textareaindex:0,
Searchcontent:[],
inputtest:'',
info:{}
};
},
mounted() {
this.fileId=this.$route.query.flag;
this.AudioIdx=this.$route.query.AudioIdx;
this.info = getStore({ name: "userInfo" });
this.init()
},
methods: {


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

@@ -249,7 +249,7 @@
<!-- scope -->
<el-table-column label="操作" align="center" width="200" fixed="right">
<template slot-scope="{ row }">
<el-button type="text" v-if="rec_index_look">查看</el-button>
<el-button type="text" v-if="rec_index_look" @click="Receivedetailsabout(row)">查看</el-button>
<el-button type="text" v-if="rec_index_text">下载文本</el-button>
<el-button type="text" v-if="rec_index_voice">下载录音</el-button>
</template>
@@ -388,6 +388,22 @@ export default {
this.zkhousePage();
},
methods: {
// 跳转接待详情
Receivedetailsabout(row){
this.$api.http.findByCusIdcusId({cusId:row.id}).then((res) => {
if(res.data.length==0){
this.$message({
message: '无录音',
type: 'warning'
});
}else{
this.$router.push({
path: "/Receive/index",
query: { flag: row.id ,AudioIdx:0},
});
}
})
},
// 接待记录列表
findbypage() {
let obj = {


+ 18
- 2
src/views/Statistics/Insightintothedetails.vue View File

@@ -108,8 +108,8 @@
</el-table-column>
<!-- scope -->
<el-table-column label="操作" align="center">
<template slot-scope="">
<div style="color: #2671E2;">查看详情</div>
<template slot-scope="{ row }">
<div style="color: #2671E2;" @click="Receivedetailsabout(row)">查看详情</div>
</template>
</el-table-column>
</el-table>
@@ -166,6 +166,22 @@ export default {
this.Accesstolevel()
},
methods: {
// 跳转接待详情
Receivedetailsabout(row){
this.$api.http.findByCusIdcusId({cusId:row.id}).then((res) => {
if(res.data.length==0){
this.$message({
message: '无录音',
type: 'warning'
});
}else{
this.$router.push({
path: "/Receive/index",
query: { flag: row.id ,AudioIdx:0},
});
}
})
},
//获取三级
Accesstolevel(){
this.options5=[];


+ 1
- 1
vue.config.js View File

@@ -5,7 +5,7 @@
// const url = 'http://pigx-gateway'
// 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.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
// const url = 'http://nitu5e.natappfree.cc' //王笑



Loading…
Cancel
Save