|
@@ -476,12 +476,12 @@
|
|
|
'modalityTagList', // 给表单赋值或拉取表单时,该input对应的key
|
|
|
{ rules: [{ required: true, message: '请选择形式标签!' }] },
|
|
|
]"
|
|
|
- :props="{ multiple: true, value: 'id', label: 'tagName', emitPath: false }"
|
|
|
+ :props="{ checkStrictly: true, value: 'tagCode', label: 'tagName', expandTrigger: 'hover' }"
|
|
|
filterable
|
|
|
style="width: 100%"
|
|
|
></el-cascader>
|
|
|
</a-form-item>
|
|
|
- <a-form-item
|
|
|
+ <!-- <a-form-item
|
|
|
:label-col="labelCol"
|
|
|
:wrapper-col="{
|
|
|
xs: { span: 24 },
|
|
@@ -495,21 +495,16 @@
|
|
|
:options="departTreeContent"
|
|
|
class="only-video-material-disable-modal"
|
|
|
v-decorator="[
|
|
|
- 'contentTagList', // 给表单赋值或拉取表单时,该input对应的key
|
|
|
+ 'contentTagList',
|
|
|
{ rules: [{ required: true, message: '请选择内容标签!' }] },
|
|
|
]"
|
|
|
:props="{
|
|
|
- multiple: true,
|
|
|
- value: 'id',
|
|
|
- label: 'tagName',
|
|
|
- emitPath: false,
|
|
|
- checkStrictly: true,
|
|
|
- expandTrigger: 'hover',
|
|
|
+ checkStrictly: true, value: 'tagCode', label: 'tagName', expandTrigger: 'hover'
|
|
|
}"
|
|
|
filterable
|
|
|
style="width: 100%"
|
|
|
></el-cascader>
|
|
|
- </a-form-item>
|
|
|
+ </a-form-item> -->
|
|
|
<a-form-item
|
|
|
:label-col="labelCol"
|
|
|
:wrapper-col="{
|
|
@@ -526,7 +521,7 @@
|
|
|
'senceTagList', // 给表单赋值或拉取表单时,该input对应的key
|
|
|
{ rules: [{ required: true, message: '请选择场景标签!' }] },
|
|
|
]"
|
|
|
- :props="{ multiple: true, value: 'id', label: 'tagName', emitPath: false }"
|
|
|
+ :props="{ checkStrictly: true, value: 'tagCode', label: 'tagName', expandTrigger: 'hover' }"
|
|
|
filterable
|
|
|
style="width: 100%"
|
|
|
></el-cascader>
|
|
@@ -543,7 +538,7 @@
|
|
|
'modTagList', // 给表单赋值或拉取表单时,该input对应的key
|
|
|
{ rules: [{ required: true, message: '请选择基调标签!' }] },
|
|
|
]"
|
|
|
- :props="{ multiple: true, value: 'id', label: 'tagName', emitPath: false }"
|
|
|
+ :props="{ checkStrictly: true, value: 'tagCode', label: 'tagName', expandTrigger: 'hover' }"
|
|
|
filterable
|
|
|
style="width: 100%"
|
|
|
></el-cascader>
|
|
@@ -1265,7 +1260,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.form.setFieldsValue({
|
|
|
- contentTagList: res.result.tags.contentTagList.map(item=>{return item.tagId}),
|
|
|
+ // contentTagList: res.result.tags.contentTagList.map(item=>{return item.tagId}),
|
|
|
modalityTagList: res.result.tags.modalityTagList.map(item=>{return item.tagId}),
|
|
|
modTagList: res.result.tags.modTagList.map(item=>{return item.tagId}),
|
|
|
senceTagList: res.result.tags.senceTagList.map(item=>{return item.tagId}),
|
|
@@ -1562,7 +1557,7 @@ export default {
|
|
|
};
|
|
|
this.imageinfo=[];
|
|
|
this.form.setFieldsValue({
|
|
|
- contentTagList: null,
|
|
|
+ // contentTagList: null,
|
|
|
modalityTagList: null,
|
|
|
modTagList: null,
|
|
|
senceTagList: null,
|
|
@@ -1649,7 +1644,7 @@ export default {
|
|
|
this.urlList.name='';
|
|
|
|
|
|
this.form.setFieldsValue({
|
|
|
- contentTagList: null,
|
|
|
+ // contentTagList: null,
|
|
|
modalityTagList: null,
|
|
|
modTagList: null,
|
|
|
senceTagList: null,
|
|
@@ -1670,9 +1665,9 @@ export default {
|
|
|
if (res.success) {
|
|
|
if (res.modalityTagList.length > 0) {
|
|
|
this.form.setFieldsValue({
|
|
|
- contentTagList: res.contentTagList.map((item) => {
|
|
|
- return item.tagId
|
|
|
- }),
|
|
|
+ // contentTagList: res.contentTagList.map((item) => {
|
|
|
+ // return item.tagId
|
|
|
+ // }),
|
|
|
modalityTagList: res.modalityTagList.map((item) => {
|
|
|
return item.tagId
|
|
|
}),
|
|
@@ -1894,7 +1889,8 @@ export default {
|
|
|
code: md5,
|
|
|
}).then((res) => {
|
|
|
if (res.success) {
|
|
|
- this.tagInfoList = [...res.modalityTagList, ...res.contentTagList, ...res.senceTagList, ...res.modTagList]
|
|
|
+ // , ...res.contentTagList
|
|
|
+ this.tagInfoList = [...res.modalityTagList, ...res.senceTagList, ...res.modTagList]
|
|
|
if (this.tagInfoListVisible) {
|
|
|
this.departValueInfoModality = res.modalityTagList.map((item) => {
|
|
|
return item.tagId
|
|
@@ -1902,9 +1898,9 @@ export default {
|
|
|
this.departValueInfoMod = res.modTagList.map((item) => {
|
|
|
return item.tagId
|
|
|
})
|
|
|
- this.departValueInfoContent = res.contentTagList.map((item) => {
|
|
|
- return item.tagId
|
|
|
- })
|
|
|
+ // this.departValueInfoContent = res.contentTagList.map((item) => {
|
|
|
+ // return item.tagId
|
|
|
+ // })
|
|
|
this.departValueInfoSence = res.senceTagList.map((item) => {
|
|
|
return item.tagId
|
|
|
})
|