xjc 4 years ago
parent
commit
5df5a9e318
3 changed files with 11 additions and 1 deletions
  1. 6 0
      src/views/classes/Add.vue
  2. 4 0
      src/views/classes/Index.vue
  3. 1 1
      vue.config.js

+ 6 - 0
src/views/classes/Add.vue

@@ -3,6 +3,9 @@
         .el-input,button{
             width: 500px;
         }
+        .sub .el-input {
+            width: 500px!important;
+        }
     }
 </style>
 <template>
@@ -25,6 +28,9 @@
                 <el-form-item label="备注">
                         <el-input placeholder="备注" v-model="form.remark"></el-input>
                 </el-form-item>
+                <el-form-item label="提醒">
+                        <el-input placeholder="提醒" v-model="form.remind"></el-input>
+                </el-form-item>
                 <el-form-item label=" ">
                         <el-button @click="save" type="primary">保存</el-button>
                 </el-form-item>

+ 4 - 0
src/views/classes/Index.vue

@@ -80,6 +80,10 @@
                 label="备注">
                 </el-table-column>
                 <el-table-column
+                prop="remind"
+                label="提醒">
+                </el-table-column>
+                <el-table-column
                 prop="ctime"  width="200"
                 label="创建时间">
                 </el-table-column>

+ 1 - 1
vue.config.js

@@ -2,7 +2,7 @@ module.exports={
     devServer:{
         proxy:{
             '/api':{
-                target:'https://www.scxjc.club',
+                target:'http://newadmin.yifeng2016.com',
                 changeOrigin: true,
             }
         }