更新实例搜索页面,调整CPU核心数和内存容量的最大值,修改联系人信息为网站和微信,新增Telegram信息,并添加IP费用说明。
This commit is contained in:
parent
38b4727466
commit
efc36f70b0
@ -16,7 +16,7 @@
|
|||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.cpu_cores"
|
v-model="form.cpu_cores"
|
||||||
:min="0"
|
:min="0"
|
||||||
:max="9999"
|
:max="999"
|
||||||
:step="1"
|
:step="1"
|
||||||
placeholder="所需CPU核心数"
|
placeholder="所需CPU核心数"
|
||||||
class="full-width">
|
class="full-width">
|
||||||
@ -29,7 +29,7 @@
|
|||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.memory_gb"
|
v-model="form.memory_gb"
|
||||||
:min="0"
|
:min="0"
|
||||||
:max="99999"
|
:max="9999"
|
||||||
:step="0.5"
|
:step="0.5"
|
||||||
placeholder="所需内存容量(GB)"
|
placeholder="所需内存容量(GB)"
|
||||||
class="full-width">
|
class="full-width">
|
||||||
@ -319,7 +319,7 @@
|
|||||||
<div class="quote-info">
|
<div class="quote-info">
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-label">联系人:</span>
|
<span class="info-label">网站:</span>
|
||||||
<el-input v-model="quoteInfo.contact" placeholder="请输入联系人" size="small"></el-input>
|
<el-input v-model="quoteInfo.contact" placeholder="请输入联系人" size="small"></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
@ -329,12 +329,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="info-row">
|
<div class="info-row">
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-label">电话:</span>
|
<span class="info-label">微信:</span>
|
||||||
<el-input v-model="quoteInfo.phone" placeholder="请输入电话" size="small"></el-input>
|
<el-input v-model="quoteInfo.phone" size="small"></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<span class="info-label">电话:</span>
|
<span class="info-label">tg:</span>
|
||||||
<span class="info-value"></span>
|
<el-input v-model="quoteInfo.tg" size="small"></el-input>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -446,6 +446,7 @@
|
|||||||
<div class="note-title">说明事项:</div>
|
<div class="note-title">说明事项:</div>
|
||||||
<div class="note-items">
|
<div class="note-items">
|
||||||
<div class="note-item">1. 以上价格仅包服务器和磁盘的费用, 公共带宽流量按官网价格 美国$0.12USD/GB</div>
|
<div class="note-item">1. 以上价格仅包服务器和磁盘的费用, 公共带宽流量按官网价格 美国$0.12USD/GB</div>
|
||||||
|
<div class="note-item">2. 每个实例需要额外支付4美金一个月的ip费用'</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -475,8 +476,8 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
cpu_cores: 0,
|
cpu_cores: null,
|
||||||
memory_gb: 0,
|
memory_gb: null,
|
||||||
disk_gb: 30, // 默认30GB
|
disk_gb: 30, // 默认30GB
|
||||||
region: 'us-east-1',
|
region: 'us-east-1',
|
||||||
disk_type: 'gp3',
|
disk_type: 'gp3',
|
||||||
@ -490,8 +491,9 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
searched: false,
|
searched: false,
|
||||||
quoteInfo: {
|
quoteInfo: {
|
||||||
contact: '林先生',
|
contact: 'www.pinnovatecloud.com',
|
||||||
phone: '18626324958'
|
phone: 'aws2jim,Alibabacloud88888',
|
||||||
|
tg: '@jimaws,@RosaInca,@lambertaws'
|
||||||
},
|
},
|
||||||
isMobile: false
|
isMobile: false
|
||||||
}
|
}
|
||||||
@ -630,8 +632,8 @@ export default {
|
|||||||
const wb = XLSX.utils.book_new()
|
const wb = XLSX.utils.book_new()
|
||||||
const titleRow = [['AWS亚马逊报价单']]
|
const titleRow = [['AWS亚马逊报价单']]
|
||||||
const infoRows = [
|
const infoRows = [
|
||||||
['联系人:', this.quoteInfo.contact, '', '签发日期:', this.getCurrentDate()],
|
['网站:', this.quoteInfo.contact, '', '签发日期:', this.getCurrentDate()],
|
||||||
['电话:', this.quoteInfo.phone, '', '电话:', '']
|
['微信:', this.quoteInfo.phone, '', 'telgram:', this.quoteInfo.tg]
|
||||||
]
|
]
|
||||||
const emptyRow = ['', '', '', '', '', '', '']
|
const emptyRow = ['', '', '', '', '', '', '']
|
||||||
const headerRow = ['产品名称', '规格型号', '磁盘', '操作系统', '区域', '官方月付全额 美元USD', '官方年付全额 美元USD']
|
const headerRow = ['产品名称', '规格型号', '磁盘', '操作系统', '区域', '官方月付全额 美元USD', '官方年付全额 美元USD']
|
||||||
@ -647,7 +649,8 @@ export default {
|
|||||||
const noteRows = [
|
const noteRows = [
|
||||||
emptyRow,
|
emptyRow,
|
||||||
['说明事项:'],
|
['说明事项:'],
|
||||||
['1. 以上价格仅包服务器和磁盘的费用, 公共带宽流量按官网价格 均价$0.12USD/GB']
|
['1. 以上价格仅包服务器和磁盘的费用, 公共带宽流量按官网价格 均价$0.12USD/GB'],
|
||||||
|
['2. 每个实例需要额外支付4美金一个月的ip费用']
|
||||||
]
|
]
|
||||||
const allRows = [...titleRow, ...infoRows, emptyRow, headerRow, ...dataRows, ...noteRows]
|
const allRows = [...titleRow, ...infoRows, emptyRow, headerRow, ...dataRows, ...noteRows]
|
||||||
const ws = XLSX.utils.aoa_to_sheet(allRows)
|
const ws = XLSX.utils.aoa_to_sheet(allRows)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user