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