|
|
|
@ -1,25 +1,8 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="project-add"> |
|
|
|
|
<el-container style="background-color: #eeeeee;"> |
|
|
|
|
<!-- <el-header class="add-header" height="50px">--> |
|
|
|
|
<!-- <div v-if="!isShowData">--> |
|
|
|
|
<!-- <el-page-header @back="goBackList" content="项目配置" style="float: left;">--> |
|
|
|
|
<!-- </el-page-header>--> |
|
|
|
|
<!-- <el-button type="primary" @click="submitForm('dataForm')" style="float: right;" v-if="formAction !=2">{{formAction == 0 ? '创建' : '修改'}}</el-button>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <div v-else>--> |
|
|
|
|
<!-- <el-page-header @back="goBackAdd" content="添加案例数据" style="float: left;">--> |
|
|
|
|
<!-- </el-page-header>--> |
|
|
|
|
<!-- <div style="float: right;">--> |
|
|
|
|
<!-- <el-button type="primary" @click="doAddCaseData()">确定</el-button>--> |
|
|
|
|
<!-- <el-button type="primary" @click="cancelAddCaseData()">取消</el-button>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-header>--> |
|
|
|
|
<el-main style="background-color: white;margin-top: 10px;padding: 0 0;"> |
|
|
|
|
<el-form :inline="true" :model="dataForm" :rules="dataRule" ref="dataForm" class="demo-form-inline" label-width="90px" v-if="!isShowData"> |
|
|
|
|
<el-card class="box-card" style="margin-bottom: 10px;"> |
|
|
|
|
<div slot="header" class="clearfix"> |
|
|
|
|
<div class="caseInputForm"> |
|
|
|
|
<el-form :inline="true" :model="dataForm" :rules="dataRule" ref="dataForm" class="demo-form-inline" label-width="90px"> |
|
|
|
|
<el-card class="box-card"> |
|
|
|
|
<div slot="header"> |
|
|
|
|
<span class="item-title-font"><i class="el-icon-minus icon-minus-rotated"></i>实训信息</span> |
|
|
|
|
<el-button type="primary" style="float: right;" size="medium" @click="goBackList">返回</el-button> |
|
|
|
|
</div> |
|
|
|
@ -39,10 +22,9 @@ |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-card> |
|
|
|
|
<el-card class="box-card" style="margin-bottom: 10px;"> |
|
|
|
|
<div slot="header" class="clearfix"> |
|
|
|
|
<el-card class="box-card"> |
|
|
|
|
<div slot="header"> |
|
|
|
|
<span class="item-title-font"><i class="el-icon-minus icon-minus-rotated"></i>判分设置</span> |
|
|
|
|
<span style="float: right;vertical-align: middle;line-height: 29px;">合计:{{dataForm.totalScore}} 分</span> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<div><p>量化指标:</p> |
|
|
|
@ -57,8 +39,6 @@ |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
</el-form> |
|
|
|
|
</el-main> |
|
|
|
|
</el-container> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -124,33 +104,6 @@ |
|
|
|
|
selectedTradeItems: [], |
|
|
|
|
delTradeItems: [], |
|
|
|
|
tradeNotInIds: [], |
|
|
|
|
imageViewerOptions: { |
|
|
|
|
"inline": false, |
|
|
|
|
"button": true, |
|
|
|
|
"navbar": false, |
|
|
|
|
"title": true, |
|
|
|
|
"toolbar": { |
|
|
|
|
zoomIn: true, |
|
|
|
|
zoomOut: true, |
|
|
|
|
oneToOne: true, |
|
|
|
|
reset: true, |
|
|
|
|
prev: false, |
|
|
|
|
play: true, |
|
|
|
|
next: false, |
|
|
|
|
rotateLeft: false, |
|
|
|
|
rotateRight: false, |
|
|
|
|
flipHorizontal: false, |
|
|
|
|
flipVertical: false, |
|
|
|
|
}, |
|
|
|
|
"tooltip": true, |
|
|
|
|
"movable": true, |
|
|
|
|
"zoomable": true, |
|
|
|
|
"rotatable": true, |
|
|
|
|
"scalable": true, |
|
|
|
|
"transition": false, |
|
|
|
|
"fullscreen": true, |
|
|
|
|
"keyboard": false, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
@ -411,45 +364,20 @@ |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
.clearfix:before, |
|
|
|
|
.clearfix:after { |
|
|
|
|
display: table; |
|
|
|
|
content: ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.clearfix:after { |
|
|
|
|
clear: both |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*.box-card { |
|
|
|
|
width: 100%; |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
.project-add { |
|
|
|
|
.add-header { |
|
|
|
|
background-color: white; |
|
|
|
|
padding: 5px 20px; |
|
|
|
|
/deep/ .el-page-header__content { |
|
|
|
|
font-size: 16px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-card__header { |
|
|
|
|
<style lang="scss"> |
|
|
|
|
.caseInputForm{ |
|
|
|
|
.box-card { |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
.el-card__header{ |
|
|
|
|
border-bottom: 1px dashed #c9cacc; |
|
|
|
|
padding-bottom: 10px; |
|
|
|
|
padding-top: 10px; |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.content-item { |
|
|
|
|
width: 100%; |
|
|
|
|
/deep/ .el-form-item__content { |
|
|
|
|
width: 100%; |
|
|
|
|
} |
|
|
|
|
.el-button--medium{ |
|
|
|
|
padding: 8px 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-form-item.is-required .el-form-item__label:after { |
|
|
|
|
.el-form-item.is-required .el-form-item__label:after { |
|
|
|
|
content: ''; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -459,9 +387,6 @@ |
|
|
|
|
position: unset; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.icon-minus-rotated:before { |
|
|
|
|
-ms-transform: rotate(90deg); /* IE 9 */ |
|
|
|
|
-moz-transform: rotate(90deg); /* Firefox */ |
|
|
|
@ -478,4 +403,6 @@ |
|
|
|
|
vertical-align: middle; |
|
|
|
|
line-height: 29px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |