Explorar el Código

数据字典修改

LiuCheng hace 2 meses
padre
commit
92e4e92070
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 2
    2
      config/dev.env.js
  2. 2
    1
      src/view/system/dic.vue

+ 2
- 2
config/dev.env.js Ver fichero

@@ -4,7 +4,7 @@ const prodEnv = require('./prod.env')
4 4
 
5 5
 module.exports = merge(prodEnv, {
6 6
   NODE_ENV: '"development"',
7
-  // BASE_API: '"http://120.224.213.150/thware/"'
8
-	 BASE_API: '"http://localhost:8080/thware/"'
7
+   BASE_API: '"http://120.224.213.150/thware/"'
8
+	// BASE_API: '"http://localhost:8080/thware/"'
9 9
 	// BASE_API: '"http://47.104.245.159:8081/thware/"'
10 10
 })

+ 2
- 1
src/view/system/dic.vue Ver fichero

@@ -8,7 +8,8 @@
8 8
         <el-table v-loading="loading" :data="tableData" stripe border style="width: 99%;">
9 9
             <el-table-column v-for="item in tableProperty" :key="item.id" :prop="item.tableProp" :label="item.tableLabel" :width="item.tableWidth" v-if="item.attr1==='0'">
10 10
             </el-table-column>
11
-            <el-table-column label="操作">
11
+            <el-table-column prop="dicName" size="small" label="姓名" width="100" ></el-table-column>
12
+            <el-table-column label="操作" width="150">
12 13
                 <template slot-scope="scope">
13 14
                     <el-button size="mini" @click="handleEdit(scope.row)">编辑</el-button>
14 15
                     <el-button size="mini" type="danger" @click="handleDelete(scope.row.id)">删除</el-button>

Loading…
Cancelar
Guardar