Authored by 王涛

Merge branch 'master-v32-xwx' into 'master'

杭州-缓存数据-缓存数据优化



See merge request !364
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 <div v-html="getTextContent(scope.row[item.prop])"> 25 <div v-html="getTextContent(scope.row[item.prop])">
26 </div> 26 </div>
27 </template> 27 </template>
28 - <div style="overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;"> 28 + <div style="overflow: hidden; text-overflow: ellipsis; font-size:15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;">
29 {{scope.row[item.prop]}} 29 {{scope.row[item.prop]}}
30 </div> 30 </div>
31 </el-tooltip> 31 </el-tooltip>
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <el-row> 2 <el-row>
3 <el-col :span="24"> 3 <el-col :span="24">
4 <div class="flex-div-start margin-top-bottom-10"> 4 <div class="flex-div-start margin-top-bottom-10">
5 - <el-input class="margin-right-10" v-model="keyword" placeholder="输入关键字" /> 5 + <el-input class="margin-right-10" @keydown.enter.native="onBtnSearch()" v-model="keyword" placeholder="输入关键字" />
6 6
7 <div class="flex-div-start"> 7 <div class="flex-div-start">
8 8
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 <el-col :span="24" class="flex-div-start margin-bottom-10"> 26 <el-col :span="24" class="flex-div-start margin-bottom-10">
27 27
28 <!-- <span>匹配项:{{num}}个</span>--> 28 <!-- <span>匹配项:{{num}}个</span>-->
29 - <span>[筛选:{{keyword}}]({{count}})</span> 29 + <span style="font-size:15px;">[筛选:{{keyword}}]({{count}})</span>
30 30
31 </el-col> 31 </el-col>
32 </el-row> 32 </el-row>
@@ -82,6 +82,9 @@ export default { @@ -82,6 +82,9 @@ export default {
82 proxy.$http.get(`/api-web/manage/ddic/page`, params, function (res) { 82 proxy.$http.get(`/api-web/manage/ddic/page`, params, function (res) {
83 if (res && res.data) { 83 if (res && res.data) {
84 tagData.value=res.data; 84 tagData.value=res.data;
  85 + checkedId.value = res.data[0].ddicCode;
  86 + keyword.value=res.data[0].ddicCode;
  87 + getDataList();
85 } 88 }
86 }); 89 });
87 } 90 }
@@ -155,7 +158,6 @@ export default { @@ -155,7 +158,6 @@ export default {
155 }); 158 });
156 } 159 }
157 160
158 -  
159 } 161 }
160 //关闭弹框回调函数 162 //关闭弹框回调函数
161 let closeDialog=()=>{ 163 let closeDialog=()=>{
@@ -169,7 +171,6 @@ export default { @@ -169,7 +171,6 @@ export default {
169 // 挂载完 171 // 挂载完
170 Vue.onMounted(() => { 172 Vue.onMounted(() => {
171 getConf(); 173 getConf();
172 - getDataList();  
173 174
174 }) 175 })
175 return { 176 return {