数据库链接修改
This commit is contained in:
parent
765b497b40
commit
0de9bf7f2d
|
|
@ -27,16 +27,19 @@
|
||||||
<template slot-scope="scope">{{ scope.row.type_ }}</template>
|
<template slot-scope="scope">{{ scope.row.type_ }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="排序号">
|
|
||||||
<template slot-scope="scope">{{ scope.row.sortnum }}</template>
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column align="center" label="是否可主动报送">
|
<el-table-column align="center" label="是否可主动报送">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag type="success" v-if="scope.row.can_doself">是</el-tag>
|
<el-tag type="success" v-if="scope.row.can_doself">是</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="模板">
|
||||||
|
<template slot-scope="scope" v-if="scope.row.template">
|
||||||
|
<el-link :href="scope.row.template" type="primary">下载</el-link>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="排序号">
|
||||||
|
<template slot-scope="scope">{{ scope.row.sortnum }}</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="操作"
|
label="操作"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ DATABASES = {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': 'cma',
|
'NAME': 'cma',
|
||||||
'USER': 'postgres',
|
'USER': 'postgres',
|
||||||
'PASSWORD': 'postgres',
|
'PASSWORD': 'zctest1234',
|
||||||
'HOST': '47.95.0.242',
|
'HOST': '47.95.0.242',
|
||||||
'PORT': '5432',
|
'PORT': '5432',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue