|
|
@@ -69,7 +69,7 @@
|
|
|
type="danger"
|
|
|
@click="openWritingBoard"
|
|
|
v-show="currentQuestion.questionType !== 1 && currentQuestion.questionType !== 2
|
|
|
- && currentQuestion.questionType !== 6" round>开始答题
|
|
|
+ && currentQuestion.questionType !== 6" round>GPS-REN学习法
|
|
|
</el-button>
|
|
|
|
|
|
<el-button
|
|
|
@@ -138,6 +138,57 @@
|
|
|
<div slot="tip" class="el-upload__tip">答案附件上传(只能上传jpg/png文件,且不超过1M)</div>
|
|
|
</el-upload>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template>
|
|
|
+ <el-dialog title="GPS-REN学习法" :visible.sync="dialogVisible" width="80%"
|
|
|
+ :before-close="handleClose">
|
|
|
+
|
|
|
+ <el-form :model="form" ref="form" label-width="100px" class="demo-ruleForm" label-position="top">
|
|
|
+
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="G(目标导向):">
|
|
|
+ <div v-html="currentQuestion.content"></div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="P(描述问题):">
|
|
|
+ <el-input type="textarea" v-model="form.p"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="S(拆解问题):">
|
|
|
+ <el-input type="textarea" v-model="form.s"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="R(结果):">
|
|
|
+ <el-input type="textarea" v-model="form.r"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="E(评估方案):">
|
|
|
+ <el-input type="textarea" v-model="form.e"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="N(这个整个学习过程对我补充了什么新知识):">
|
|
|
+ <el-input type="textarea" v-model="form.n"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-form>
|
|
|
+
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -205,7 +256,12 @@
|
|
|
currentQuestion: {}, // 当前试题
|
|
|
currentQuestionPage: 0,
|
|
|
questionAnswerDataList: [], // 试题答案列表
|
|
|
- questionTotal: 0
|
|
|
+ questionTotal: 0,
|
|
|
+ dialogVisible:false,
|
|
|
+ form:{},
|
|
|
+ config:{
|
|
|
+ zIndex:0
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -259,8 +315,11 @@
|
|
|
|
|
|
openWritingBoard () {
|
|
|
// location.href = this.$store.state.host + '/static/writingBoard/writingBoard.html'
|
|
|
- this.$emit('openWritingBoard')
|
|
|
- window.open(this.$store.state.common.host + '/static/writingBoard/writingBoard.html')
|
|
|
+ // this.$emit('openWritingBoard')
|
|
|
+ // window.open(this.$store.state.common.host + '/static/writingBoard/writingBoard.html')
|
|
|
+
|
|
|
+
|
|
|
+ this.dialogVisible = true
|
|
|
},
|
|
|
|
|
|
lookAnswerImg (url) {
|