wangxiaohua 3 yıl önce
ebeveyn
işleme
9009845a4b
6 değiştirilmiş dosya ile 76 ekleme ve 13 silme
  1. +3
    -3
      config.js
  2. +4
    -1
      pages/center/prohibited/index.vue
  3. +13
    -5
      pages/index/guide.vue
  4. +2
    -2
      pages/index/personal.vue
  5. +52
    -0
      pages/mine/details2.vue
  6. +2
    -2
      utils/http.js

+ 3
- 3
config.js Dosyayı Görüntüle

@@ -2,12 +2,12 @@
* 小程序配置文件
*/
// 此处主机域名修改成腾讯云解决方案分配的域名
var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站
// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站
// var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙
// var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
var host = 'https://zkgj.quhouse.com/api'; // 质控正式
// var host = 'https://hfju.com/api'; // 数智正式
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式
var host = 'https://hfju.com/api'; // 数智正式


var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式


+ 4
- 1
pages/center/prohibited/index.vue Dosyayı Görüntüle

@@ -117,6 +117,9 @@
this.getFreeList();
this.isnorefresh='';
}
var pages = getCurrentPages();
pages[0].$vm.path='/pages/index/index'
console.log(pages[0].$vm.path)
},
onReachBottom() {
if(this.totalRecord==this.nextPage){
@@ -207,7 +210,7 @@
})
}else{
uni.navigateTo({
url: `/pages/mine/detailsNew?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
})
}
}


+ 13
- 5
pages/index/guide.vue Dosyayı Görüntüle

@@ -53,8 +53,10 @@
};
},
onLoad(opts) {
this.name=opts.loginName ||'';
let stat=opts.path||'';
// this.name=opts.loginName ||'';
// let stat=opts.path||'';
this.name="18655732363";
let stat=1;
if(stat==1){
this.path=this.pathur3;
}else if(stat==2){
@@ -94,9 +96,15 @@
},
success: (data) => {
if (data.data.code == 10000) {
uni.switchTab({
url:this.path
});
if(this.path=='/pages/center/prohibited/index'){
uni.navigateTo({
url:this.path
});
}else{
uni.switchTab({
url:this.path
});
}
}
}
})


+ 2
- 2
pages/index/personal.vue Dosyayı Görüntüle

@@ -15,7 +15,7 @@
</view>
</view>
<view class="settingGroup box">
<navigator class="line" url="/pages/mine/subscribe">
<!-- <navigator class="line" url="/pages/mine/subscribe">
<view class="title">
<image src="/static/images/studyhot.png" style="width: 36rpx;height: 36rpx;" mode=""></image>
订阅消息
@@ -23,7 +23,7 @@
<view class="right">
<image src="/static/images/arrow.png" style="width: 18rpx;height: 32rpx;" mode=""></image>
</view>
</navigator>
</navigator> -->
<navigator class="line" url="/pages/mine/Myprofile">
<view class="title">
<image src="/static/images/setting.png" style="width: 36rpx;height: 36rpx;" mode=""></image>


+ 52
- 0
pages/mine/details2.vue Dosyayı Görüntüle

@@ -117,6 +117,9 @@
<view @click="clickbofang(dialog.backindex,item)"
style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
</view>
<!-- <view @click="Modifyrole(index,item)"
style="font-size: 24rpx;text-align: center;margin-left: 14rpx;">修改角色
</view> -->
</view>
</view>
</view>
@@ -419,6 +422,21 @@
</view>
</view>
<!-- 修改角色 -->
<view class="zhezhoa" v-if="roleisshaw" @tap="unmarktap()"></view>
<view class="bounced" v-if="roleisshaw">
<view class="jiajinghuatit">修改角色</view>
<view style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
<view class="viewclace" :class="roleindexrow == index ? 'bosdttom' : ''"
@click="rl=rolexuanze(index)" v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
<view>{{item.name}}</view>
</view>
</view>
<view class="bounced3" style="margin-top: 20rpx;">
<view class="bounced3-1" @tap="unmarktap()">取消</view>
<view class="bounced3-2" @tap="roletab()">确认</view>
</view>
</view>
</view>
</template>
@@ -506,6 +524,10 @@
textItself:'',
argtextindex1:0,
argtextindex2:0,
roleisshaw:false,
roleindexrow:0,
roletiaoshu:0,
};
},
onLoad: function(options) {
@@ -572,6 +594,35 @@
this.innerAudioContext.destroy();
},
methods: {
rolexuanze(index){
this.roleindexrow=index;
},
Modifyrole(dialog,item){
this.roleisshaw=true;
this.roletiaoshu=dialog;
this.roleindexrow=this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker-1;
},
roletab(){
this.$u.post("/corpus/updateRole", {
corpusId:this.luyinList[this.csdFileindex].id,
transferContent:[this.dialogList[this.csdFileindex].message[this.roletiaoshu]],
speaker:this.roleindexrow+1,
customerId:this.customerId
}).then(res => {
this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker=this.roleindexrow+1
this.roleisshaw=false;
this.dialogList.forEach(res => {
res.message.forEach(asd => {
asd.isshow = false;
})
})
uni.showToast({
title: '修改成功',
duration: 2000
});
})
},
argece(item){
console.log(item)
this.innerAudioContext.destroy();
@@ -855,6 +906,7 @@
unmarktap(){
this.biojiisshow=false;
this.roleindexbiaoji=this.dshfkjsdkksodofydwfkhwdfkjh;
this.roleisshaw=false
},
//确认标记
Confirmthetag(){


+ 2
- 2
utils/http.js Dosyayı Görüntüle

@@ -3,8 +3,8 @@
// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏
const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
const baseUrl = 'https://hfju.com/api'; // 数智正式

const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({


Yükleniyor…
İptal
Kaydet