Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
396572590@qq.com
2022-06-20 15:11:09 +08:00
4 changed files with 15 additions and 11 deletions
@@ -396,7 +396,7 @@
<loading :loading="dataLoading">正在加载数据</loading> <loading :loading="dataLoading">正在加载数据</loading>
</div> </div>
<div class="info-answer"> <div class="info-answer">
<answer-item @emitInsState="emitInsState"></answer-item> <answer-item :key="aiKey" :list="answerList" @roleFlagBoo="roleFlagBooFunc" @emitInsState="emitInsState"></answer-item>
</div> </div>
</el-tab-pane> </el-tab-pane>
</template> </template>
@@ -457,7 +457,7 @@
<loading :loading="dataLoading">正在加载数据</loading> <loading :loading="dataLoading">正在加载数据</loading>
</div> </div>
<div class="info-answer"> <div class="info-answer">
<answer-item @emitInsState="emitInsState"></answer-item> <answer-item :key="aiKey" :list="answerList" @roleFlagBoo="roleFlagBooFunc" @emitInsState="emitInsState"></answer-item>
</div> </div>
</el-tab-pane> </el-tab-pane>
</template> </template>
@@ -520,7 +520,7 @@
<loading :loading="dataLoading">正在加载数据</loading> <loading :loading="dataLoading">正在加载数据</loading>
</div> </div>
<div class="info-answer"> <div class="info-answer">
<answer-item @emitInsState="emitInsState"></answer-item> <answer-item :key="aiKey" :list="answerList" @roleFlagBoo="roleFlagBooFunc" @emitInsState="emitInsState"></answer-item>
</div> </div>
</el-tab-pane> </el-tab-pane>
</template> </template>
@@ -830,7 +830,7 @@
</el-form> </el-form>
</div> </div>
<span>相似历史问题:</span> <span>相似历史问题:</span>
<div style="height: 200px; width: 80%; margin-left: 80px;"> <div style="height: 200px; width: 80%; margin-left: 80px;overflow-y: auto;">
<div v-for="item in historyList" :key="item.id" @click="historyJump(item)"> <div v-for="item in historyList" :key="item.id" @click="historyJump(item)">
<span class="history-item">{{item.problemDescription}}</span> <span class="history-item">{{item.problemDescription}}</span>
<span class="history-item">{{item.questionTime}}</span> <span class="history-item">{{item.questionTime}}</span>
@@ -1860,13 +1860,13 @@ export default {
overflow: auto !important; overflow: auto !important;
} }
#my-questions{ #my-questions{
height: 100%; height: calc(100vh - 75px);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: #F5F7FA; background: #F5F7FA;
margin-bottom: 10px; margin-bottom: 10px;
.tab-box{ .tab-box{
height: 100%; height: 93%;
} }
.type-tabs { .type-tabs {
/deep/.el-tabs__header { /deep/.el-tabs__header {
@@ -220,7 +220,7 @@
align="center" align="center"
label="电话"> label="电话">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.tel_phone" placeholder="请填写单位"/> <el-input v-model="scope.row.tel_phone" placeholder="请填写电话"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -1033,7 +1033,8 @@ export default {
questionClick(){ questionClick(){
sessionStorage.setItem('queId', this.activeQue) sessionStorage.setItem('queId', this.activeQue)
this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsByakId',{
id: this.activeQue id: this.activeQue,
state: 'yes'
},{ },{
_this: this _this: this
}, res => { }, res => {
@@ -1068,6 +1069,7 @@ export default {
questioner: this.$store.getters.userInfo.userId, //提问人 questioner: this.$store.getters.userInfo.userId, //提问人
problemDescription: '', //关键词/问题描述 problemDescription: '', //关键词/问题描述
} }
this.standSearch2()
}, },
searchBtn(){ searchBtn(){
this.questionSerach.classification = this.activeType this.questionSerach.classification = this.activeType
@@ -1256,13 +1258,13 @@ export default {
overflow: auto; overflow: auto;
} }
#my-questions{ #my-questions{
height: 100%; height: calc(100vh - 75px);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: #F5F7FA; background: #F5F7FA;
margin-bottom: 10px; margin-bottom: 10px;
.tab-box{ .tab-box{
height: 100%; height: 93%;
} }
.type-tabs { .type-tabs {
/deep/.el-tabs__header { /deep/.el-tabs__header {
@@ -267,8 +267,8 @@
<div class="AllBoxTitle"> <div class="AllBoxTitle">
<span v-html="item.indexType === 'stand' ? '国内标准法规' : (item.indexType === 'FOREIGN' ? '海外标准法规' : (item.indexType === 'laws' ? '国内外政策' : (item.indexType === 'bussstand' ? '企业标准' : (item.indexType === 'items' ? '数据化条目' : '动态&资料'))))" class="typetext"></span> <span v-html="item.indexType === 'stand' ? '国内标准法规' : (item.indexType === 'FOREIGN' ? '海外标准法规' : (item.indexType === 'laws' ? '国内外政策' : (item.indexType === 'bussstand' ? '企业标准' : (item.indexType === 'items' ? '数据化条目' : '动态&资料'))))" class="typetext"></span>
<span style="cursor:pointer;" class="AllBoxText" v-html="item.title" @click="toPage(item)"></span> <span style="cursor:pointer;" class="AllBoxText" v-html="item.title" @click="toPage(item)"></span>
<span @click="checkItems(item)" class="more" style="cursor: pointer; position: absolute; right: 5px;">详情</span>
</div> </div>
<span @click="checkItems(item)" class="more" style="cursor: pointer; position: absolute; right: 0;top: 13px;">详情</span>
<div class="AllBoxContent" v-html="item.textContent"></div> <div class="AllBoxContent" v-html="item.textContent"></div>
<div v-if="item.indexType !== 'items' && item.indexType !== 'msgdyinfo'" class="AllTime"> <div v-if="item.indexType !== 'items' && item.indexType !== 'msgdyinfo'" class="AllTime">
<div style="margin-right: 15px;">发布日期: {{ item.issue_time !== null && item.issue_time !== '' ? dateFormat2(item.issue_time) : '--' }} </div> <div style="margin-right: 15px;">发布日期: {{ item.issue_time !== null && item.issue_time !== '' ? dateFormat2(item.issue_time) : '--' }} </div>
@@ -2809,6 +2809,7 @@
height: 29px; height: 29px;
} }
.AllBox { .AllBox {
position: relative;
margin-top: 20px; margin-top: 20px;
background-color: #fff; background-color: #fff;
border-radius: 20px; border-radius: 20px;
@@ -2817,6 +2818,7 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
.AllBoxTitle { .AllBoxTitle {
width: 98%;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
text-overflow:ellipsis; text-overflow:ellipsis;