|
|
|
@ -277,6 +277,9 @@
|
|
|
|
|
<el-descriptions-item label="文章地址">{{
|
|
|
|
|
form.url
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="评价状态">
|
|
|
|
|
<dict-tag :options="dict.type.tc_pj_status" :value="form.status" />
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
@ -298,7 +301,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
name: "Article",
|
|
|
|
|
//注释字典
|
|
|
|
|
dicts: ["tc_wz_type", "tc_yq_media"],
|
|
|
|
|
dicts: ["tc_wz_type", "tc_yq_media", "tc_pj_status"],
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
tableHeigth: 0,
|
|
|
|
@ -398,6 +401,7 @@ export default {
|
|
|
|
|
updateBy: null,
|
|
|
|
|
|
|
|
|
|
remark: null,
|
|
|
|
|
status: null,
|
|
|
|
|
};
|
|
|
|
|
this.resetForm("form");
|
|
|
|
|
},
|
|
|
|
@ -447,6 +451,7 @@ export default {
|
|
|
|
|
submitForm() {
|
|
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.form.status = 2; //未评价
|
|
|
|
|
if (this.form.id != null) {
|
|
|
|
|
updateArticle(this.form).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|