工器具修改
This commit is contained in:
parent
1287a9776e
commit
8d2eedeaf4
|
|
@ -156,8 +156,9 @@ export default {
|
|||
|
||||
// 显示导入结果
|
||||
if (response && response.msg) {
|
||||
const msg = response.msg.replace(/\n/g, '<br>');
|
||||
this.$alert(
|
||||
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>",
|
||||
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + msg + "</div>",
|
||||
"导入结果",
|
||||
{
|
||||
dangerouslyUseHTMLString: true,
|
||||
|
|
|
|||
|
|
@ -3,28 +3,28 @@
|
|||
<div class="app-container">
|
||||
<div class="content-header">
|
||||
<el-button class="reset-btn" @click="handleClose()">返回</el-button>
|
||||
<!-- <el-button class="search-btn" @click="handleSave()">编辑</el-button> -->
|
||||
<el-button class="edit-btn" @click="handleEdit()">编辑</el-button>
|
||||
</div>
|
||||
<div class="content-body">
|
||||
<el-row :gutter="24" class="content-row">
|
||||
<!-- 基本信息 -->
|
||||
<el-col :span="6" class="pane-left">
|
||||
<BasicInfoDetail ref="basicInfoDetail" :detailData="detailData"/>
|
||||
<BasicInfoDetail ref="basicInfoDetail" :detailData="detailData" />
|
||||
</el-col>
|
||||
<!-- 法人信息 -->
|
||||
<el-col :span="6" class="pane-center">
|
||||
<LegalPersonDetail ref="legalPersonDetail" :detailData="detailData"/>
|
||||
<LegalPersonDetail ref="legalPersonDetail" :detailData="detailData" />
|
||||
</el-col>
|
||||
<!-- 开户证明 -->
|
||||
<el-col :span="6" class="pane-right">
|
||||
<AccountOpeningCertificateDetail ref="accountOpeningCertificateDetail" :detailData="detailData"/>
|
||||
<AccountOpeningCertificateDetail ref="accountOpeningCertificateDetail" :detailData="detailData" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { decryptWithSM4 } from '@/utils/sm'
|
||||
import { encryptWithSM4, decryptWithSM4 } from '@/utils/sm'
|
||||
import BasicInfoDetail from './child/BasicInfoDetail.vue'
|
||||
import LegalPersonDetail from './child/LegalPersonDetail.vue'
|
||||
import AccountOpeningCertificateDetail from './child/AccountOpeningCertificateDetail.vue'
|
||||
|
|
@ -58,6 +58,16 @@ export default {
|
|||
const res = await getDetailDataAPI({ enterpriseId: this.enterpriseId })
|
||||
this.detailData = res.data;
|
||||
},
|
||||
// 编辑
|
||||
handleEdit() {
|
||||
this.$router.push({
|
||||
name: 'EnterpriseEditForm',
|
||||
query: {
|
||||
type: encryptWithSM4('edit'),
|
||||
enterpriseId: encryptWithSM4(this.detailData.enterpriseId + '' || '0'),
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -105,22 +115,23 @@ export default {
|
|||
gap: 12px;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
background: #409EFF;
|
||||
border-color: #409EFF;
|
||||
.edit-btn {
|
||||
width: 98px;
|
||||
height: 36px;
|
||||
background: #EAA819;
|
||||
box-shadow: 0px 4px 8px 0px rgba(255,156,51,0.5);
|
||||
border-radius: 4px 4px 4px 4px;
|
||||
border-color: #EAA819;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
padding: 12px 24px;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0px 4px 12px 0px rgba(64, 158, 255, 0.4);
|
||||
letter-spacing: 0.5px;
|
||||
font-size: 14px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: #66b1ff;
|
||||
border-color: #66b1ff;
|
||||
box-shadow: 0px 6px 16px 0px rgba(64, 158, 255, 0.5);
|
||||
background: #ffb733;
|
||||
border-color: #ffb733;
|
||||
box-shadow: 0px 6px 12px 0px rgba(255,156,51,0.6);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="app-container">
|
||||
<div class="content-header">
|
||||
<el-button class="reset-btn" @click="handleClose">返回</el-button>
|
||||
<!-- <el-button class="search-btn" @click="handleSave">保存</el-button> -->
|
||||
<el-button class="edit-btn" @click="handleEdit">编辑</el-button>
|
||||
</div>
|
||||
<div class="content-body">
|
||||
<el-row :gutter="24" class="content-row">
|
||||
|
|
@ -136,11 +136,22 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
|
||||
// 编辑
|
||||
handleEdit() {
|
||||
this.$router.push({
|
||||
name: 'PersonnelEditForm',
|
||||
query: {
|
||||
type: encryptWithSM4('edit'),
|
||||
enterpriseId: encryptWithSM4(this.enterpriseId || '0'),
|
||||
personnelId: encryptWithSM4(this.personnelId + '' || '0'),
|
||||
}
|
||||
})
|
||||
},
|
||||
// 人员职位
|
||||
handlePersonnelPosition(data) {
|
||||
this.personnelPosition = data
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
@ -186,20 +197,24 @@ export default {
|
|||
gap: 12px;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
.edit-btn {
|
||||
width: 98px;
|
||||
height: 36px;
|
||||
background: #1F72EA;
|
||||
box-shadow: 0px 4px 8px 0px rgba(51, 135, 255, 0.5);
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
background: #EAA819;
|
||||
box-shadow: 0px 4px 8px 0px rgba(255,156,51,0.5);
|
||||
border-radius: 4px 4px 4px 4px;
|
||||
border-color: #EAA819;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
font-size: 14px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: #4A8BFF;
|
||||
box-shadow: 0px 6px 12px 0px rgba(51, 135, 255, 0.6);
|
||||
background: #ffb733;
|
||||
border-color: #ffb733;
|
||||
box-shadow: 0px 6px 12px 0px rgba(255,156,51,0.6);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<div class="app-container">
|
||||
<div class="content-header">
|
||||
<el-button class="reset-btn" @click="handleClose()">返回</el-button>
|
||||
<el-button class="edit-btn" @click="handleEdit">编辑</el-button>
|
||||
</div>
|
||||
<div class="content-body">
|
||||
<el-row :gutter="24" class="content-row">
|
||||
|
|
@ -66,6 +67,18 @@ export default {
|
|||
this.detailData = res.data;
|
||||
}
|
||||
},
|
||||
// 编辑
|
||||
handleEdit() {
|
||||
this.$router.push({
|
||||
name: 'TechnicalEdit',
|
||||
query: {
|
||||
enterpriseId: encryptWithSM4(this.enterpriseId || '0'),
|
||||
technicalSolutionTypeId: encryptWithSM4(this.technicalSolutionTypeId || '0'),
|
||||
type: encryptWithSM4('edit'),
|
||||
technicalSolutionId: encryptWithSM4(this.technicalSolutionId + '' || '0'),
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
@ -121,26 +134,24 @@ export default {
|
|||
gap: 12px;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
.edit-btn {
|
||||
width: 98px;
|
||||
height: 36px;
|
||||
background: #1F72EA;
|
||||
box-shadow: 0px 4px 8px 0px rgba(51, 135, 255, 0.5);
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
background: #EAA819;
|
||||
box-shadow: 0px 4px 8px 0px rgba(255,156,51,0.5);
|
||||
border-radius: 4px 4px 4px 4px;
|
||||
border-color: #EAA819;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
font-size: 14px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: #4A8BFF;
|
||||
box-shadow: 0px 6px 12px 0px rgba(51, 135, 255, 0.6);
|
||||
}
|
||||
|
||||
// 当按钮处于loading状态时的样式
|
||||
&.is-loading {
|
||||
opacity: 0.7;
|
||||
pointer-events: none;
|
||||
background: #ffb733;
|
||||
border-color: #ffb733;
|
||||
box-shadow: 0px 6px 12px 0px rgba(255,156,51,0.6);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue