Browse Source

init

newStyle
lancer 3 years ago
parent
commit
848e3c8e07
2 changed files with 25 additions and 2 deletions
  1. +4
    -0
      src/page/check/chose.vue
  2. +21
    -2
      src/views/Receive/index.vue

+ 4
- 0
src/page/check/chose.vue View File

@@ -161,9 +161,11 @@
v-for="item in list"
:key="item.id"
class="tab"
style="width:220px;height:130px;"
@click="chose(item)"
>
<div class="text-1">{{ item.propertyName }}</div>
<div class="text-2">楼盘类型:{{ item.houseType==0?'正式':item.houseType==1?'试用':item.houseType==2?'演示':'测试' }}</div>
<div class="text-2">
服务状态:
<span
@@ -199,6 +201,8 @@ export default {
return {
props: {
lazy: true,
checkStrictly: true,
expandTrigger:'hover',
async lazyLoad(node, resolve) {
const { level } = node;
if (level == 0) {


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

@@ -755,10 +755,29 @@ export default {
// 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=this.roleFlag/1+1
// this.optimizetext[this.roleidx].speaker=2
// console.log(this.optimizetext[this.roleidx])
this.roleVisible=false
// this.roleVisible=false
let speaker=this.roleFlag/1+1
// return
let arr=[this.optimizetext[this.roleidx]]
arr.push()
axios({
url: `${jypath}/zk/file/updateRole`,
method: 'post',
data: {
speaker:speaker,
corpusId:this.corpusId,
transferContent:JSON.stringify(arr),
customerId:this.fileId,
}
}).then(res=>{
if(res.data.res==1){
this.optimizetext[this.roleidx].speaker=this.roleFlag/1+1
this.roleVisible=false
}
})
},
//修改角色
editRole(item,idx){


Loading…
Cancel
Save