|
@@ -1007,12 +1007,12 @@ export default {
|
|
setWordHtml(data) {
|
|
setWordHtml(data) {
|
|
let _data = data
|
|
let _data = data
|
|
|
|
|
|
- let _title = `<div style="font-size:40px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
|
|
|
|
+ let _title = `<div style="font-size:30px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
let score = this.score(data.courseJson)
|
|
let score = this.score(data.courseJson)
|
|
let isScore = this.score2(data.courseJson)
|
|
let isScore = this.score2(data.courseJson)
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
- let _content = `<div style="font-size:25px;text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.name}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
- let _detail = this.testJson.brief ? `<div style="font-size:25px;text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
+ let _content = `<div style="text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.name}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
+ let _detail = this.testJson.brief ? `<div style="text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
@@ -1050,12 +1050,12 @@ export default {
|
|
setWordHtml2(data) {
|
|
setWordHtml2(data) {
|
|
let _data = data
|
|
let _data = data
|
|
_data.array = this.JSONSetting(JSON.parse(JSON.stringify(JSON.parse(data.courseJson))))
|
|
_data.array = this.JSONSetting(JSON.parse(JSON.stringify(JSON.parse(data.courseJson))))
|
|
- let _title = `<div style="font-size:40px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
|
|
|
|
+ let _title = `<div style="font-size:30px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
let score = this.score(JSON.parse(data.courseJson))
|
|
let score = this.score(JSON.parse(data.courseJson))
|
|
let isScore = this.score2(JSON.parse(data.courseJson))
|
|
let isScore = this.score2(JSON.parse(data.courseJson))
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
- let _content = `<div style="font-size:25px;text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.username}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
- let _detail = this.testJson.brief ? `<div style="font-size:25px;text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
+ let _content = `<div style="text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.username}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
+ let _detail = this.testJson.brief ? `<div style="text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
@@ -1126,12 +1126,12 @@ export default {
|
|
setWordHtmlAll(data) {
|
|
setWordHtmlAll(data) {
|
|
let _data = data
|
|
let _data = data
|
|
|
|
|
|
- let _title = `<div style="font-size:40px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
|
|
|
|
+ let _title = `<div style="font-size:30px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
let score = this.score(data.courseJson)
|
|
let score = this.score(data.courseJson)
|
|
let isScore = this.score2(data.courseJson)
|
|
let isScore = this.score2(data.courseJson)
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
- let _content = `<div style="font-size:25px;text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.name}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
- let _detail = this.testJson.brief ? `<div style="font-size:25px;text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
+ let _content = `<div style="text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.name}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
+ let _detail = this.testJson.brief ? `<div style="text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
@@ -1169,12 +1169,12 @@ export default {
|
|
async setWordHtmlAll2(data) {
|
|
async setWordHtmlAll2(data) {
|
|
let _data = data
|
|
let _data = data
|
|
_data.array = this.JSONSetting(JSON.parse(JSON.stringify(JSON.parse(data.courseJson))))
|
|
_data.array = this.JSONSetting(JSON.parse(JSON.stringify(JSON.parse(data.courseJson))))
|
|
- let _title = `<div style="font-size:40px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
|
|
|
|
+ let _title = `<div style="font-size:30px;font-weight:bold;text-align:center;">${this.testJson.title}</div>`;
|
|
let score = this.score(JSON.parse(data.courseJson))
|
|
let score = this.score(JSON.parse(data.courseJson))
|
|
let isScore = this.score2(JSON.parse(data.courseJson))
|
|
let isScore = this.score2(JSON.parse(data.courseJson))
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
let scoreContent = score ? `<b>(得分/总分)${isScore}/${score}</b>` : ''
|
|
- let _content = `<div style="font-size:25px;text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.username}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
- let _detail = this.testJson.brief ? `<div style="font-size:25px;text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
+ let _content = `<div style="text-align:center;margin-top: 20px;"><b style="margin-right:40px">(答题人)${_data.username}</b>${scoreContent}(填写范围)${this.testJson.juriP ? this.testJson.juriP : '所有人'}(提交时间)${_data.time}</div>`
|
|
|
|
+ let _detail = this.testJson.brief ? `<div style="text-align:center;margin-top: 20px;">${this.testJson.brief}</div>` : ''
|
|
|
|
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
let _test = `<div style='margin-top:40px;'>`
|
|
for (let i = 0; i < _data.array.length; i++) {
|
|
for (let i = 0; i < _data.array.length; i++) {
|