vue2-client 1.8.117 → 1.8.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.117",
3
+ "version": "1.8.119",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -80,7 +80,7 @@ const GetAppDataService = {
80
80
  }
81
81
  },
82
82
  // 新版获取配置中心字典推荐使用 服务名默认为当前服务
83
- getDictByKey (dictKey, serviceName = process.env.VUE_APP_SYSTEM_NAME, callback) {
83
+ getDictByKey (dictKey, serviceName = process.env.VUE_APP_SYSTEM_NAME, callback) {
84
84
  getConfigByName(dictKey, undefined, result => {
85
85
  callback(result.value)
86
86
  })
@@ -6,7 +6,7 @@
6
6
  <a-row>
7
7
  <ChartSelector :rawData="pane.content" v-if="pane?.content?.length"/>
8
8
  </a-row>
9
- <EvaluationArea :uuid="pane.key" v-if="pane.key && pane.content" @submitEvaluationLib="submitEvaluationLib"/>
9
+ <!-- <EvaluationArea :uuid="pane.key" v-if="pane.key && pane.content" @submitEvaluationLib="submitEvaluationLib"/>-->
10
10
  </a-row>
11
11
  </template>
12
12
 
@@ -10,6 +10,9 @@
10
10
  :rowKey="record => record.id">
11
11
  <template slot="footer">
12
12
  <a-space>
13
+ <span>
14
+ <strong>{{ `总行数 : ${tableData.length}` }}</strong>
15
+ </span>
13
16
  <span v-for="column in tableColumns" :key="column.key">
14
17
  <strong v-if="column.sum !== undefined">{{ `${column.key} : ${column.sum}` }}</strong>
15
18
  </span>
@@ -117,6 +117,13 @@
117
117
  </span>
118
118
  </a-list-item-meta>
119
119
  <a-space>
120
+ <a-tooltip title="查看元数据">
121
+ <a-icon
122
+ v-if="renderItem.data"
123
+ type="eye"
124
+ @click.stop="openMetaDataModal(renderItem)"/>
125
+ </a-tooltip>
126
+ <span>&emsp;</span>
120
127
  <a-tooltip :title="renderItem.isFavorite ? '取消收藏' : '收藏'" v-if="renderItem.sql">
121
128
  <a-icon
122
129
  type="star"
@@ -213,9 +220,9 @@ export default {
213
220
  color: '#FF4F53'
214
221
  },
215
222
  2: {
216
- icon: 'frown',
217
- text: '待改进',
218
- color: '#52c41a'
223
+ icon: 'dislike',
224
+ text: '不满意',
225
+ color: '#FF4F53'
219
226
  }
220
227
  }, // 对话库
221
228
  // 元数据窗口
@@ -130,6 +130,7 @@ export default {
130
130
  uuid: uuid,
131
131
  question: value,
132
132
  queryType: queryType,
133
+ evaluation: -1,
133
134
  filterTable: res.filter_table,
134
135
  prompt: res.prompt,
135
136
  relationTable: res.relation_table,