|
@@ -3,37 +3,52 @@
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="top" id="demo">
|
|
<el-col :span="24" class="top" id="demo">
|
|
- <el-form ref="form" :model="form" label-width="100px">
|
|
|
|
- <el-col :span="24" class="title">
|
|
|
|
- 吉林省科技成果评价证书
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="24" class="num">
|
|
|
|
- <p>吉发号[<el-input v-model="form.basic.jf_num"></el-input>]第<el-input v-model="form.basic.jf_nums"></el-input>号</p>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="24" class="info">
|
|
|
|
- <el-col :span="24" class="infoMess">
|
|
|
|
- <span>成果名称:</span>
|
|
|
|
|
|
+ <el-col :span="24" class="one">
|
|
|
|
+ 吉林省科技成果评价证书
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="two">
|
|
|
|
+ <span>吉发字</span>
|
|
|
|
+ <span>[<el-input v-model="form.basic.cert_jfh" maxlength="4"></el-input>]</span>
|
|
|
|
+ <span>第</span>
|
|
|
|
+ <span><el-input v-model="form.basic.cert_num" maxlength="5"></el-input></span>
|
|
|
|
+ <span>号</span>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="thr">
|
|
|
|
+ <el-col :span="24" class="thr_info">
|
|
|
|
+ <el-col :span="3" class="left">
|
|
|
|
+ 成果名称:
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="21" class="right">
|
|
<el-input v-model="form.basic.achieve_name"></el-input>
|
|
<el-input v-model="form.basic.achieve_name"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" class="infoMess">
|
|
|
|
- <span>完成单位(盖章):</span>
|
|
|
|
- <el-input v-model="form.basic.apply_company"></el-input>
|
|
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="thr_info">
|
|
|
|
+ <el-col :span="5" class="left">
|
|
|
|
+ 完成单位(盖章):
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" class="infoMess">
|
|
|
|
- <span>完成人(签字):</span>
|
|
|
|
- <el-input v-model="form.basic.contacts"></el-input>
|
|
|
|
|
|
+ <el-col :span="19" class="right">
|
|
|
|
+ <el-input v-model="form.basic.apply_company"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" class="date">
|
|
|
|
- <p>
|
|
|
|
- 申请评价日期:<span>{{ getDate('yyyy') }}年</span><span>{{ getDate('MM') }}月</span><span>{{ getDate('DD') }}日</span>
|
|
|
|
- </p>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="24" class="make">
|
|
|
|
- <p>吉林省发明协会</p>
|
|
|
|
- <p>二0一八年十二月制</p>
|
|
|
|
|
|
+ <el-col :span="24" class="thr_info">
|
|
|
|
+ <el-col :span="5" class="left">
|
|
|
|
+ 完成人(签字):
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="19" class="right">
|
|
|
|
+ <el-input v-model="form.basic.cert_sign"></el-input>
|
|
|
|
+ </el-col>
|
|
</el-col>
|
|
</el-col>
|
|
- </el-form>
|
|
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="four">
|
|
|
|
+ <span>申请评价日期:</span>
|
|
|
|
+ <span>{{ getDate('yyyy') }}年</span>
|
|
|
|
+ <span>{{ getDate('MM') }}月</span>
|
|
|
|
+ <span>{{ getDate('DD') }}日</span>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="five">
|
|
|
|
+ <p>吉林省发明协会</p>
|
|
|
|
+ <p>二0一八年十二月制</p>
|
|
|
|
+ </el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="down">
|
|
<el-col :span="24" class="down">
|
|
<el-button type="primary" size="mini" @click="next">下一步</el-button>
|
|
<el-button type="primary" size="mini" @click="next">下一步</el-button>
|
|
@@ -45,8 +60,8 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import htmlToPdf from '@/unit/htmlToPdf.js';
|
|
|
|
const moment = require('moment');
|
|
const moment = require('moment');
|
|
|
|
+import htmlToPdf from '@/unit/htmlToPdf.js';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
export default {
|
|
export default {
|
|
name: 'one',
|
|
name: 'one',
|
|
@@ -59,6 +74,13 @@ export default {
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 下一步
|
|
|
|
+ next() {
|
|
|
|
+ this.$emit('next');
|
|
|
|
+ },
|
|
|
|
+ handleDown() {
|
|
|
|
+ htmlToPdf.downloadPDF(document.querySelector('#demo'), '测试');
|
|
|
|
+ },
|
|
getDate(date) {
|
|
getDate(date) {
|
|
if (date == 'yyyy') {
|
|
if (date == 'yyyy') {
|
|
return moment().format('YYYY');
|
|
return moment().format('YYYY');
|
|
@@ -68,12 +90,6 @@ export default {
|
|
return moment().format('DD');
|
|
return moment().format('DD');
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- next() {
|
|
|
|
- this.$emit('next');
|
|
|
|
- },
|
|
|
|
- handleDown() {
|
|
|
|
- htmlToPdf.downloadPDF(document.querySelector('#demo'), '测试');
|
|
|
|
- },
|
|
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState(['user']),
|
|
...mapState(['user']),
|
|
@@ -81,104 +97,98 @@ export default {
|
|
metaInfo() {
|
|
metaInfo() {
|
|
return { title: this.$route.meta.title };
|
|
return { title: this.$route.meta.title };
|
|
},
|
|
},
|
|
- watch: {
|
|
|
|
- test: {
|
|
|
|
- deep: true,
|
|
|
|
- immediate: true,
|
|
|
|
- handler(val) {},
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
|
|
+ watch: {},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
.main {
|
|
.main {
|
|
- padding: 0 28%;
|
|
|
|
|
|
+ padding: 0 20%;
|
|
.top {
|
|
.top {
|
|
- width: 700px;
|
|
|
|
- height: 990px;
|
|
|
|
- // border: 1px solid #ccc;
|
|
|
|
- padding: 0 15px;
|
|
|
|
- .title {
|
|
|
|
- font-size: 45px;
|
|
|
|
|
|
+ width: 1000px;
|
|
|
|
+ height: 1410px;
|
|
|
|
+ border: 1px solid #000;
|
|
|
|
+ padding: 40px 20px;
|
|
|
|
+ position: relative;
|
|
|
|
+ .one {
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ font-size: 40px;
|
|
|
|
+ margin: 110px 0 50px 0;
|
|
|
|
+ font-family: monospace;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- padding: 120px 0 0 0;
|
|
|
|
- font-family: cursive;
|
|
|
|
- margin: 0 0 30px 0;
|
|
|
|
}
|
|
}
|
|
- .num {
|
|
|
|
|
|
+ .two {
|
|
text-align: center;
|
|
text-align: center;
|
|
- margin: 0 0 90px 0;
|
|
|
|
- p {
|
|
|
|
- font-size: 24px;
|
|
|
|
- font-family: cursive;
|
|
|
|
- }
|
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ margin: 0 0 150px 0;
|
|
|
|
+ font-family: monospace;
|
|
|
|
+ color: #000;
|
|
|
|
+ font-weight: bold;
|
|
/deep/.el-input {
|
|
/deep/.el-input {
|
|
- width: 10%;
|
|
|
|
|
|
+ width: 8%;
|
|
}
|
|
}
|
|
/deep/.el-input__inner {
|
|
/deep/.el-input__inner {
|
|
border: none;
|
|
border: none;
|
|
- border-bottom: 2px solid #000;
|
|
|
|
- border-radius: 0;
|
|
|
|
- font-size: 20px;
|
|
|
|
- padding: 0 0;
|
|
|
|
|
|
+ color: #000;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ }
|
|
|
|
+ span:nth-child(2) {
|
|
|
|
+ padding: 0 0 0 10px;
|
|
|
|
+ }
|
|
|
|
+ span:nth-child(3) {
|
|
|
|
+ padding: 0 0 0 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .info {
|
|
|
|
- padding: 0 40px;
|
|
|
|
- .infoMess {
|
|
|
|
- height: 40px;
|
|
|
|
- line-height: 40px;
|
|
|
|
- margin: 10px 0;
|
|
|
|
- span {
|
|
|
|
- display: inline-block;
|
|
|
|
- width: 37%;
|
|
|
|
- height: 45px;
|
|
|
|
- line-height: 45px;
|
|
|
|
- font-size: 24px;
|
|
|
|
- font-family: cursive;
|
|
|
|
- }
|
|
|
|
- /deep/.el-input {
|
|
|
|
- width: 63%;
|
|
|
|
- }
|
|
|
|
- /deep/.el-input__inner {
|
|
|
|
- border: none;
|
|
|
|
- border-bottom: 2px solid #000;
|
|
|
|
- border-radius: 0;
|
|
|
|
|
|
+ .thr {
|
|
|
|
+ padding: 0 100px;
|
|
|
|
+ margin: 0 0 70px 0;
|
|
|
|
+ .thr_info {
|
|
|
|
+ margin: 0 0 15px 0;
|
|
|
|
+ .left {
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
- line-height: 45px;
|
|
|
|
- height: 45px;
|
|
|
|
|
|
+ color: #000;
|
|
|
|
+ }
|
|
|
|
+ .right {
|
|
|
|
+ /deep/.el-input__inner {
|
|
|
|
+ border: none;
|
|
|
|
+ border-bottom: 1px solid #000;
|
|
|
|
+ border-radius: 0;
|
|
|
|
+ color: #000;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .thr_info:first-child {
|
|
|
|
+ margin: 0 0 80px 0;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- .date {
|
|
|
|
- height: 45px;
|
|
|
|
- line-height: 45px;
|
|
|
|
- margin: 60px 0 0 0;
|
|
|
|
- font-size: 25px;
|
|
|
|
- padding: 0 40px;
|
|
|
|
- font-family: cursive;
|
|
|
|
|
|
+ .four {
|
|
|
|
+ padding: 0 100px;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ color: #000;
|
|
span {
|
|
span {
|
|
- display: inline-block;
|
|
|
|
- height: 45px;
|
|
|
|
- line-height: 45px;
|
|
|
|
- padding: 0 10px;
|
|
|
|
|
|
+ padding: 0 0 0 15px;
|
|
|
|
+ }
|
|
|
|
+ span:nth-child(1) {
|
|
|
|
+ padding: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .make {
|
|
|
|
- margin: 220px 0 0 0;
|
|
|
|
|
|
+ .five {
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 200px;
|
|
|
|
+ width: 96%;
|
|
p {
|
|
p {
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
|
|
+ color: #000;
|
|
padding: 5px 0;
|
|
padding: 5px 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.down {
|
|
.down {
|
|
- margin: 15px 0 0 0;
|
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ margin: 15px 0 0 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|