diff --git a/public/static/css/main.css b/public/static/css/main.css index 8918f007..92cf4737 100644 --- a/public/static/css/main.css +++ b/public/static/css/main.css @@ -3355,6 +3355,7 @@ button:focus { .admin_contentBox_bodyPain { margin: 10px; + min-width: 600px; } .el-table th { @@ -3747,15 +3748,17 @@ button:focus { left: 10px; } .listUpdateBtn.editCoverBtn{ - width: 40px; - height: 20px; - border-radius: 4px !important; + width: 64px; + height: 28px; + border-radius: 4px !important; border: 0.5px solid rgba(227, 227, 227, 1); - line-height: 20px; - bottom: 10px; - font-size: 12px; - background-color: #fff; - color: #000; + box-sizing: border-box; + bottom: 10px; + font-size: 14px; + background-color: #fff; + color: #000; + text-align: center; + line-height: 28px; } .listUpdateBtn .webuploader-pick{ width: 80px; @@ -8669,6 +8672,9 @@ h5.dulilabel{ position: relative; width: 157px; } +/* .conterpoint:last-child{ + width: 200px; +} */ .worningalert{ position: relative; width: 355px; diff --git a/src/services/industry.js b/src/services/industry.js index 565ab8fa..5f4db032 100644 --- a/src/services/industry.js +++ b/src/services/industry.js @@ -1,6 +1,12 @@ -import { fetchApi } from '@/utils/request'; +import { fetchApi, wrapErrorHint } from '@/utils/request'; export async function queryAllIndustry() { const res = await fetchApi('industry/queryAllIndustry'); return res.Data || []; +} + +export async function renameIndustry(params){ + const res = await fetchApi('industry/renameIndustry',params); + return wrapErrorHint(res); + } \ No newline at end of file diff --git a/src/services/template.js b/src/services/template.js index d7f19320..87ed809f 100644 --- a/src/services/template.js +++ b/src/services/template.js @@ -147,4 +147,11 @@ export async function createNestedRelevance(params){ export async function deleteNestedRelevance(params){ const res = await fetchApi('template/deleteNestedRelevance', params); return wrapErrorHint(res); +} +/** + * 重命名模板名称 + */ +export async function renameTemplate(params){ + const res = await fetchApi('template/renameTemplate', params); + return wrapErrorHint(res); } \ No newline at end of file diff --git a/src/views/components_web/projDetail/projDetail.vue b/src/views/components_web/projDetail/projDetail.vue index 118c574b..9e73830a 100644 --- a/src/views/components_web/projDetail/projDetail.vue +++ b/src/views/components_web/projDetail/projDetail.vue @@ -38,8 +38,9 @@