From b131e9bb15cd8ffe062231f43c3c2f0ae90cf844 Mon Sep 17 00:00:00 2001
From: jialh <1972868360@qq.com>
Date: 星期三, 18 十二月 2024 16:41:34 +0800
Subject: [PATCH] 一键企业画像表格布局
---
src/view/IntelligentAgent/myAgent.vue | 32 ++++-
src/view/echarts/tree.vue | 16 +-
src/view/IntelligentAgent/allAgent.vue | 20 ++-
src/view/IntelligentAgent/chat.vue | 2
src/components/main/components/user/user.vue | 4
src/router/index.js | 81 ++++++++--------
src/view/echarts/radar.vue | 91 ++++++++---------
7 files changed, 131 insertions(+), 115 deletions(-)
diff --git a/src/components/main/components/user/user.vue b/src/components/main/components/user/user.vue
index 1638db0..af142c2 100644
--- a/src/components/main/components/user/user.vue
+++ b/src/components/main/components/user/user.vue
@@ -14,8 +14,8 @@
<!-- <DropdownItem name="changePassword">淇敼瀵嗙爜</DropdownItem>-->
<DropdownItem name="reportCenter">鏀跨瓥鏀惰棌</DropdownItem>
<DropdownItem name="accountCash">鏀跨瓥鎺ㄩ��</DropdownItem>
- <DropdownItem name="tree">鍏徃鍥捐氨</DropdownItem>
- <DropdownItem name="radar">鍏徃鐢诲儚</DropdownItem>
+ <!-- <DropdownItem name="tree">鍏徃鍥捐氨</DropdownItem>
+ <DropdownItem name="radar">鍏徃鐢诲儚</DropdownItem> -->
<DropdownItem name="logout">瀹夊叏閫�鍑�</DropdownItem>
</DropdownMenu>
</Dropdown>
diff --git a/src/router/index.js b/src/router/index.js
index 83af387..801cc0f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -208,46 +208,47 @@
name: 'login'
})
}
- if (user.Msg.indexOf('绯荤粺鏃犻粯璁ら」鐩�') > -1 && ['newsFlash_tool', 'originalText', 'basicAttributes_tool', 'fundMonitoring', 'editFundMonitoring', 'paymentMonitoring', 'flowAnalysis', 'flowAnalysisTab3', 'flowAnalysisTab2', 'checkGQJGT', 'offSiteCheckQYTP'].indexOf(to.name) == -1) {
- switch (user.ShowType) {
- case 'tips_info':
- Message.info(user.Msg)
- break
- case 'tips_success':
- Message.success(user.Msg)
- break
- case 'tips_warning':
- Message.warning(user.Msg)
- break
- case 'tips_error':
- Message.error(user.Msg)
- break
- case 'modal_info':
- Modal.info({
- title: '娑堟伅',
- content: user.Msg
- })
- break
- case 'modal_success':
- Modal.success({
- title: '鎴愬姛',
- content: user.Msg
- })
- break
- case 'modal_warning':
- Modal.warning({
- title: '璀﹀憡',
- content: user.Msg
- })
- break
- case 'modal_error':
- Modal.error({
- title: '閿欒',
- content: user.Msg
- })
- break
- }
- }
+ //鍙栨秷"绯荤粺鏃犻粯璁ら」鐩紝璇烽�夋嫨宸叉湁椤圭洰鎴栧垱寤烘柊椤圭洰锛�"寮圭獥
+ // if (user.Msg.indexOf('绯荤粺鏃犻粯璁ら」鐩�') > -1 && ['newsFlash_tool', 'originalText', 'basicAttributes_tool', 'fundMonitoring', 'editFundMonitoring', 'paymentMonitoring', 'flowAnalysis', 'flowAnalysisTab3', 'flowAnalysisTab2', 'checkGQJGT', 'offSiteCheckQYTP'].indexOf(to.name) == -1) {
+ // switch (user.ShowType) {
+ // case 'tips_info':
+ // Message.info(user.Msg)
+ // break
+ // case 'tips_success':
+ // Message.success(user.Msg)
+ // break
+ // case 'tips_warning':
+ // Message.warning(user.Msg)
+ // break
+ // case 'tips_error':
+ // Message.error(user.Msg)
+ // break
+ // case 'modal_info':
+ // Modal.info({
+ // title: '娑堟伅',
+ // content: user.Msg
+ // })
+ // break
+ // case 'modal_success':
+ // Modal.success({
+ // title: '鎴愬姛',
+ // content: user.Msg
+ // })
+ // break
+ // case 'modal_warning':
+ // Modal.warning({
+ // title: '璀﹀憡',
+ // content: user.Msg
+ // })
+ // break
+ // case 'modal_error':
+ // Modal.error({
+ // title: '閿欒',
+ // content: user.Msg
+ // })
+ // break
+ // }
+ // }
}).catch(() => {
setToken('')
next({
diff --git a/src/view/IntelligentAgent/allAgent.vue b/src/view/IntelligentAgent/allAgent.vue
index 4a8d6cd..b3b4fa7 100644
--- a/src/view/IntelligentAgent/allAgent.vue
+++ b/src/view/IntelligentAgent/allAgent.vue
@@ -146,13 +146,19 @@
},
chat(item) {
- this.$router.push({
- path: '/AgentChat',
- query: {
- chatInfo: JSON.stringify(item)
- }
- })
-
+ if (item.SystemRouting) {
+ console.log('绯荤粺璺敱涓嶅彲瀵硅瘽')
+ this.$router.push({
+ path: item.SystemRouting,
+ })
+ } else {
+ this.$router.push({
+ path: '/AgentChat',
+ query: {
+ chatInfo: JSON.stringify(item)
+ }
+ })
+ }
},
changePage(e) {
diff --git a/src/view/IntelligentAgent/chat.vue b/src/view/IntelligentAgent/chat.vue
index 6098448..081e3d1 100644
--- a/src/view/IntelligentAgent/chat.vue
+++ b/src/view/IntelligentAgent/chat.vue
@@ -266,7 +266,7 @@
this.scrollToBottom();
}
- }, 50);
+ }, 30);
},
formatMessage(message) {
message = message.replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>');
diff --git a/src/view/IntelligentAgent/myAgent.vue b/src/view/IntelligentAgent/myAgent.vue
index 432694a..0e61bde 100644
--- a/src/view/IntelligentAgent/myAgent.vue
+++ b/src/view/IntelligentAgent/myAgent.vue
@@ -57,7 +57,7 @@
<Icon custom="custom custom-bianji" size="18" style="color: #999;"
@click.stop="goedit(item)" />
</Tooltip>
- <Tooltip v-if="item.Permission==2" content="绉佷汉" class="tableActionMargin" theme="light">
+ <Tooltip v-if="item.Permission == 2" content="绉佷汉" class="tableActionMargin" theme="light">
<Icon custom="iconfont icon-lock" size="18" style="color: #999;" />
</Tooltip>
</div>
@@ -110,6 +110,8 @@
<Input v-model="formItem.ModelApi" placeholder="璇疯緭鍏ユā鍨婣PI(闈炲繀濉�)" />
<div style="margin-top: 10px;font-weight: 600;">妯″瀷KEY(闈炲繀濉�)</div>
<Input v-model="formItem.ModelKey" placeholder="璇疯緭鍏ユā鍨婯EY(闈炲繀濉�)" />
+ <div style="margin-top: 10px;font-weight: 600;">绯荤粺璺敱(闈炲繀濉�)</div>
+ <Input v-model="formItem.SystemRouting" placeholder="绯荤粺璺敱(闈炲繀濉�)" />
<div style="margin-top: 10px;font-weight: 600;">鏉冮檺璁剧疆</div>
<Select v-model="formItem.Permission" filterable default-label="鍏紑 路 鎵�鏈変汉鍙璇�">
<Option v-for="(option, index) in options" :value="option.value" :key="index">{{ option.label }}
@@ -156,6 +158,8 @@
<Input v-model="formItem.ModelApi" placeholder="璇疯緭鍏ユā鍨婣PI(闈炲繀濉�)" />
<div style="margin-top: 10px;font-weight: 600;">妯″瀷KEY(闈炲繀濉�)</div>
<Input v-model="formItem.ModelKey" placeholder="璇疯緭鍏ユā鍨婯EY(闈炲繀濉�)" />
+ <div style="margin-top: 10px;font-weight: 600;">绯荤粺璺敱(闈炲繀濉�)</div>
+ <Input v-model="formItem.SystemRouting" placeholder="绯荤粺璺敱(闈炲繀濉�)" />
<div style="margin-top: 10px;font-weight: 600;">鏉冮檺璁剧疆</div>
<Select v-model="formItem.Permission" filterable default-label="鍏紑 路 鎵�鏈変汉鍙璇�">
<Option v-for="(option, index) in options" :value="option.value" :key="index">{{ option.label }}
@@ -202,7 +206,8 @@
CreatorId: this.userId,
Prompt: '',
ModelApi: '',
- ModelKey: ''
+ ModelKey: '',
+ SystemRouting: ''
},
isDisabled: false, // 灞曠ず璇︽儏鏃朵负TRUE
@@ -261,13 +266,19 @@
reader.readAsDataURL(e.target.files[0]);
},
chat(item) {
- this.$router.push({
- path: '/AgentChat',
- query: {
- chatInfo: JSON.stringify(item)
- }
- })
-
+ if (item.SystemRouting) {
+ console.log('绯荤粺璺敱涓嶅彲瀵硅瘽')
+ this.$router.push({
+ path: item.SystemRouting,
+ })
+ } else {
+ this.$router.push({
+ path: '/AgentChat',
+ query: {
+ chatInfo: JSON.stringify(item)
+ }
+ })
+ }
},
changePage(e) {
this.PageNum = e
@@ -394,6 +405,8 @@
},
// 鑾峰彇鏁版嵁鍒楄〃
getAgentDataList() {
+ console.log('origin======', window.location.origin);
+
this.loading = true;
let data = {
Keyword: this.searchQuery,
@@ -573,6 +586,7 @@
<style scoped>
@import url("http://at.alicdn.com/t/c/font_4776342_gl8cdk3qwyb.css");
+
.container {
padding-top: 20px;
width: 1000px;
diff --git a/src/view/echarts/radar.vue b/src/view/echarts/radar.vue
index 1ea9285..bb2ff4c 100644
--- a/src/view/echarts/radar.vue
+++ b/src/view/echarts/radar.vue
@@ -6,9 +6,10 @@
<textarea v-model="message" placeholder="璇疯緭鍏ュ叕鍙稿悕绉帮紙蹇呭~锛�"></textarea>
<button onclick="document.getElementById('file').click()">璇蜂笂浼犲敖璋冩姤鍛�</button>
<input type="file" id="file" accept=".doc,.docx" @change="getFiles($event)" style="display: none" />
- <p class="file-tit">宸查�夋嫨鏂囦欢: <span v-if="selectedFile"> {{ selectedFile.name }}</span></p>
+ <p class="file-tit">宸查�夋嫨鏂囦欢: <span v-if="selectedFile"> {{ selectedFile.name }}</span> <span v-else>鏆傛棤</span> </p>
<button @click="generateChart" :disabled="disableButton"
:class="{ 'disabled-button': disableButton }">涓�閿敓鎴�</button>
+ <!-- <button style="margin-top: 20px;" @click="GetSaveExcel">涓嬭浇excel</button> -->
</div>
<div class="echarts-box">
<div class="radar-box" v-show="!loadingSub">
@@ -27,7 +28,7 @@
<table border="1" style="border-collapse: collapse; width: 100%;">
<thead>
<tr>
- <th v-for="(header, index) in headers" :key="index">{{ header }}</th>
+ <th v-for="(header, index) in headers" :key="index" :style="{ width: headerWidths[index] ,textAlign: 'center'}">{{ header }}</th>
</tr>
</thead>
<tbody>
@@ -89,11 +90,12 @@
childLength: [],
selectedFile: null,
fileUrl: '',
-
+ excelData:'',
scores: {}, // 瀛樺偍鎺ュ彛杩斿洖鐨勫緱鍒嗘暟鎹�
categoryScores: {}, // 瀛樺偍澶х被璇勫垎
totalScore: 0, // 鎬诲垎
dynamicData: {}, // 瀛樺偍鍔ㄦ�佹暟鎹�
+ headerWidths: ['113px', '150px', '150px', 'auto', '50px', '50px', '80px', '50px'], // 鑷畾涔夊搴�
headers: [
'浼佷笟璇勫垎',
'璇勪环缁村害',
@@ -128,7 +130,7 @@
{ value: '瀹㈡埛澧為暱鐜�', rowspan: 1, colspan: 1 },
{ value: '瓒婂瓒婂ソ', rowspan: 1, colspan: 1 },
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '瀹㈡埛涓庡競鍦烘墿灞曠淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '瀹㈡埛澧為暱鐜�', rowspan: 1, colspan: 1 },
],
[
{ value: '鍝佺墝鐭ュ悕搴�', rowspan: 1, colspan: 1 },
@@ -142,11 +144,11 @@
{ value: '绀句氦濯掍綋鍙備笌搴�', rowspan: 1, colspan: 1 },
{ value: '瓒婂瓒婂ソ', rowspan: 1, colspan: 1 },
{ value: '5', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '绀句氦濯掍綋涓庝簰鍔ㄧ淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '绀句氦濯掍綋鍙備笌搴�', rowspan: 1, colspan: 1 },
],
[
{ value: '鍒涙柊涓庣爺鍙戠淮搴�', rowspan: 1, colspan: 1 },
- { value: '鍒涙柊鑳藉姏', rowspan: 1, colspan: 1 },
+ { value: '浼佷笟娲昏穬搴﹀垱鏂拌兘鍔�', rowspan: 1, colspan: 1 },
{
value:
'鍒嗘瀽浼佷笟鐨勭爺鍙戞垚鏋滐紝濡備笓鍒╂暟閲忋�佹柊浜у搧鎺ㄥ嚭閫熷害绛夛紝璇勪及浼佷笟鐨勬妧鏈垱鏂拌兘鍔涘拰鎴愰暱娼滃姏銆�',
@@ -154,7 +156,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '鍒涙柊涓庣爺鍙戠淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '浼佷笟娲昏穬搴﹀垱鏂拌兘鍔�', rowspan: 1, colspan: 1 },
],
// 杩愯惀涓庣鐞嗙淮搴�
[
@@ -167,7 +169,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '杩愯惀涓庣鐞嗙淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '杩愯惀鐘舵��', rowspan: 1, colspan: 1 },
],
[
{ value: '浼佷笟鍙樻洿澶囨娆℃暟', rowspan: 1, colspan: 1 },
@@ -191,7 +193,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '鎴愰暱涓庢墿寮犵淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '鍒嗘敮鏈烘瀯寮�璁炬暟閲�', rowspan: 1, colspan: 1 },
],
[
{ value: '瀵瑰鎶曡祫浼佷笟鏁�', rowspan: 1, colspan: 1 },
@@ -214,7 +216,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '澶栭儴鏀寔涓庤祫婧愮淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '璧勬湰娲昏穬搴�', rowspan: 1, colspan: 1 },
],
// 浼佷笟鍚堟硶鍚堣
[
@@ -228,7 +230,7 @@
colspan: 1,
},
{ value: '20', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '浼佷笟鍚堟硶鍚堣', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '娉曞緥娉曡閬靛畧', rowspan: 1, colspan: 1 },
{ key: '寰楀垎', value: '澶х被璇勫垎2', rowspan: 6, colspan: 1 },
],
[
@@ -274,7 +276,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '澶栭儴鍚堣璁よ瘉涓庣洃绠�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '澶栭儴璁よ瘉', rowspan: 1, colspan: 1 },
],
[
{ value: '鐩戠閰嶅悎', rowspan: 1, colspan: 1 },
@@ -299,7 +301,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '浼佷笟鍙戝睍鍔�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '鐩堝埄鑳藉姏姣涘埄鐜�', rowspan: 1, colspan: 1 },
{ key: '寰楀垎', value: '澶х被璇勫垎3', rowspan: 10, colspan: 1 },
],
[
@@ -342,7 +344,7 @@
{ key: '寰楀垎', value: '鍋垮�鸿兘鍔涜祫浜ц礋鍊虹巼', rowspan: 1, colspan: 1 },
],
[
- { value: '绛硅祫娲诲姩鐜伴噾娴侀噺', rowspan: 1, colspan: 1 },
+ { value: '鍋垮�鸿兘鍔涚璧勬椿鍔ㄧ幇閲戞祦閲�', rowspan: 1, colspan: 1 },
{
value:
'绛硅祫娲诲姩鐜伴噾娴侀噺锛氫綋鐜颁紒涓氱闆嗚祫閲戠殑鑳藉姏鍜屾柟寮忋�備紒涓氳兘澶熼�氳繃鑲℃潈铻嶈祫銆佸�哄埜鍙戣绛夋柟寮忕闆嗗埌璧勯噾锛屼负鍙戝睍鎻愪緵蹇呰鐨勮祫閲戞敮鎸併��',
@@ -350,7 +352,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '绛硅祫娲诲姩鐜伴噾娴侀噺', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '鍋垮�鸿兘鍔涚璧勬椿鍔ㄧ幇閲戞祦閲�', rowspan: 1, colspan: 1 },
],
// 甯傚満缁村害
[
@@ -363,7 +365,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '甯傚満缁村害', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '瀹㈡埛婊℃剰搴︿笌蹇犺瘹搴�', rowspan: 1, colspan: 1 },
],
[
{ value: '瀹㈡埛蹇犺瘹搴�', rowspan: 1, colspan: 1 },
@@ -386,7 +388,7 @@
colspan: 1,
},
{ value: '10', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '浜哄姏璧勬簮缁村害', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '浜烘墠缁撴瀯', rowspan: 1, colspan: 1 },
],
[
{ value: '浜烘墠婵�鍔辨満鍒�', rowspan: 1, colspan: 1 },
@@ -411,7 +413,7 @@
colspan: 1,
},
{ value: '20', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '浼佷笟鎴愰暱鎬�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '鐮斿彂鎶曞叆', rowspan: 1, colspan: 1 },
{ key: '寰楀垎', value: '澶х被璇勫垎4', rowspan: 6, colspan: 1 },
],
[
@@ -446,7 +448,7 @@
colspan: 1,
},
{ value: '20', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '绠$悊缁村害', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '鎴樼暐瑙勫垝涓庢墽琛�', rowspan: 1, colspan: 1 },
],
[
{ value: '缁勭粐鏋舵瀯浼樺寲', rowspan: 1, colspan: 1 },
@@ -482,7 +484,7 @@
colspan: 1,
},
{ value: '20', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '浼佷笟灏变笟甯﹀姩', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '鍛樺伐鏁伴噺澧為暱', rowspan: 1, colspan: 1 },
{ key: '寰楀垎', value: '澶х被璇勫垎5', rowspan: 5, colspan: 1 },
],
[
@@ -506,7 +508,7 @@
colspan: 1,
},
{ value: '20', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '浜т笟鍏宠仈缁村害', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '涓婁笅娓镐紒涓氬甫鍔�', rowspan: 1, colspan: 1 },
],
[
{ value: '浜т笟闆嗙兢鏁堝簲', rowspan: 1, colspan: 1 },
@@ -529,7 +531,7 @@
colspan: 1,
},
{ value: '20', rowspan: 1, colspan: 1 },
- { key: '寰楀垎', value: '鎶�鑳芥彁鍗囩淮搴�', rowspan: 1, colspan: 1 },
+ { key: '寰楀垎', value: '浜у鐮斿悎浣�', rowspan: 1, colspan: 1 },
],
],
}
@@ -582,7 +584,8 @@
// 鍘婚櫎鍓嶅悗鐨勪腑鏂囧紩鍙�
// console.log('json2222:',json);
let outputValue = json.output.replace(/[\n]/g, "").replace(/ /g, ''); // 鑾峰彇 "output" 鐨勫��
- // console.log('outputValue2222:',outputValue);
+ console.log('outputValue2222:',outputValue);
+ this.excelData=outputValue
// 瑙f瀽瀛楃涓�
const parsedData = outputValue.split(',').map(item => {
const [key, value] = item.split('锛�'); // 浣跨敤涓枃鍐掑彿鍒嗗壊
@@ -696,24 +699,6 @@
console.error('鑾峰彇寰楀垎鏁版嵁澶辫触:', error);
}
},
- // 璋冪敤鎺ュ彛鑾峰彇鍔ㄦ�佹暟鎹�
- async fetchDynamicData() {
- try {
- // // 妯℃嫙鎺ュ彛璋冪敤
- // const response = await fetch('/api/getDynamicData');
- // const data = await response.json();
- // // 灏嗗姩鎬佹暟鎹瓨鍌ㄥ埌 dynamicData 瀵硅薄涓�
- // this.dynamicData = data.data;
-
- const data = {
- "dynamicField1": "鍔ㄦ�佸��1",
- "dynamicField2": "鍔ㄦ�佸��2"
- }
- this.dynamicData = data;
- } catch (error) {
- console.error('鑾峰彇鍔ㄦ�佹暟鎹け璐�:', error);
- }
- },
// 鏍规嵁璇勫垎缁嗗垯鑾峰彇寰楀垎
getScore(key) {
return this.scores[key] || 0; // 濡傛灉鎺ュ彛鏈繑鍥炲緱鍒嗭紝榛樿鏄剧ず 0
@@ -803,7 +788,7 @@
this.radarData = JSON.parse(JSON.stringify(result.match(/\d+/g).map(Number)));
console.log('this.radarData:', this.radarData);
} else {
- this.radarData = JSON.parse(JSON.stringify(result.split(",").map(Number)));
+ this.radarData = JSON.parse(JSON.stringify(result.slice(1, -1).split(",").map(Number)));
console.log('this.radarData:', this.radarData);
}
@@ -842,6 +827,16 @@
// 璋冪敤鎺ュ彛鑾峰彇寰楀垎鏁版嵁
this.fetchScores(this.fileUrl);
}
+ },
+ //涓嬭浇excel
+ GetSaveExcel(){
+ axios.request({
+ url: 'SubsidyData/GetSaveExcel',
+ method: 'post',
+ data: this.excelData
+ }).then(res => {
+ console.log(res);
+ })
},
// 缁樺埗浼佷笟缁撴瀯鐨別charts
@@ -970,14 +965,14 @@
textarea:focus,
input[type="text"]:focus {
outline: none;
- border-color: #6c63ff;
+ border-color: #2d8cf0;
box-shadow: 0 0 5px rgba(108, 99, 255, 0.5);
}
button {
width: 100%;
padding: 10px;
- background-color: #6c63ff;
+ background-color: #2d8cf0;
color: #fff;
border: none;
border-radius: 4px;
@@ -987,7 +982,7 @@
}
button:hover {
- background-color: #5a52e6;
+ background-color: #2d8cf0;
}
button:focus {
@@ -1013,10 +1008,10 @@
padding-left: calc(50% - 250px);
padding-top: 50vh;
background: white;
- color: #6c63ff;
+ color: #2d8cf0;
/deep/ .ivu-spin-dot {
- background-color: #6c63ff;
+ background-color: #2d8cf0;
}
}
@@ -1035,7 +1030,7 @@
.radar-box {
- height: 800px;
+ height: 500px;
flex: 1;
min-width: 800px;
}
diff --git a/src/view/echarts/tree.vue b/src/view/echarts/tree.vue
index f6eb221..2037e39 100644
--- a/src/view/echarts/tree.vue
+++ b/src/view/echarts/tree.vue
@@ -660,14 +660,14 @@
textarea:focus,
input[type="text"]:focus {
outline: none;
- border-color: #6c63ff;
+ border-color: #2d8cf0;
box-shadow: 0 0 5px rgba(108, 99, 255, 0.5);
}
button {
width: 100%;
padding: 10px;
- background-color: #6c63ff;
+ background-color: #2d8cf0;
color: #fff;
border: none;
border-radius: 4px;
@@ -677,7 +677,7 @@
}
button:hover {
- background-color: #5a52e6;
+ background-color: #2d8cf0;
}
button:focus {
@@ -703,7 +703,7 @@
/* 涓哄閫夋鐣欏嚭绌洪棿 */
cursor: pointer;
font-size: 14px;
- color: #5a52e6;
+ color: #2d8cf0;
/* 鏂囧瓧棰滆壊 */
user-select: none;
}
@@ -725,14 +725,14 @@
height: 20px;
width: 20px;
background-color: #eee;
- border: 2px solid #5a52e6;
+ border: 2px solid #2d8cf0;
/* 绾㈣壊杈规 */
border-radius: 4px;
}
/* 褰撳閫夋琚�変腑鏃讹紝鑳屾櫙鍙樹负绾㈣壊 */
.custom-checkbox input:checked~.checkmark {
- background-color: #5a52e6;
+ background-color: #2d8cf0;
}
/* 鍒涘缓閫変腑鏃剁殑鍕惧彿 */
@@ -772,10 +772,10 @@
padding-left: calc(50% - 250px);
padding-top: 50vh;
background: white;
- color: #6c63ff;
+ color: #2d8cf0;
/deep/ .ivu-spin-dot {
- background-color: #6c63ff;
+ background-color: #2d8cf0;
}
}
--
Gitblit v1.8.0