添加图片和修改画像的多选

This commit is contained in:
熊丽君
2021-08-20 14:26:33 +08:00
parent b5d5016423
commit eb782ddaf4
21 changed files with 163 additions and 112 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
public/favicon1.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 470 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 608 KiB

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/assets/logo/logo3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -78,7 +78,12 @@
v-for="(item, index) in labelList"
:key="item.id"
>
<el-select v-model="arr[index]" placeholder="请选择" clearable>
<el-select
v-model="arr[index]"
multiple
placeholder="请选择"
clearable
>
<el-option
v-for="i in item.labelList"
:key="i.id"
@ -166,13 +171,26 @@ export default {
getLabelSetting({ companyId: data ? data.companyId : 1 }).then(
({ data }) => {
this.labelList = data;
this.arr = data.map(item =>
item.labelList
? item.labelList.filter(v => v.isHas)[0]
? item.labelList.filter(v => v.isHas)[0].id
: ''
: undefined
);
// 单选
// this.arr = data.map(item =>
// item.labelList
// ? item.labelList.filter(v => v.isHas)[0]
// ? item.labelList.filter(v => v.isHas)[0].id
// : ''
// : undefined
// );
// 多选
this.arr = data.map(item => {
return item.labelList
? item.labelList
.map(v => {
if (v.isHas) {
return v.id;
}
})
.filter(i => i)
: undefined;
});
}
);
});
@ -212,6 +230,11 @@ export default {
submitForm() {
this.$refs['form'].validate(valid => {
if (valid) {
let ids = [];
this.arr.map(item => {
ids = [...ids, ...item];
});
this.form.labelIdList = ids;
updateCompanyUser(this.form).then(({ message }) => {
this.msgSuccess(message);
this.getUserInfo();

View File

@ -377,13 +377,12 @@ export default {
if (data.companyId) {
getLabelSetting({ companyId: data.companyId }).then(({ data }) => {
if (data.length) {
this.portraitList = data.map(item =>
item.labelList
? item.labelList.filter(v => v.isHas)[0]
? item.labelList.filter(v => v.isHas)[0]
: ''
: undefined
const arrs = data.map(item =>
item.labelList ? item.labelList.filter(v => v.isHas) : undefined
);
arrs.map(item => {
this.portraitList = [...this.portraitList, ...item];
});
this.activeName = this.portraitList[0].id;
this.getPortraitList();
}

View File

@ -26,11 +26,52 @@
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="申报流程" name="first">
<div class="tab_img">
<img
v-if="index == 1"
src="@/assets/image/qualific/one/01.png"
alt=""
/>
<div v-if="index == 1">
<p>
<a
href="http://121.5.136.69:9000/pic/20210820/1428594893734940672.pdf"
target="_blank"
>
<el-link :underline="false"
>信息安全服务一、二级资质初次认证流程.pdf</el-link
>
</a>
</p>
<img src="@/assets/image/qualific/one/01.png" alt="" />
<p>
<a
href="http://121.5.136.69:9000/pic/20210820/1428596060254769152.pdf"
target="_blank"
>
<el-link :underline="false"
>信息安全服务三级资质初次认证流程.pdf</el-link
>
</a>
</p>
<img src="@/assets/image/qualific/one/02.png" alt="" />
<p>
<a
href="http://121.5.136.69:9000/pic/20210820/1428596147374657536.pdf"
target="_blank"
>
<el-link :underline="false"
>信息安全服务资质现场监督审核流程.pdf</el-link
>
</a>
</p>
<img src="@/assets/image/qualific/one/03.png" alt="" />
<p>
<a
href="http://121.5.136.69:9000/pic/20210820/1428596233739571200.pdf"
target="_blank"
>
<el-link :underline="false"
>信息安全服务资质非现场监督审核流程.pdf</el-link
>
</a>
</p>
<img src="@/assets/image/qualific/one/04.png" alt="" />
</div>
<img
v-if="index == 2"
src="@/assets/image/qualific/two/01.png"
@ -41,16 +82,27 @@
src="@/assets/image/qualific/three/01.jpg"
alt=""
/>
<img
v-if="index == 4"
src="@/assets/image/qualific/four/01.jpg"
alt=""
/>
<img
v-if="index == 5"
src="@/assets/image/qualific/five/01.jpg"
alt=""
/>
<div v-if="index == 4">
<p>
<el-link :underline="false">软件企业申报流程图</el-link>
</p>
<img src="@/assets/image/qualific/four/02.jpg" alt="" />
<p>
<el-link :underline="false">软件产品申报流程图</el-link>
</p>
<img src="@/assets/image/qualific/four/01.jpg" alt="" />
</div>
<div v-if="index == 5">
<p>
<a
href="http://121.5.136.69:9000/pic/20210817/1427449662289350656.doc"
target="_blank"
>
<el-link :underline="false">申报流程.doc</el-link>
</a>
</p>
<img src="@/assets/image/qualific/five/01.jpg" alt="" />
</div>
</div>
</el-tab-pane>
<el-tab-pane label="申报管理方法" name="second">
@ -63,16 +115,6 @@
<el-link :underline="false">《信息安全服务规范》.pdf</el-link>
</a>
</p>
<p>
<a
href="http://121.5.136.69:9000/pic/20210817/1427447476444598272.pdf"
target="_blank"
>
<el-link :underline="false"
>信息安全服务资质现场监督审核流程.pdf</el-link
>
</a>
</p>
</div>
<div v-if="index == 2">
<p>
@ -119,14 +161,6 @@
</p>
</div>
<div v-if="index == 4">
<p>
<a
href="http://121.5.136.69:9000/pic/20210817/1427449114798460928.docx"
target="_blank"
>
<el-link :underline="false">软件产品评估规范.docx</el-link>
</a>
</p>
<p>
<a
href="http://121.5.136.69:9000/pic/20210817/1427449204283936768.docx"
@ -135,6 +169,14 @@
<el-link :underline="false">软件企业评估规范.docx</el-link>
</a>
</p>
<p>
<a
href="http://121.5.136.69:9000/pic/20210817/1427449114798460928.docx"
target="_blank"
>
<el-link :underline="false">软件产品评估规范.docx</el-link>
</a>
</p>
</div>
<div v-if="index == 5">
<p>
@ -145,21 +187,13 @@
<el-link :underline="false">评审办法.doc</el-link>
</a>
</p>
<p>
<a
href="http://121.5.136.69:9000/pic/20210817/1427449662289350656.doc"
target="_blank"
>
<el-link :underline="false">申报流程.doc</el-link>
</a>
</p>
</div>
</el-tab-pane>
<el-tab-pane label="证书模块" name="third">
<div class="tab_img">
<img
v-if="index == 1"
src="@/assets/image/qualific/one/03.png"
src="@/assets/image/qualific/one/05.png"
alt=""
/>
<img
@ -172,16 +206,10 @@
src="@/assets/image/qualific/three/03.jpg"
alt=""
/>
<!-- <img
v-if="index == 4"
src="@/assets/image/qualific/four/03.png"
alt=""
/> -->
<img
v-if="index == 4"
src="@/assets/image/qualific/four/03_1.png"
alt=""
/>
<div v-if="index == 4">
<img src="@/assets/image/qualific/four/04.png" alt="" />
<img src="@/assets/image/qualific/four/03.png" alt="" />
</div>
<img
v-if="index == 5"
src="@/assets/image/qualific/five/03.jpg"
@ -198,12 +226,12 @@ export default {
data() {
return {
index: 1,
activeName: 'first',
activeName: 'first'
};
},
methods: {
handleClick(tab, event) {},
},
handleClick(tab, event) {}
}
};
</script>
<style lang="scss" scoped>
@ -242,9 +270,10 @@ export default {
.tab_img {
width: 100%;
height: 100%;
text-align: center;
img {
width: 100%;
height: 100%;
// width: 100%;
// height: 100%;
}
}
/deep/.el-tabs__item {

View File

@ -110,7 +110,7 @@
<div class="footer_left_one">
<span class="footer_left_l">版权声明</span>
<span class="footer_left_r">
<i><img src="@/assets/image/icon3.png" alt="" /></i>
<i><img src="@/assets/image/icon3.png" alt=""/></i>
客服热线(周一至周五8:30-18:00)
</span>
</div>
@ -120,7 +120,7 @@
<div class="footer_left_three">
<span class="footer_left_l">意见反馈</span>
<span class="footer_left_r">
<i><img src="@/assets/image/icon2.png" alt="" /></i>
<i><img src="@/assets/image/icon2.png" alt=""/></i>
公司地址安徽省合肥市蜀山区黄山市601号412-414
</span>
</div>
@ -159,38 +159,38 @@ export default {
lisList: [
{
path: '/home',
name: '首页',
name: '首页'
},
{
path: '/notice',
name: '通知公告',
name: '通知公告'
},
{
path: '/demand',
name: '企业需求',
name: '企业需求'
},
{
path: '/achievements',
name: '科技成果',
name: '科技成果'
},
{
path: '/declare',
name: '高企申报',
name: '高企申报'
},
{
path: '/qualifications',
name: '资质申报',
name: '资质申报'
},
{
path: '/assessment',
name: '智能评估',
},
name: '智能评估'
}
],
path: this.$route.path == '/' ? '/home' : this.$route.path,
path: this.$route.path == '/' ? '/home' : this.$route.path
};
},
computed: {
...mapGetters(['avatar']),
...mapGetters(['avatar'])
},
methods: {
toSearch() {
@ -208,8 +208,8 @@ export default {
handlePath(path) {
this.path = path;
this.$router.push({ path });
},
},
}
}
};
</script>
@ -269,8 +269,8 @@ export default {
.user-avatar {
vertical-align: middle;
cursor: pointer;
width: 60px;
height: 60px;
width: 40px;
height: 40px;
border-radius: 50%;
}
}
@ -279,7 +279,7 @@ export default {
display: flex;
justify-content: space-between;
height: 63px;
margin-top: 55px;
margin-top: 75px;
img {
width: 392px;
height: 100%;

View File

@ -233,9 +233,9 @@
<el-form class="el_form_4" v-if="status == -3">
<p>
您的创新指标得分
<i style="color: red; font-size: 22px; font-weight: 700">{{
<span style="color: red; font-size: 22px; font-weight: 700">{{
score
}}</i>
}}</span>
分,不符合高企认定条件!此评分为平台智能估算分,仅供参考,实际评分以政府实际打分为准!
</p>
<p>平台建议:</p>
@ -250,9 +250,9 @@
<el-form class="el_form_4" v-if="status == 4">
<p>
您的创新指标得分
<i style="color: green; font-size: 22px; font-weight: 700">{{
<span style="color: green; font-size: 22px; font-weight: 700">{{
score
}}</i>
}}</span>
符合高企认定条件此评分为平台智能估算分仅供参考实际评分以政府实际打分为准
</p>
<el-form-item style="text-align: center; margin: 70px 0">
@ -267,7 +267,7 @@ import {
getTerritoryOneMenu,
getTerritoryTwoMenu,
firstAssess,
secondAssess,
secondAssess
} from '@/api/startEvaluation';
export default {
data() {
@ -277,38 +277,38 @@ export default {
propertyOption: [
{
value: 0,
label: '否',
label: '否'
},
{
value: 1,
label: '是',
},
label: '是'
}
], // 核心领域发挥作用知识产权 0->否 1->是 和 四、其他
assetOption: [
{
value: 35,
label: '>=35%',
label: '>=35%'
},
{
value: 25,
label: '>=25%',
label: '>=25%'
},
{
value: 15,
label: '>=15%',
label: '>=15%'
},
{
value: 5,
label: '>=5%',
label: '>=5%'
},
{
value: 1,
label: '>0%',
label: '>0%'
},
{
value: 0,
label: '<=0%',
},
label: '<=0%'
}
],
formA: {
companyName: '',
@ -320,7 +320,7 @@ export default {
lastYearResearchExpend: 0,
totalEmployee: 0,
scienceEmployee: 0,
hasBad: 0,
hasBad: 0
}, // 高企认定门槛
badSeason: [], // A 没有通过的数据
score: 0, // 分数
@ -332,7 +332,7 @@ export default {
achievementNum: 0,
management: ['1'],
assetGrowth: 35,
sellGrowth: 35,
sellGrowth: 35
}, // 创新指标评分
status: 1,
rulesA: {
@ -342,10 +342,10 @@ export default {
{
required: true,
message: '请选择日期',
trigger: 'change',
},
],
},
trigger: 'change'
}
]
}
};
},
methods: {
@ -356,7 +356,7 @@ export default {
});
},
submitFormA(formName) {
this.$refs[formName].validate((valid) => {
this.$refs[formName].validate(valid => {
if (valid) {
firstAssess(this.formA).then(({ data }) => {
if (!data.badSeason.length) {
@ -386,13 +386,13 @@ export default {
this.status = -3;
}
});
},
}
},
created() {
getTerritoryOneMenu().then(({ data }) => {
this.oneMenuList = data;
});
},
}
};
</script>
<style lang="scss" scoped>