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

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

View File

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

View File

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

View File

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

View File

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