diff --git a/common/globalJs/globalJs.js b/common/globalJs/globalJs.js
index 1a3e408..e4fd856 100644
--- a/common/globalJs/globalJs.js
+++ b/common/globalJs/globalJs.js
@@ -2,8 +2,8 @@
// #ifdef APP-PLUS || MP
// const baseUrl = "http://116.62.210.143:9002";
// const baseUrl = "http://118.89.79.160:8800/HiatmpPro";
-const baseUrl = "http://219.147.31.25:8800/HiatmpPro";
-// const baseUrl = "http://219.147.31.25:30001/tht-app-api/HiatmpPro";
+// const baseUrl = "http://219.147.31.25:8800/HiatmpPro";
+const baseUrl = "http://219.147.31.25:30001/tht-app-api/HiatmpPro";
const chatUrl = "http://219.147.31.25:30001/hitap";
// #endif
// #ifdef H5
diff --git a/manifest.json b/manifest.json
index 374670e..960baa6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"name" : "隐患排查",
- "appid" : "__UNI__9736764",
+ "appid" : "__UNI__F12FECC",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
@@ -43,7 +43,8 @@
},
/* ios打包配置 */
"ios" : {
- "dSYMs" : false
+ "dSYMs" : false,
+ "idfa" : false
},
/* SDK配置 */
"sdkConfigs" : {
diff --git a/pages/index/detail.vue b/pages/index/detail.vue
index 920c4c3..5ab0022 100644
--- a/pages/index/detail.vue
+++ b/pages/index/detail.vue
@@ -512,23 +512,23 @@
data.reference
);
}
- if (JSON.stringify(data.reference) != '{}') {
- if (data.reference.content != null && data.reference.title != null) {
- this.isShowYindao = true
- this.$nextTick(() => {
- this.msgList.forEach(item => {
- if (item.isOver) {
- item.data = item.data +
- `
`
- }
- })
- })
- } else {
- this.isShowYindao = false
- }
- } else {
- this.isShowYindao = false
- }
+ // if (JSON.stringify(data.reference) != '{}') {
+ // if (data.reference.content != null && data.reference.title != null) {
+ // this.isShowYindao = true
+ // this.$nextTick(() => {
+ // this.msgList.forEach(item => {
+ // if (item.isOver) {
+ // item.data = item.data +
+ // `
`
+ // }
+ // })
+ // })
+ // } else {
+ // this.isShowYindao = false
+ // }
+ // } else {
+ // this.isShowYindao = false
+ // }
this.loading = false;
if (this.isExpanded) {
this.isExpanded = !this.isExpanded;
@@ -626,10 +626,11 @@
this.scrollBottom();
if (newdata == data) {
- this.msgList[this.msgList.length - 1].data +=
- ``
- console.log('this.msgList[this.msgList.length - 1].data', this.msgList[this.msgList
- .length - 1].data)
+
+ // this.msgList[this.msgList.length - 1].data +=
+ // ``
+ // console.log('this.msgList[this.msgList.length - 1].data', this.msgList[this.msgList
+ // .length - 1].data)
if (optionType == 0 || optionType == 1) {
this.msgList[this.msgList.length - 1].optionType = optionType;
this.msgList[this.msgList.length - 1].answerOptions =
@@ -640,6 +641,29 @@
} else {
this.msgList[this.msgList.length - 1].options = answerOptions;
}
+ // this.msgList.forEach(item => {
+ // if (typeof item.reference === 'object' && item.reference.title && item
+ // .reference
+ // .content) {
+ // if (item.data.includes('\n\n')) {
+ // const strArr = item.data.split('\n\n')
+ // console.log(strArr, 'strArr')
+ // item.data = strArr.reduce((str, item, index) => {
+ // if (index === 0) {
+ // str = str + item +
+ // `
` +
+ // '\n\n'
+ // } else {
+ // str = str + item + '\n\n'
+ // }
+ // return str
+ // }, '')
+ // } else {
+ // item.data = item.data +
+ // `
`
+ // }
+ // }
+ // })
clearInterval(timer);
this.msgList[this.msgList.length - 1].isOver = true
}
@@ -655,6 +679,7 @@
];
this.scrollBottom();
}
+
this.msgList.forEach(item => {
delete item.answerOptions
})
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 6950b38..a35ea31 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -159,7 +159,8 @@
}
this.loadmorestatus = 'loading'
this.$request.globalRequest(
- `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&approve=${'1'}`, datas, 'POST')
+ `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&approve=${'1'}`,
+ datas, 'POST')
.then(res => {
this.loadmorestatus = 'loadmore'
if (res.code === 200) {
@@ -187,7 +188,8 @@
} else {
this.$.open('/pages/map/index?businessId=' + row.businessId + '§ionId=' + row.sectionCode +
'&operator=' + row.operator + '&deptId=' + row.handleDept + '&taskName=' + row.name +
- '&pcType' + row.pcType + '§ionName=' + row.sectionName + '§ionCode=' + row.sectionCode+ '&enumname=' + row.enumname+ '&deadlineStatus=' + row.deadlineStatus)
+ '&pcType' + row.pcType + '§ionName=' + row.sectionName + '§ionCode=' + row
+ .sectionCode + '&enumname=' + row.enumname + '&deadlineStatus=' + row.deadlineStatus)
}
},
konw() {
@@ -253,7 +255,7 @@
.title {
font-family: 'Tensentype-MeiHeiJ-Bold';
- font-weight: bold;
+ // font-weight: bold;
font-size: 24px;
line-height: 28px;
letter-spacing: 2px;