修改已知问题

This commit is contained in:
qq787203167
2022-05-25 14:59:03 +08:00
parent e9312d3a70
commit 1e78dae43a
5 changed files with 54 additions and 23 deletions
+2 -2
View File
@@ -596,11 +596,11 @@ module.exports = {
certificationType: '认证类型',
certificationLevel: '认证级别',
areaOfResponsibility: '责任领域',
confirmationOfDesignConformity: '法规设计符合性确认',
confirmationOfDesignConformity: '设计符合性确认',
Deliverables: '交付物',
personLiable: '责任人',
PrehomoConfirmation: 'Pre-Homo确认',
verificationAndConformityconfirmation: '法规验证符合性确认',
verificationAndConformityconfirmation: '验证符合性确认',
StandardImplementationDate: '标准实施日期',
regulatoryEngineer: '法规工程师',
certifiedEngineer: '认证工程师',
+13 -10
View File
@@ -6,16 +6,18 @@
:style="{ padding: '0' , background:'#fff'}">
<div v-if="mode === 'sidemenu'" class="header" :class="theme">
<!-- <a-icon-->
<!-- v-if="device==='mobile'"-->
<!-- class="trigger"-->
<!-- :type="collapsed ? 'menu-fold' : 'menu-unfold'"-->
<!-- @click="toggle"></a-icon>-->
<!-- <a-icon-->
<!-- v-else-->
<!-- class="trigger"-->
<!-- :type="collapsed ? 'menu-unfold' : 'menu-fold'"-->
<!-- @click="toggle"/>-->
<a-icon
v-if="device==='mobile'"
class="trigger"
style="color: #000"
:type="collapsed ? 'menu-fold' : 'menu-unfold'"
@click="toggle"></a-icon>
<a-icon
v-else
class="trigger"
style="color: #000"
:type="collapsed ? 'menu-unfold' : 'menu-fold'"
@click="toggle"/>
<!-- <span v-if="device === 'desktop'">欢迎进入 蔚来法规</span>-->
<!-- <span v-else>Jero-Boot</span>-->
@@ -179,6 +181,7 @@
}
}
.trigger {
background: #000;
line-height: 64px;
&:hover {
background: rgba(0, 0, 0, 0.05);
@@ -1,10 +1,12 @@
<template>
<div class="customContent-box">
<div class="box-content" v-for="(item,index) in dataSourceContentList" :key="index">
<img src="../../../assets/jspg.png" class="img" alt="">
<div class="text">{{item.iconName}}</div>
<div class="box-content-top">
<div class="box-content" v-for="(item,index) in dataSourceContentList" :key="index" @click="urlClick(item)">
<img :src="item.iconPath" class="img" alt="">
<div class="text">{{item.iconName}}</div>
</div>
</div>
<div class="box-content" @click="customClick()">
<div class="box-content" @click="customClick()" style=";margin-top: 0">
<img src="../../../assets/zdy.png" class="img" alt="">
<div class="text">{{$t('custom')}}</div>
</div>
@@ -22,7 +24,7 @@
<div style="display: inline-block" v-for="(item,index) in dataSourceTopList">
<div class="box-top" @click="statusClick(1,item,index)">
<div class="box-content">
<img src="../../../assets/jspg.png" class="img" alt="">
<img :src="item.iconPath" class="img" alt="">
<div class="text">{{item.iconName}}</div>
</div>
</div>
@@ -101,10 +103,17 @@
dataSourceTopList.forEach(res => {
dataSource.unshift(res)
})
postAction(this.url.add, dataSource).then((res) => {
dataSource.forEach((res, index) => {
res.sort = index
})
let query = {
listMap: dataSource
}
postAction(this.url.add, query).then((res) => {
if (res.success) {
this.visible = false
this.confirmLoading = false
this.getList()
this.$message.success(this.$t('OperationSuccessful'))
} else {
this.$message.warning(this.$t('operationFailed'))
@@ -115,6 +124,11 @@
handleCancel() {
this.visible = false
},
urlClick(item) {
this.$router.push({
path: item.url
})
},
statusClick(num, item, index) {
if (num == 1) {
if (this.dataSourceTopList && this.dataSourceTopList.length > 0) {
@@ -137,9 +151,6 @@
}
} else {
this.dataSourceTopList.push(item)
for (let i = 0; i < this.dataSourceTopList.length; i++) {
this.dataSourceTopList[i].sort = i
}
if (this.dataSource && this.dataSource.length > 0) {
for (let i = 0; i < this.dataSource.length; i++) {
if (this.dataSource[i].id == item.id) {
@@ -159,11 +170,20 @@
width: 100%;
text-align: center;
.box-content-top {
max-width: calc(100% - 130px);
display: inline-block;
overflow: hidden;
white-space: nowrap;
float: left;
}
.box-content {
text-align: center;
display: inline-block;
margin-right: 30px;
cursor: pointer;
width: 100px;
.img {
width: 44px;
@@ -196,6 +216,7 @@
margin-right: 30px;
cursor: pointer;
margin-bottom: 30px;
width: 100px;
.img {
width: 44px;
@@ -253,6 +253,9 @@
}
})
},
submitNoRule(callBack) {
callBack(this.formInline)
},
clickButtonToUpload(item) {
this.$refs.uploadFile.perentHandleFunc()
this.$refs.uploadFile.visible = true
@@ -222,7 +222,9 @@
this.textLoading = this.$t('terminationProcessing')
this.loading = true
this.queryBy.reviewResult = 'Termination of task'
this.completeTask({ flag: 2, operatorTime: operatorTime })
this.$refs.reviewedByThePersonInChargeRef.submitNoRule((res) => {
this.completeTask({ flag: 2, operatorTime: operatorTime, ...res })
})
},
adopt(operatorTime) {
this.$refs.reviewedByThePersonInChargeRef.submit((res) => {
@@ -241,7 +243,9 @@
} else {
this.queryBy.reviewResult = 'No rating'
}
this.completeTask({ flag: 1, operatorTime: operatorTime })
this.$refs.reviewedByThePersonInChargeRef.submitNoRule((res) => {
this.completeTask({ flag: 1, operatorTime: operatorTime, ...res })
})
},
Resubmit(operatorTime) {
this.$refs.reviewedByThePersonInChargeRef.submit((res) => {