数据库链接修改

This commit is contained in:
caoqianming 2021-06-21 10:44:10 +08:00
parent 765b497b40
commit 0de9bf7f2d
2 changed files with 9 additions and 6 deletions

View File

@ -27,16 +27,19 @@
<template slot-scope="scope">{{ scope.row.type_ }}</template>
</el-table-column>
<el-table-column label="排序号">
<template slot-scope="scope">{{ scope.row.sortnum }}</template>
</el-table-column>
<el-table-column align="center" label="是否可主动报送">
<template slot-scope="scope">
<el-tag type="success" v-if="scope.row.can_doself"></el-tag>
</template>
</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
align="center"
label="操作"

View File

@ -5,7 +5,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'cma',
'USER': 'postgres',
'PASSWORD': 'postgres',
'PASSWORD': 'zctest1234',
'HOST': '47.95.0.242',
'PORT': '5432',
}