|
@@ -432,7 +432,7 @@
|
|
|
box-sizing: border-box;
|
|
|
background: #f0f4fa
|
|
|
">
|
|
|
- <div class="cru_selectBox">
|
|
|
+ <div class="cru_selectBox" :style="{width:(userid == courseUserid || role == '1') ? 'calc(100% - 300px)':'calc(100% - 175px)'}">
|
|
|
<div v-for="(item, index) in unitJson" :key="index" class="cru_select"
|
|
|
:class="unitIndex == index ? 'cru_selected' : ''" @click="unitSet(index)">
|
|
|
<!-- item.dyName ? item.dyName : -->
|
|
@@ -452,7 +452,8 @@
|
|
|
">
|
|
|
<img src="../../assets/icon/new/addStage.png" alt />
|
|
|
</div>
|
|
|
- <button class="c_pub_button_add pub_btn_paste_img" @click="pasteTask" v-if="steps == 3" style="margin: 0 0 0 auto;">智能粘贴</button>
|
|
|
+ <button class="c_pub_button_add" @click="openStageBox" v-if="steps == 3 && (userid == courseUserid || role == '1')" style="margin: 0 0 0 auto;">阶段顺序</button>
|
|
|
+ <button class="c_pub_button_add pub_btn_paste_img" @click="pasteTask" v-if="steps == 3">智能粘贴</button>
|
|
|
</div>
|
|
|
|
|
|
<div style="margin: 0 0 40px 0; padding: 0 20px 0 20px"
|
|
@@ -3019,6 +3020,16 @@
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<interVideo :dialogVisibleVideo.sync="dialogVisibleVideo" :videoJson="videoJson" @add="addVideoJson"></interVideo>
|
|
|
+ <el-dialog title="切换阶段顺序" :visible.sync="dialogVisibleGroup" :append-to-body="true" width="650px"
|
|
|
+ :before-close="handleClose" class="dialog_diy">
|
|
|
+ <div class="change_stageBox">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="dialogVisibleGroup = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="addGroupJson">确定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -6485,6 +6496,9 @@ export default {
|
|
|
.catch(() => {
|
|
|
return;
|
|
|
});
|
|
|
+ },
|
|
|
+ openStageBox(){
|
|
|
+
|
|
|
},
|
|
|
addAnswer() {
|
|
|
if (this.answerQ == "") {
|