提交 92bd2aba authored 作者: baorencong's avatar baorencong

brc 5-18

上级 3f5eb5f4
let baseUrl = "http://192.168.1.36:8289"; // 120.55.57.35 localhost 8289 let baseUrl = "http://192.168.1.27:8289"; // 120.55.57.35 localhost 8289
let env = process.env.VUE_APP_TITLE === 'alpha' ? 'alpha' : 'production'; let env = process.env.VUE_APP_TITLE === 'alpha' ? 'alpha' : 'production';
switch (env) { switch (env) {
case 'production': case 'production':
// baseUrl = "http://192.168.1.248:8090"; // 测试环境 // baseUrl = "http://192.168.1.248:8090"; // 测试环境
baseUrl = "http://192.168.1.36:8289"; // 测试环境 baseUrl = "http://192.168.1.27:8289"; // 测试环境
break; break;
case 'alpha': case 'alpha':
// baseUrl = "https://workbook.zjtys.com.cn"; // 阿里云环境 // baseUrl = "https://workbook.zjtys.com.cn"; // 阿里云环境
baseUrl = "http://192.168.1.36:8289"; // 阿里云环境 baseUrl = "http://192.168.1.27:8289"; // 阿里云环境
break; break;
} }
// https://workbook.zjtys.com.cn:8289 // https://workbook.zjtys.com.cn:8289
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<!--</div>--> <!--</div>-->
<!--</li>--> <!--</li>-->
<!--</ul>--> <!--</ul>-->
<messageList :addressListDialog="addressListDialog" @close="closeDialog"></messageList> <messageList :addressListDialog="addressListDialog" @close="closeDialog" v-if="addressListDialog"></messageList>
<password :showPasswordDialog="showPasswordDialog" @close="closePassword"></password> <password :showPasswordDialog="showPasswordDialog" @close="closePassword"></password>
</div> </div>
</template> </template>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
name: '', name: '',
showExpand: false, showExpand: false,
addressListDialog: false, //控制消息弹窗 addressListDialog: false, //控制消息弹窗
readMessage: 1, //未读消息提示 readMessage: 0, //未读消息提示
}; };
}, },
//监听属性 类似于data概念 //监听属性 类似于data概念
......
...@@ -83,38 +83,7 @@ ...@@ -83,38 +83,7 @@
currentPage: 1, currentPage: 1,
pageSize: 10, pageSize: 10,
total: 0, total: 0,
messageList: [ messageList: [],
{
timer: '2019-11-11',
name1: '鲍仁聪',
name2: '鲍仁聪',
describe: '啊实打实到达时间哦i啊就是的奥i设计大赛啊实打实的啊实打实的'
},
{
timer: '2019-11-11',
name1: '鲍仁聪',
name2: '鲍仁聪',
describe: '啊实打实到达时间哦i啊就是的奥i设计大赛啊实打实的啊实打实的'
},
{
timer: '2019-11-11',
name1: '鲍仁聪',
name2: '鲍仁聪',
describe: '啊实打实到达时间哦i啊就是的奥i设计大赛啊实打实的啊实打实的'
},
{
timer: '2019-11-11',
name1: '鲍仁聪',
name2: '鲍仁聪',
describe: '啊实打实到达时间哦i啊就是的奥i设计大赛啊实打实的啊实打实的'
},
{
timer: '2019-11-11',
name1: '鲍仁聪',
name2: '鲍仁聪',
describe: '啊实打实到达时间哦i啊就是的奥i设计大赛啊实打实的啊实打实的'
}
],
options: [ options: [
{ {
value: '1', value: '1',
...@@ -158,10 +127,10 @@ ...@@ -158,10 +127,10 @@
this.$axios.getFindNotReadNotice(id).then((res) => { this.$axios.getFindNotReadNotice(id).then((res) => {
console.log('未处理的通知-----', res) console.log('未处理的通知-----', res)
this.messageList = res.data; this.messageList = res.data;
// if(!this.messageList.length) { if(this.messageList.length != 0) {
// console.log('---------------------qwdqwdq-') console.log('---------------------qwdqwdq-')
// this.$parent.changeReadMessage(0); this.$parent.changeReadMessage(0);
// } }
}) })
}, },
getFindReadNotice() { //查询所有我发起的通知 getFindReadNotice() { //查询所有我发起的通知
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论