|
|
@ -2,21 +2,30 @@ |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="flex-between"> |
|
|
|
<div class="flex-between"> |
|
|
|
<div class="per_title" @click="goback()"> |
|
|
|
<div class="per_title" |
|
|
|
|
|
|
|
@click="goback()"> |
|
|
|
<i class="el-icon-arrow-left"></i> |
|
|
|
<i class="el-icon-arrow-left"></i> |
|
|
|
<span class="per_back">返回</span> |
|
|
|
<span class="per_back">返回</span> |
|
|
|
<span class="per_school">修改分数</span> |
|
|
|
<span class="per_school">修改分数</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-button type="success" round class="mag" @click="saveAdd('form')">预览</el-button> |
|
|
|
<el-button type="success" |
|
|
|
<el-button type="primary" round class="mag" @click="saveAdd('form')">发布成绩</el-button> |
|
|
|
round |
|
|
|
|
|
|
|
class="mag" |
|
|
|
|
|
|
|
@click="saveAdd('form')">预览</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
round |
|
|
|
|
|
|
|
class="mag" |
|
|
|
|
|
|
|
@click="saveAdd('form')">发布成绩</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<h6 style="text-align: center;font-size: 20px">实验成绩报告</h6> |
|
|
|
<h6 style="text-align: center;font-size: 20px">实验成绩报告</h6> |
|
|
|
<div class="flex-center mgb20 user_header"> |
|
|
|
<div class="flex-center mgb20 user_header"> |
|
|
|
<p class="addhr_tag"></p> |
|
|
|
<p class="addhr_tag"></p> |
|
|
@ -24,159 +33,239 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-table :data="infoData" class="table" stripe header-align="center"> |
|
|
|
<el-table :data="infoData" |
|
|
|
<el-table-column prop="projectName" label="实验名称" align="center"> |
|
|
|
class="table" |
|
|
|
|
|
|
|
stripe |
|
|
|
|
|
|
|
header-align="center"> |
|
|
|
|
|
|
|
<el-table-column prop="projectName" |
|
|
|
|
|
|
|
label="实验名称" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="period" label="实验学时" align="center"> |
|
|
|
<el-table-column prop="period" |
|
|
|
|
|
|
|
label="实验学时" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="userName" label="学生姓名" align="center"> |
|
|
|
<el-table-column prop="userName" |
|
|
|
|
|
|
|
label="学生姓名" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="number" label="学生学号" align="center"> |
|
|
|
<el-table-column prop="number" |
|
|
|
|
|
|
|
label="学生学号" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="class" label="学生班级" align="center"> |
|
|
|
<el-table-column prop="class" |
|
|
|
|
|
|
|
label="学生班级" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="content" label="实验内容" align="center"> |
|
|
|
<el-table-column prop="content" |
|
|
|
|
|
|
|
label="实验内容" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="desc" label="实验数据与结果分析" align="center"> |
|
|
|
<el-table-column prop="desc" |
|
|
|
|
|
|
|
label="实验数据与结果分析" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="result" label="实验结论" align="center"> |
|
|
|
<el-table-column prop="result" |
|
|
|
|
|
|
|
label="实验结论" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="experience" label="实验与心得体会" align="center"> |
|
|
|
<el-table-column prop="experience" |
|
|
|
|
|
|
|
label="实验与心得体会" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="total" label="总分" align="center"> |
|
|
|
<el-table-column prop="total" |
|
|
|
|
|
|
|
label="总分" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">一、实验项目名称</p> |
|
|
|
<p class="meta-title">一、实验项目名称</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input v-model="form.projectName" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
<el-input v-model="form.projectName" |
|
|
|
|
|
|
|
type="textarea" |
|
|
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">二、实验目的</p> |
|
|
|
<p class="meta-title">二、实验目的</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input v-model="form.experimentGoal" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
<el-input v-model="form.experimentGoal" |
|
|
|
|
|
|
|
type="textarea" |
|
|
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">三、实验原理</p> |
|
|
|
<p class="meta-title">三、实验原理</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input v-model="form.principle" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
<el-input v-model="form.principle" |
|
|
|
|
|
|
|
type="textarea" |
|
|
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">四、实验内容</p> |
|
|
|
<p class="meta-title">四、实验内容</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input v-model="form.content" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
<el-input v-model="form.content" |
|
|
|
|
|
|
|
type="textarea" |
|
|
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">五、实验步骤</p> |
|
|
|
<p class="meta-title">五、实验步骤</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input v-model="form.step" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
<el-input v-model="form.step" |
|
|
|
|
|
|
|
type="textarea" |
|
|
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">六、实验数据</p> |
|
|
|
<p class="meta-title">六、实验数据</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table :data="expData" class="table" stripe header-align="center"> |
|
|
|
<el-table :data="expData" |
|
|
|
<el-table-column type="index" width="100" label="序号" align="center"> |
|
|
|
class="table" |
|
|
|
|
|
|
|
stripe |
|
|
|
|
|
|
|
header-align="center"> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
|
|
|
|
width="100" |
|
|
|
|
|
|
|
label="序号" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="module" label="模块" align="center"> |
|
|
|
<el-table-column prop="module" |
|
|
|
|
|
|
|
label="模块" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="judgmentPointsName" label="考核点" align="center"> |
|
|
|
<el-table-column prop="judgmentPointsName" |
|
|
|
|
|
|
|
label="考核点" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="userAnswer" label="学生答案" align="center"> |
|
|
|
<el-table-column prop="userAnswer" |
|
|
|
|
|
|
|
label="学生答案" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="answer" label="参考答案" align="center"> |
|
|
|
<el-table-column prop="answer" |
|
|
|
|
|
|
|
label="参考答案" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="codeScore" label="得分" align="center"> |
|
|
|
<el-table-column prop="codeScore" |
|
|
|
|
|
|
|
label="得分" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">七、实验结论</p> |
|
|
|
<p class="meta-title">七、实验结论</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input type="textarea" v-model="form.conclusion" rows="5"></el-input> |
|
|
|
<el-input type="textarea" |
|
|
|
<div class="flex-between" style="margin-top: 10px"> |
|
|
|
v-model="form.conclusion" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
|
|
|
|
<div class="flex-between" |
|
|
|
|
|
|
|
style="margin-top: 10px"> |
|
|
|
<span>教师评分</span> |
|
|
|
<span>教师评分</span> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input style="display: inline-block;width: auto;" placeholder="请输入"></el-input> |
|
|
|
<el-input style="display: inline-block;width: auto;" |
|
|
|
|
|
|
|
placeholder="请输入"></el-input> |
|
|
|
(10分) |
|
|
|
(10分) |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">八、总结及心得体会</p> |
|
|
|
<p class="meta-title">八、总结及心得体会</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input type="textarea" v-model="form.summarize" rows="5"></el-input> |
|
|
|
<el-input type="textarea" |
|
|
|
<div class="flex-between" style="margin-top: 10px"> |
|
|
|
v-model="form.summarize" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
|
|
|
|
<div class="flex-between" |
|
|
|
|
|
|
|
style="margin-top: 10px"> |
|
|
|
<span>教师评分</span> |
|
|
|
<span>教师评分</span> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input style="display: inline-block;width: auto;" placeholder="请输入"></el-input> |
|
|
|
<el-input style="display: inline-block;width: auto;" |
|
|
|
|
|
|
|
placeholder="请输入"></el-input> |
|
|
|
(10分) |
|
|
|
(10分) |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title">九、对本实验过程及方法、手段的改进建议</p> |
|
|
|
<p class="meta-title">九、对本实验过程及方法、手段的改进建议</p> |
|
|
|
<span>得分:50/60</span> |
|
|
|
<span>得分:50/60</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input type="textarea" rows="5" v-model="form.improvement"></el-input> |
|
|
|
<el-input type="textarea" |
|
|
|
|
|
|
|
rows="5" |
|
|
|
|
|
|
|
v-model="form.improvement"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="flex-between mgb20"> |
|
|
|
<div class="flex-between mgb20"> |
|
|
|
<span>老师寄语</span> |
|
|
|
<span>老师寄语</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-input type="textarea" rows="5"></el-input> |
|
|
|
<el-input type="textarea" |
|
|
|
|
|
|
|
rows="5"></el-input> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<p class="mgb20">教师签名</p> |
|
|
|
<p class="mgb20">教师签名</p> |
|
|
|
<div class="mgb20"> |
|
|
|
<div class="mgb20"> |
|
|
|
<el-radio v-model="autograph" label="1">不使用</el-radio> |
|
|
|
<el-radio v-model="autograph" |
|
|
|
<el-radio v-model="autograph" label="2">已有签名</el-radio> |
|
|
|
label="1">不使用</el-radio> |
|
|
|
<el-radio v-model="autograph" label="3">重新上传</el-radio> |
|
|
|
<el-radio v-model="autograph" |
|
|
|
|
|
|
|
label="2">已有签名</el-radio> |
|
|
|
|
|
|
|
<el-radio v-model="autograph" |
|
|
|
|
|
|
|
label="3">重新上传</el-radio> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-row v-if="autograph != 1"> |
|
|
|
<el-row v-if="autograph != 1"> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-select class="sign-select" v-model="signId" placeholder="请选择签名" size="mini" v-show="autograph == 2"> |
|
|
|
<el-select class="sign-select" |
|
|
|
<el-option |
|
|
|
v-model="signId" |
|
|
|
v-for="item in signList" |
|
|
|
placeholder="请选择签名" |
|
|
|
|
|
|
|
size="mini" |
|
|
|
|
|
|
|
v-show="autograph == 2"> |
|
|
|
|
|
|
|
<el-option v-for="item in signList" |
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
|
:label="item.signatureName" |
|
|
|
:label="item.signatureName" |
|
|
|
:value="item.id" |
|
|
|
:value="item.id"> |
|
|
|
> |
|
|
|
|
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
<el-upload |
|
|
|
<el-upload :data="{userId: userId}" |
|
|
|
:data="{userId: userId}" |
|
|
|
|
|
|
|
:limit="1" |
|
|
|
:limit="1" |
|
|
|
:action="api.uploadSignature" |
|
|
|
:action="api.uploadSignature" |
|
|
|
list-type="picture-card" |
|
|
|
list-type="picture-card" |
|
|
@ -195,7 +284,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
userId: this.$store.state.userLoginId, |
|
|
|
userId: this.$store.state.userLoginId, |
|
|
|
id: this.$route.query.id, |
|
|
|
id: this.$route.query.id, |
|
|
@ -222,12 +311,12 @@ export default { |
|
|
|
signId: "" |
|
|
|
signId: "" |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
this.getData(); |
|
|
|
this.getData(); |
|
|
|
this.getSgin(); |
|
|
|
this.getSgin(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
getData() { |
|
|
|
getData () { |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
|
// reportId: this.id |
|
|
|
// reportId: this.id |
|
|
|
reportId: 97 |
|
|
|
reportId: 97 |
|
|
@ -248,7 +337,7 @@ export default { |
|
|
|
}).catch(res => { |
|
|
|
}).catch(res => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
getSgin() { |
|
|
|
getSgin () { |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
|
userId: this.userId |
|
|
|
userId: this.userId |
|
|
|
}; |
|
|
|
}; |
|
|
@ -257,10 +346,10 @@ export default { |
|
|
|
}).catch(res => { |
|
|
|
}).catch(res => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleRemove(file, fileList) { |
|
|
|
handleRemove (file, fileList) { |
|
|
|
console.log(file, fileList); |
|
|
|
console.log(file, fileList); |
|
|
|
}, |
|
|
|
}, |
|
|
|
saveAdd() { |
|
|
|
saveAdd () { |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
|
systemId: this.configId, |
|
|
|
systemId: this.configId, |
|
|
|
systemName: this.form.systemName, |
|
|
|
systemName: this.form.systemName, |
|
|
@ -281,7 +370,7 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
SpanMethod({ row, column, rowIndex, columnIndex }) { |
|
|
|
SpanMethod ({ row, column, rowIndex, columnIndex }) { |
|
|
|
if (rowIndex % 2 === 0) { |
|
|
|
if (rowIndex % 2 === 0) { |
|
|
|
if (columnIndex === 6) { |
|
|
|
if (columnIndex === 6) { |
|
|
|
if (!row.Intranet) { |
|
|
|
if (!row.Intranet) { |
|
|
@ -293,15 +382,15 @@ export default { |
|
|
|
// } |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
editMsg() { |
|
|
|
editMsg () { |
|
|
|
this.isEdit = true; |
|
|
|
this.isEdit = true; |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleExceed(files, fileList) { |
|
|
|
handleExceed (files, fileList) { |
|
|
|
util.warningMsg( |
|
|
|
util.warningMsg( |
|
|
|
`当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!` |
|
|
|
`当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!` |
|
|
|
); |
|
|
|
); |
|
|
|
}, |
|
|
|
}, |
|
|
|
uploadSuccess(res, file) { |
|
|
|
uploadSuccess (res, file) { |
|
|
|
if (res.status == 200) { |
|
|
|
if (res.status == 200) { |
|
|
|
util.successMsg("上传成功"); |
|
|
|
util.successMsg("上传成功"); |
|
|
|
this.getSgin(); |
|
|
|
this.getSgin(); |
|
|
@ -309,9 +398,10 @@ export default { |
|
|
|
$message.error(res.message); |
|
|
|
$message.error(res.message); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
goback() { |
|
|
|
goback () { |
|
|
|
this.$confirm("确定返回?未更新的信息将不会保存。", "提示", { |
|
|
|
this.$confirm("确定返回?未更新的信息将不会保存。", "提示", { |
|
|
|
type: "warning" |
|
|
|
type: "warning", |
|
|
|
|
|
|
|
closeOnClickModal: false |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
.then(() => { |
|
|
|
this.$router.back(); |
|
|
|
this.$router.back(); |
|
|
|