yujialong 1 year ago
parent 288164f0f4
commit c1c21d2d48
  1. 7
      src/components/quill/index.vue
  2. 17
      src/pages/achievement/info/course.vue
  3. 3
      src/pages/project/add/index.vue

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<el-radio-group v-if="!readonly" <el-radio-group v-if="!readonly && radio"
class="type-radio" class="type-radio"
v-model="editorType" v-model="editorType"
@change="typeChange"> @change="typeChange">
@ -90,6 +90,11 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
//
radio: {
type: Boolean,
default: false
},
// //
type: { type: {
type: String, type: String,

@ -607,7 +607,14 @@ export default {
end: 150, end: 150,
xAxisIndex: [0], xAxisIndex: [0],
bottom: -10, bottom: -10,
} },
// {
// // xAxisIndex: 0,//X0
// type: 'inside',
// realtime: true,
// start: 0,
// end: 150,
// }
], ],
xAxis: [{ xAxis: [{
type: 'category', type: 'category',
@ -616,8 +623,10 @@ export default {
color: '#57617B' color: '#57617B'
} }
}, },
interval: 5,
splitNumber: 5,
axisLabel: { axisLabel: {
interval: 0, // interval: '',
textStyle: { textStyle: {
color: '#333', color: '#333',
}, },
@ -629,8 +638,8 @@ export default {
// return value; // return value;
// } // }
return value return value
} },
// rotate: 45 rotate: data.length > 16 ? 45 : 0
}, },
data: data.map(e => e.projectName) data: data.map(e => e.projectName)
}], }],

@ -74,6 +74,7 @@
:readonly="isDetail" :readonly="isDetail"
v-model="projectManage.experimentTarget" v-model="projectManage.experimentTarget"
:type.sync="projectManage.experimentTargetType" :type.sync="projectManage.experimentTargetType"
radio
:minHeight="150" :minHeight="150"
:height="150" /> :height="150" />
</el-form-item> </el-form-item>
@ -91,6 +92,7 @@
:readonly="isDetail" :readonly="isDetail"
v-model="projectManage.experimentDescription" v-model="projectManage.experimentDescription"
:type.sync="projectManage.experimentDescriptionType" :type.sync="projectManage.experimentDescriptionType"
radio
:minHeight="150" :minHeight="150"
:height="150" :height="150"
:index="1" /> :index="1" />
@ -216,6 +218,7 @@
:readonly="isDetail" :readonly="isDetail"
v-model="projectManage.experimentHint" v-model="projectManage.experimentHint"
:type.sync="projectManage.experimentHintType" :type.sync="projectManage.experimentHintType"
radio
:minHeight="150" :minHeight="150"
:height="150" :height="150"
:index="3" /> :index="3" />

Loading…
Cancel
Save