Commit da79c580 authored by 盖献康's avatar 盖献康

Merge branch 'develop' of http://gitlab.91isoft.com:90/car-test/web into developer/gaixiankang

parents 48224882 2c849272
...@@ -135,9 +135,10 @@ export default { ...@@ -135,9 +135,10 @@ export default {
const result = regex.test(file.name) const result = regex.test(file.name)
if (result === true) { if (result === true) {
this.fileList = [] // this.fileList = []
// this.$refs.imageUpload.clearFiles() // this.$refs.imageUpload.clearFiles()
this.$modal.msgError('文件名称不正确,请上传不包含特殊字符名称的图片') this.$modal.msgError('文件名称不正确,请上传不包含特殊字符名称的图片')
return false
} else if (result === false) { } else if (result === false) {
let isImg = false let isImg = false
if (this.fileType.length) { if (this.fileType.length) {
...@@ -145,9 +146,10 @@ export default { ...@@ -145,9 +146,10 @@ export default {
if (file.name.lastIndexOf('.') > -1) { if (file.name.lastIndexOf('.') > -1) {
fileExtension = file.name.slice(file.name.lastIndexOf('.') + 1) fileExtension = file.name.slice(file.name.lastIndexOf('.') + 1)
console.log('21212',fileExtension)
} }
isImg = this.fileType.some(type => { isImg = this.fileType.some(type => {
if (file.type.indexOf(type) > -1) return true // if (file.type.indexOf(type) > -1) return true
if (fileExtension && fileExtension.indexOf(type) > -1) return true if (fileExtension && fileExtension.indexOf(type) > -1) return true
return false return false
}) })
......
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
fontSize: 16 fontSize: 16
} }
}, },
color: ['#8C79EA', '#12BEDF', '#F6B24B', '#1A6FD7'], color: ['#12BEDF', '#8C79EA', '#1A6FD7', '#F6B24B'],
tooltip: { tooltip: {
trigger: 'item' trigger: 'item'
}, },
...@@ -88,11 +88,11 @@ export default { ...@@ -88,11 +88,11 @@ export default {
rich: { rich: {
b: { b: {
fontSize: 16, fontSize: 16,
fonWweight: 700, fontWeight: 700,
color: ' #303133' color: ' #303133'
}, },
d: { d: {
fontSsize: 14, fontSize: 14,
fontWeight: 400, fontWeight: 400,
color: ' #606266' color: ' #606266'
} }
......
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
legend: { legend: {
top: 'bottom' top: 'bottom'
}, },
color: ['#F6B24B', '#1A6FD7', '#13BE24'], color: ['#F6B24B', '#13BE24', '#1A6FD7'],
series: [ series: [
{ {
name: 'Nightingale Chart', name: 'Nightingale Chart',
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
}, },
yAxis: { yAxis: {
type: 'category', type: 'category',
data: ['自动', '半自动', '手工'] data: ['手工', '半自动', '自动']
}, },
series: [ series: [
{ {
...@@ -56,9 +56,9 @@ export default { ...@@ -56,9 +56,9 @@ export default {
type: 'bar', type: 'bar',
barWidth: '20', barWidth: '20',
data: [ data: [
{ itemStyle: { color: '#13BE24' }, value: 120 },
{ itemStyle: { color: '#7F69E8' }, value: 200 }, { itemStyle: { color: '#7F69E8' }, value: 200 },
{ itemStyle: { color: '#1A6FD7' }, value: 150 } { itemStyle: { color: '#1A6FD7' }, value: 150 },
{ itemStyle: { color: '#13BE24' }, value: 120 }
] ]
} }
] ]
......
...@@ -140,7 +140,15 @@ ...@@ -140,7 +140,15 @@
:stroke-width="10" :stroke-width="10"
:show-text="false" :show-text="false"
></el-progress> ></el-progress>
<div style="margin-top: 10px; text-align: center"> <div
style="
margin-top: 10px;
text-align: center;
font-size: 14px;
font-weight: 700;
color: #303133;
"
>
{{ {{
quantityStatisticsForm.completedTaskProportion quantityStatisticsForm.completedTaskProportion
? quantityStatisticsForm.completedTaskProportion ? quantityStatisticsForm.completedTaskProportion
...@@ -170,7 +178,15 @@ ...@@ -170,7 +178,15 @@
:stroke-width="10" :stroke-width="10"
:show-text="false" :show-text="false"
></el-progress> ></el-progress>
<div style="margin-top: 10px; text-align: center"> <div
style="
margin-top: 10px;
text-align: center;
font-size: 14px;
font-weight: 700;
color: #303133;
"
>
{{ {{
quantityStatisticsForm.executeTaskProportion quantityStatisticsForm.executeTaskProportion
? quantityStatisticsForm.executeTaskProportion ? quantityStatisticsForm.executeTaskProportion
...@@ -249,7 +265,7 @@ ...@@ -249,7 +265,7 @@
<div <div
style="color: #1a6fd7; font-weight: 700; font-size: 16px" style="color: #1a6fd7; font-weight: 700; font-size: 16px"
> >
{{ item.standardNumber }} 标准:{{ item.standardNumber }}
</div> </div>
</div> </div>
<AverageTest <AverageTest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment