| | |
| | | Questionnairetaskget, |
| | | gethetaskinfo, |
| | | delhetaskinfo, |
| | | Questionnairetaskdetails, |
| | | Editsingletask, |
| | | } from "@/api/AiCentre/index"; |
| | | import { listDept } from "@/api/system/dept"; |
| | | |
| | |
| | | |
| | | created() { |
| | | this.id = this.$route.query.id; |
| | | this.form.Type = this.$route.query.type; |
| | | this.form.type = this.$route.query.type; |
| | | this.form.typename = this.$route.query.typename; |
| | | this.listDept(); |
| | | this.Acquisitiontype(); |
| | | this.Getdetails(); |
| | |
| | | if (!this.form.type) { |
| | | this.form.type = this.$route.query.type; |
| | | } |
| | | Questionnairetaskdetails(this.form).then((res) => { |
| | | Editsingletask(this.form).then((res) => { |
| | | if (res.code == 200) { |
| | | if (this.form.taskid) { |
| | | this.$modal.msgSuccess("新增成功"); |