diff --git a/project/hlj/app/AppFormAudit/AppFormAudit.vue b/project/hlj/app/AppFormAudit/AppFormAudit.vue new file mode 100644 index 00000000..3484b45d --- /dev/null +++ b/project/hlj/app/AppFormAudit/AppFormAudit.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/project/hlj/app/AppFormAudit/components/List.vue b/project/hlj/app/AppFormAudit/components/List.vue new file mode 100644 index 00000000..5c6442da --- /dev/null +++ b/project/hlj/app/AppFormAudit/components/List.vue @@ -0,0 +1,261 @@ + + + + + diff --git a/project/hlj/app/AppRecoScore/components/List.vue b/project/hlj/app/AppRecoScore/components/List.vue index 0568ee8c..cb743d8c 100644 --- a/project/hlj/app/AppRecoScore/components/List.vue +++ b/project/hlj/app/AppRecoScore/components/List.vue @@ -57,18 +57,18 @@ - - + + - +
-
- {{ item.name }} +
+ {{ item.name }}
- 请选择 -
{{ form.evaluatorsList.length ? '重新选择' : '选择' }}
+ 请选择 +
{{ form.evaluators.length ? '重新选择' : '选择' }}
@@ -108,10 +108,11 @@ form: { date: '', templateId: '', - templateName: '', - evaluatorsList: [], + title: '', + evaluators: [], scorerList: [], evaluatorsNames: '', + uploadWedrive: '0', scorerNames: '' }, colConfigs: [ @@ -162,6 +163,11 @@ }) } }) + + this.instance.post(`/app/appassessmentscorev2task/queryWedriveDirectory`).then(res => { + if (res.code == 0) { + } + }) }, onUserChange(e, type) { @@ -177,9 +183,27 @@ this.form.templateId = '' this.form.templateName = '' this.form.evaluatorsList = [] - this.form.scorerList = [] this.form.evaluatorsNames = '' - this.form.scorerNames = '' + }, + + onConfirm () { + this.$refs.form.validate((valid) => { + if (valid) { + this.instance.post(`/app/appassessmentscorev2task/addOrUpdate`, { + ...this.form, + beginTime: this.form.date[0], + endTime: this.form.date[1], + date: '' + }).then(res => { + if (res.code == 0) { + this.$message.success('提交成功!') + this.isShow = false + + this.getList() + } + }) + } + }) }, getList () { @@ -213,20 +237,6 @@ }) }, - onConfirm () { - this.$refs.form.validate((valid) => { - if (valid) { - this.instance.post(`/app/appassessmentscortask/addOrUpdate?title=${this.form.title}`).then(res => { - if (res.code == 0) { - this.$message.success('提交成功!') - this.getList() - this.isShow = false - } - }) - } - }) - }, - remove(id) { this.$confirm('确定删除该数据?').then(() => { this.instance.post(`/app/appassessmentscortask/delete?id=${id}`).then(res => {