|
@@ -531,7 +531,7 @@
|
|
:width="1000"
|
|
:width="1000"
|
|
v-if="materialVisible"
|
|
v-if="materialVisible"
|
|
:visible="materialVisible"
|
|
:visible="materialVisible"
|
|
- :confirm-loading="modifyPriceLoading"
|
|
|
|
|
|
+ :confirm-loading="materialLoading"
|
|
dialog-class="push-modal"
|
|
dialog-class="push-modal"
|
|
@ok="handleOkMaterial"
|
|
@ok="handleOkMaterial"
|
|
@cancel="
|
|
@cancel="
|
|
@@ -549,7 +549,14 @@
|
|
<a-checkbox-group v-model="checkVideo" style="width: 100%;" @change="setVideoDataAll">
|
|
<a-checkbox-group v-model="checkVideo" style="width: 100%;" @change="setVideoDataAll">
|
|
<div class="card-person-drawer info-detail">
|
|
<div class="card-person-drawer info-detail">
|
|
<a-card class="card-person card-item" v-for="(item, index) in dataVideoList" :key="index">
|
|
<a-card class="card-person card-item" v-for="(item, index) in dataVideoList" :key="index">
|
|
- <!-- <a slot="title">查看视频</a> -->
|
|
|
|
|
|
+ <div
|
|
|
|
+ slot="title"
|
|
|
|
+ style=" overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ white-space: nowrap;"
|
|
|
|
+ >
|
|
|
|
+ {{ item.photoName }}
|
|
|
|
+ </div>
|
|
<div slot="extra">
|
|
<div slot="extra">
|
|
<a-checkbox :value="item.photoId" @change="setVideoData(item.photoId)"></a-checkbox>
|
|
<a-checkbox :value="item.photoId" @change="setVideoData(item.photoId)"></a-checkbox>
|
|
</div>
|
|
</div>
|
|
@@ -732,6 +739,7 @@ export default {
|
|
appIds: [],
|
|
appIds: [],
|
|
appOptions: [],
|
|
appOptions: [],
|
|
materialVisible: false,
|
|
materialVisible: false,
|
|
|
|
+ materialLoading: false,
|
|
scheduleTimeData: [{ scheduleTime: '' }],
|
|
scheduleTimeData: [{ scheduleTime: '' }],
|
|
indexAll: 0,
|
|
indexAll: 0,
|
|
spinning: false,
|
|
spinning: false,
|
|
@@ -1268,10 +1276,12 @@ export default {
|
|
handleOkMaterial() {
|
|
handleOkMaterial() {
|
|
let dataAll = this.checkPersonElse
|
|
let dataAll = this.checkPersonElse
|
|
this.checkVideo = dataAll
|
|
this.checkVideo = dataAll
|
|
|
|
+ this.materialLoading = true
|
|
this.postDataAction('/dimension/kuaiShouDimensionStrategy/create', {
|
|
this.postDataAction('/dimension/kuaiShouDimensionStrategy/create', {
|
|
id: this.ipaginationVideo.id,
|
|
id: this.ipaginationVideo.id,
|
|
materialArray: this.checkVideo
|
|
materialArray: this.checkVideo
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
|
+ this.materialLoading = false
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.materialVisible = false
|
|
this.materialVisible = false
|
|
this.checkPersonElse = []
|
|
this.checkPersonElse = []
|
|
@@ -1319,7 +1329,7 @@ export default {
|
|
let params = {}
|
|
let params = {}
|
|
params.id = rescord.id
|
|
params.id = rescord.id
|
|
params.strategyStatus = status
|
|
params.strategyStatus = status
|
|
- url = '/dimension/kuaiShouDimensionStrategy/insertOrUpdate'
|
|
|
|
|
|
+ url = '/dimension/kuaiShouDimensionStrategy/edit'
|
|
this.postDataAction(url, params).then(res => {
|
|
this.postDataAction(url, params).then(res => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
const paramsData = this.form.getFieldsValue()
|
|
const paramsData = this.form.getFieldsValue()
|