Commit c5211256 by 前端

Merge branch 'xuyl_dev_v3.3.0' into 'v3.3.1'

3.3.1代码

See merge request !381
2 parents 696659c4 0bbd31fb
......@@ -66,6 +66,7 @@ export default {
jumpEvent(obj) {
this.$set(this.eventObj, 'addOrEdit', obj.addOrEdit)
delete obj.info.eventStartDate
this.$set(this.eventObj, 'info', obj.info)
this.parentCustomerObj = obj.parentCustomerObj
this.eventIndex = obj.eventIndex
......
......@@ -57,6 +57,13 @@ export default {
type: 'input',
isClear: true,
maxlength: 11
},
{
label: '企微名称',
name: 'customerPhone',
type: 'input',
isClear: true,
maxlength: 50
}
],
// 表格
......
......@@ -3,11 +3,16 @@
<div class="edit-event marketing edit-box">
<!-- 营销时间 -->
<div class="container m-b-20">
<p class="edit-title">营销时间</p>
<glsx-combi-form class="edit-form-container m-r-20" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="sopNameFormData" :formRules="editRule"></glsx-combi-form>
<p class="edit-title">营销时间</p> <glsx-combi-form class="edit-form-container m-r-20" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="sopNameFormData" :formRules="editRule"></glsx-combi-form>
<glsx-combi-form ref="editFormRefDate" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :formRef="editChildRef" :formObj="editForm" :formData="editFormDataDate" :formRules="editRule">
<div slot="eventStartDate" slot-scope="scope">
<el-date-picker class="m-r-20" v-model="editForm[scope.scope.name]" :placeholder="scope.scope.placeholder" :value-format="scope.scope.valueFormat" :clearable="scope.scope.isClear" :picker-options="scope.scope.customPickerOptions" @change="scope.scope.change"></el-date-picker>
<el-date-picker class="m-r-20"
v-model="editForm[scope.scope.name]"
:placeholder="scope.scope.placeholder"
:value-format="scope.scope.valueFormat"
:clearable="scope.scope.isClear"
:picker-options="scope.scope.customPickerOptions"
@change="scope.scope.change"></el-date-picker>
</div>
<div slot="eventTime" slot-scope="scope">
<el-time-picker v-model="editForm[scope.scope.name]" value-format="HH:mm" format="HH:mm" :placeholder="scope.scope.placeholder"></el-time-picker>
......@@ -538,7 +543,7 @@ export default {
},
getInfo() {
this.editForm.eventStartDate = moment(this.editForm.eventStartDate).format('YYYY-MM-DD')
this.editForm.eventStartDate = this.editForm.eventStartDate ? moment(this.editForm.eventStartDate).format('YYYY-MM-DD') : ''
this.editForm.eventEndDate = this.editForm.eventEndDate ? moment(this.editForm.eventEndDate).format('YYYY-MM-DD') : ''
this.previewList = this.editForm.object ? [{ attContent: JSON.parse(JSON.stringify(this.editForm.object)), additionalType: this.editForm.object.additionalType }] : []
this.recoveryRepeat()
......@@ -686,7 +691,8 @@ export default {
},
handleConfirm() {
var countParams = {
console.log(this.editForm.eventStartDate)
let countParams = {
eventStartDate: this.editForm.eventStartDate,
eventEndDate: this.editForm.eventEndDate,
eventTime: this.editForm.eventTime,
......@@ -694,6 +700,7 @@ export default {
repeatMode: this.editForm.repeatMode,
repeatTime: this.editForm.repeatTime
}
console.log(countParams)
if (this.submit) {
return true
}
......@@ -849,4 +856,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
......@@ -81,6 +81,29 @@ export default {
},
{
type: 'el-button',
name: '查看',
attrs: {
type: 'text'
},
condition: row => {
return row.sopStatus == 3
},
listeners: {
click: this.handleEnd
}
},
{
type: 'el-button',
name: '复制',
attrs: {
type: 'text'
},
listeners: {
click: row => this.handleEdit('copy', row)
}
},
{
type: 'el-button',
name: '编辑',
attrs: {
type: 'text'
......@@ -115,7 +138,7 @@ export default {
{
label: 'SOP名称',
prop: 'sopName',
width: 260,
width: 240,
line: 1
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!