parent
e7563ae8be
commit
35ca949882
|
|
@ -116,6 +116,13 @@
|
|||
<el-form-item label="编辑评分:" prop="industrySelect">
|
||||
<el-rate v-model="form.rating" clearable :disabled="readOnly" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="潜在独家:" prop="industrySelect">
|
||||
<el-radio-group v-model="form.exclusive" size="large" style="width: 240px">
|
||||
<el-radio :label="1">是</el-radio>
|
||||
<el-radio :label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</div>
|
||||
|
||||
<div class="step_bk" style="position: relative">
|
||||
|
|
@ -253,6 +260,7 @@ const form = ref({
|
|||
},
|
||||
rating: 0,
|
||||
showEverything: true,
|
||||
exclusive: 0,
|
||||
});
|
||||
/********************step1 start *************************/
|
||||
// 文章标题已经输入的字数
|
||||
|
|
@ -563,7 +571,9 @@ async function getInfo() {
|
|||
if (code == 200) {
|
||||
infoData.value = data;
|
||||
form.value = data;
|
||||
|
||||
if (!form.value.exclusive) {
|
||||
form.value.exclusive = 0;
|
||||
}
|
||||
if (form.value.deleted) {
|
||||
emit('handleEditStatus', true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,8 +83,12 @@
|
|||
<el-table-column prop="title" label="标题" align="left" width="380">
|
||||
<template v-slot="scope">
|
||||
<div style="display: flex; flex-direction: column;gap: 5px;padding: 10px 0;">
|
||||
<div>
|
||||
<span style="color: red;font-weight: bold;margin-right: 3px;"
|
||||
v-if="scope.row.exclusive == 1">[独家]</span>
|
||||
<span class="cursor-pointer" @click="goDetail(1, scope.row, true)"
|
||||
v-html="scope.row.title"></span>
|
||||
</div>
|
||||
|
||||
<div class="labels">
|
||||
<div v-for="company in scope.row.companys" :key="company" class="label_item">
|
||||
|
|
|
|||
|
|
@ -87,8 +87,12 @@
|
|||
<el-table-column prop="title" label="标题" align="left" width="380">
|
||||
<template v-slot="scope">
|
||||
<div style="display: flex; flex-direction: column;gap: 5px;padding: 10px 0;">
|
||||
<div>
|
||||
<span style="color: red;font-weight: bold;margin-right: 3px;"
|
||||
v-if="scope.row.exclusive == 1">[独家]</span>
|
||||
<span class="cursor-pointer" @click="goDetail(1, scope.row, true)"
|
||||
v-html="scope.row.title"></span>
|
||||
</div>
|
||||
|
||||
<div class="labels" v-if="Session.get('userInfoLocal').userType == '00'">
|
||||
<div v-for="company in scope.row.companys" :key="company" class="label_item">
|
||||
|
|
|
|||
Loading…
Reference in New Issue