|
|
@@ -144,13 +144,13 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { insertConfiguration } from "@/api/resumption/configuration";
|
|
|
+import { insertConfiguration ,getInfo} from "@/api/resumption/configuration";
|
|
|
export default {
|
|
|
props: [],
|
|
|
components: {},
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
+ coreResumptionConfigurationDTO:[],
|
|
|
num: 1,
|
|
|
day: {
|
|
|
resumptionCycle: 1,
|
|
|
@@ -252,20 +252,23 @@ export default {
|
|
|
watch: {},
|
|
|
computed: {},
|
|
|
beforeCreate() { },
|
|
|
- created() { },
|
|
|
+
|
|
|
beforeMount() { },
|
|
|
mounted() { },
|
|
|
beforeUpdate() { },
|
|
|
updated() { },
|
|
|
destroyed() { },
|
|
|
-
|
|
|
+ created() {
|
|
|
+ this.selectInfo();
|
|
|
+ },
|
|
|
methods: {
|
|
|
request() { },
|
|
|
handleChange(value) { },
|
|
|
- hello() {
|
|
|
- alert("来自预设逻辑代码的问候")
|
|
|
+ selectInfo(){
|
|
|
+ getInfo().then(response=>{
|
|
|
+ this.coreResumptionConfigurationDTO = response.rows;
|
|
|
+ })
|
|
|
},
|
|
|
-
|
|
|
checkForm(form) {
|
|
|
let val
|
|
|
this.$refs[form].validate(valid => {
|