lancer пре 3 година
родитељ
комит
654aa57dcd
4 измењених фајлова са 56 додато и 1 уклоњено
  1. +3
    -0
      src/router/views/index.js
  2. +3
    -0
      src/views/Customer/label.vue
  3. +48
    -0
      src/views/Receive/index.vue
  4. +2
    -1
      src/views/Statistics/ReceptionOverview.vue

+ 3
- 0
src/router/views/index.js Прегледај датотеку

@@ -15,6 +15,9 @@ export default [{
component: () =>
import(/* webpackChunkName: "page" */ '@/views/Statistics/Insightintothedetails'),
name: '洞察详情',
meta: {
keepAlive: true,
}
},
{
path: '/Template/Pinspeakwords',


+ 3
- 0
src/views/Customer/label.vue Прегледај датотеку

@@ -61,6 +61,9 @@
<img class="levelimg3" src="/img/add1.png" alt="" />
<span>添加二级</span>
</span>
<span style="margin-left: 10px" v-if="data.isInterval!=0">
<el-button class="editor" type="text" size="mini" @click="() => ddeditor(node, data)">编辑</el-button>
</span>
</span>

<span v-if="data.level == 2" style="display: flex; align-items: center" >


+ 48
- 0
src/views/Receive/index.vue Прегледај датотеку

@@ -483,6 +483,7 @@
<span style="cursor:pointer" @click="texteditor(item,index)">纠正</span>
&nbsp; &nbsp;
<span style="cursor:pointer" @click="optimdel(index)">删除</span>
<span style="cursor:pointer; margin-left: 10px;" @click="editRole(item,index)">修改角色</span>
</div>
<div class="avatar">
<div v-if="item.speaker == 1">
@@ -620,6 +621,30 @@
</div>
</el-dialog>

<el-dialog title="角色纠正" :visible.sync="roleVisible" center width="600px" :close-on-click-modal="false">

<div style="margin-top: 10px;display: flex;">
<div style="line-height: 38px;">角色纠正:</div>
<el-select
v-model="roleFlag"
class="rolediv"
placeholder="请选择"
style="height: 38px;"
filterable>
<el-option
v-for="(item,index) in roleList"
:key="index"
:label="item.name"
:value="index">
</el-option>
</el-select>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="roleVisible=false">取消</el-button>
<el-button type="primary" @click="editSure()">确认</el-button>
</div>
</el-dialog>

</div>
</template>

@@ -631,6 +656,10 @@ import { getStore, setStore } from "@/util/store";
export default {
data() {
return {
roleVisible:false,
roleFlag:'0',
roleidx:'',
roleList:[],
dialogFormVisible:false,
dialogFormVisible11:false,
dialogFormVisible12:false,
@@ -722,6 +751,24 @@ export default {
this.aplayer.destroy()
},
methods: {
editSure(){
// console.log(this.roleFlag)
// this.optimizetext
// console.log(this.optimizetext[this.roleidx])
this.optimizetext[this.roleidx].speaker=this.roleFlag/1+1
// this.optimizetext[this.roleidx].speaker=2
// console.log(this.optimizetext[this.roleidx])
this.roleVisible=false
},
//修改角色
editRole(item,idx){
// console.log(item,idx)
// console.log(this.roleList)
this.roleFlag=item.speaker-1
// console.log(this.roleFlag)
this.roleidx=idx
this.roleVisible=true
},
gojianyi(){
// console.log(this.$route);
let tag={
@@ -1322,6 +1369,7 @@ export default {
})
}
}
this.roleList=this.tablist.slice(1)
if(audopbj[this.AudioIdx].speaker==null){
this.yibiaoji='未标记'
this.roleindexbiaoji=0;


+ 2
- 1
src/views/Statistics/ReceptionOverview.vue Прегледај датотеку

@@ -357,7 +357,8 @@ export default {
this.$api.api
.findHouseByUser({
orgType: localStorage.getItem("orgType"),
houseTypes:localStorage.getItem("orgType")==2||localStorage.getItem("orgType")==3?'0,3':''
// houseTypes:localStorage.getItem("orgType")==2||localStorage.getItem("orgType")==3?'0,3':''
houseTypes:''
})
.then((res) => {
this.houseList = res.data;


Loading…
Откажи
Сачувај