Commit d880d75b by wangzhihui

Merge branch 'SAAS+V5.3.0-1117' of http://192.168.3.233:8090/saas_plus/dj-car-li…

…fe-system into SAAS+V5.3.0-1117
2 parents 1e13a56d 90db9227
...@@ -118,10 +118,12 @@ export default { ...@@ -118,10 +118,12 @@ export default {
this.setBrowseTrackData() this.setBrowseTrackData()
}, 10e3) }, 10e3)
} }
let trackParams = {}
if(this.track_businessParam_key) trackParams = this[this.track_businessParam_key] || {}
this.setReportTrackData( this.setReportTrackData(
2, 2,
this.track_event_code, this.track_event_code,
this[this.track_businessParam_key], trackParams,
this.track_batchId this.track_batchId
) )
} catch (error) { } catch (error) {
......
...@@ -432,7 +432,7 @@ export default { ...@@ -432,7 +432,7 @@ export default {
handleTextBoxChange(val, targetItem) { handleTextBoxChange(val, targetItem) {
console.log(val) console.log(val)
this.$set(this.formData, "selectionRule", val) this.$set(this.formData, "selectionRule", val)
this.$refs.channelForm.validateField("selectionRule") this.$refs.ruleForm.validateField("selectionRule")
}, },
handleTextBoxFocus() { handleTextBoxFocus() {
this.$refs.TextBox.setEdit(this.formData.selectionRule) this.$refs.TextBox.setEdit(this.formData.selectionRule)
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<el-button <el-button
type="text" type="text"
@click="jumpEdit(scope.scope)" @click="jumpEdit(scope.scope)"
:disabled="scope.scope.status == 1" v-if="scope.scope.status != 1"
data-event-code="activity_management_edit" data-event-code="activity_management_edit"
> >
编辑 编辑
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<el-button <el-button
type="text" type="text"
@click="handleAccountConfirm(scope.scope)" @click="handleAccountConfirm(scope.scope)"
:disabled="scope.scope.status == 1 && scope.scope.status == 2" v-if="scope.scope.status != 1 && scope.scope.status != 2"
data-event-code="activity_management_import" data-event-code="activity_management_import"
> >
导入名单 导入名单
...@@ -81,7 +81,6 @@ ...@@ -81,7 +81,6 @@
<el-button <el-button
type="text" type="text"
@click="handleDelete(scope.scope)" @click="handleDelete(scope.scope)"
:disabled="scope.scope.status == 1"
data-event-code="activity_management_del" data-event-code="activity_management_del"
> >
删除 删除
...@@ -132,6 +131,9 @@ ...@@ -132,6 +131,9 @@
> >
</el-option> </el-option>
</el-select> </el-select>
</div>
</el-form-item>
<el-form-item label="">
<div class="add-box flex" v-if="addPeriodFlag"> <div class="add-box flex" v-if="addPeriodFlag">
<el-input <el-input
placeholder="请输入" placeholder="请输入"
...@@ -156,7 +158,6 @@ ...@@ -156,7 +158,6 @@
取消 取消
</el-button> </el-button>
</div> </div>
</div>
<el-button <el-button
v-if="!addPeriodFlag" v-if="!addPeriodFlag"
type="text" type="text"
...@@ -167,6 +168,7 @@ ...@@ -167,6 +168,7 @@
新增周期 新增周期
</el-button> </el-button>
</el-form-item> </el-form-item>
<el-form-item label="获奖名单:" prop="fileName"> <el-form-item label="获奖名单:" prop="fileName">
<div> <div>
<el-button class="import-btn1"> <el-button class="import-btn1">
...@@ -218,7 +220,7 @@ ...@@ -218,7 +220,7 @@
</div> </div>
<el-button <el-button
type="text" type="text"
@click="exportError(fileForm.errorFileUrl)" @click.stop="exportError(fileForm.errorFileUrl)"
> >
下载错误报告 下载错误报告
</el-button> </el-button>
...@@ -436,9 +438,14 @@ export default { ...@@ -436,9 +438,14 @@ export default {
}) })
}, },
async handleAccountConfirm(row) { async handleAccountConfirm(row) {
// this.fileForm = {}
this.currentRow = row this.currentRow = row
await this.activityCyclePage() await this.activityCyclePage()
this.fileVisible = true this.fileVisible = true
if (this.$refs.fileRuleForm) {
this.$refs.fileRuleForm.resetFields()
}
}, },
addPeriod() { addPeriod() {
if (!this.cycleName || this.cycleName.trim() === "") { if (!this.cycleName || this.cycleName.trim() === "") {
...@@ -452,7 +459,7 @@ export default { ...@@ -452,7 +459,7 @@ export default {
this.addPeriodFlag = false this.addPeriodFlag = false
this.notice.okTips() this.notice.okTips()
await this.activityCyclePage() await this.activityCyclePage()
this.fileForm.currentPeriod = this.periodList[0].id // this.fileForm.currentPeriod = this.periodList[0].id
}) })
}, },
......
...@@ -93,9 +93,7 @@ export default { ...@@ -93,9 +93,7 @@ export default {
width: "600px" width: "600px"
}, },
examineRef: "examineRef", examineRef: "examineRef",
formRules: { formRules: {},
remark: [{ required: true, message: "请填写审核意见", trigger: "blur" }]
},
editFormData: [ editFormData: [
{ {
label: "审核意见", label: "审核意见",
...@@ -149,6 +147,10 @@ export default { ...@@ -149,6 +147,10 @@ export default {
this.$refs.formRef.$refs[this.rejectRef].validate((valid) => { this.$refs.formRef.$refs[this.rejectRef].validate((valid) => {
if (valid) { if (valid) {
var params = {} var params = {}
if (type === 2 && !this.infoForm.remark) {
this.$message.warning("请填写审核意见")
return
}
params.auditOpinion = this.infoForm.remark params.auditOpinion = this.infoForm.remark
params.id = this.info.id params.id = this.info.id
params.auditStatus = type params.auditStatus = type
......
...@@ -112,9 +112,7 @@ export default { ...@@ -112,9 +112,7 @@ export default {
width: "600px" width: "600px"
}, },
examineRef: "examineRef", examineRef: "examineRef",
formRules: { formRules: {},
remark: [{ required: true, message: "请填写审核意见", trigger: "blur" }]
},
editFormData: [ editFormData: [
{ {
label: "审核意见", label: "审核意见",
...@@ -171,6 +169,10 @@ export default { ...@@ -171,6 +169,10 @@ export default {
this.$refs.formRef.$refs[this.rejectRef].validate((valid) => { this.$refs.formRef.$refs[this.rejectRef].validate((valid) => {
if (valid) { if (valid) {
var params = {} var params = {}
if (type === 2 && !this.infoForm.remark) {
this.$message.warning("请填写审核意见")
return
}
params.auditOpinion = this.infoForm.remark params.auditOpinion = this.infoForm.remark
params.id = this.info.id params.id = this.info.id
params.auditStatus = type params.auditStatus = type
......
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
label: "全部" label: "全部"
}, },
{ {
id: 1, id: 0,
label: "待审核" label: "待审核"
}, },
{ {
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
label: "已通过" label: "已通过"
}, },
{ {
id: 3, id: 1,
label: "已驳回" label: "已驳回"
} }
], ],
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
label: "创建时间", label: "创建时间",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.reportDate return cellValue.reportDate
? Util.dateFormate(cellValue.reportDate, "YYYY-MM-DD HH:mm:ss") ? Util.dateFormate(cellValue.reportDate, "YYYY-MM-DD")
: "-" : "-"
}, },
minWidth: 180 minWidth: 180
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!