|
|
@@ -229,7 +229,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column fixed="right" align="center" label="操作" width="80px" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="primary" size="small" @click="handleClickView(scope.row.id)">上传</el-button>
|
|
|
+ <el-button :disabled="scope.row.uploadStatus=='未上传' ? false : true" type="primary" size="small" @click="handleClickViewZan(scope.row.id)">上传</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -381,7 +381,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="事项" prop="matters">
|
|
|
<el-checkbox-group v-model="dataFormZan.matters">
|
|
|
- <el-checkbox v-for="item in typeListZan" :key="item.dictLabel" :label="item.dictLabel" name="type"></el-checkbox>
|
|
|
+ <el-checkbox v-for="item in typeListZan" :key="item.dictValue" :label="item.dictValue">{{ item.dictLabel }}</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="证明附件:" prop="fileIds">
|
|
|
@@ -552,7 +552,7 @@ export default {
|
|
|
this.remarkHtml = response.data.data.content
|
|
|
})
|
|
|
},
|
|
|
- handleClickCreateZan(id){
|
|
|
+ handleClickViewZan(id){
|
|
|
this.dialogVisibleZan = true;
|
|
|
this.dataFormZan = {
|
|
|
videoId: id,
|
|
|
@@ -724,7 +724,7 @@ export default {
|
|
|
this.getDataListTrain();
|
|
|
}
|
|
|
if(tab.name == 'sixth'){
|
|
|
- this.getRemarkHtml('zanRule');
|
|
|
+ this.getRemarkHtml('interactiveRule');
|
|
|
this.getTypeListZan();
|
|
|
this.getDataListZan()
|
|
|
}
|
|
|
@@ -1115,6 +1115,7 @@ export default {
|
|
|
submitFormZan() {
|
|
|
this.$refs['dataFormZan'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
+ this.dataFormZan.matters = this.dataFormZan.matters.join(",");
|
|
|
uploadZan(this.dataFormZan)
|
|
|
.then((response) => {
|
|
|
this.dialogVisibleZan = false;
|