|
@@ -1,17 +1,16 @@
|
|
<template>
|
|
<template>
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
- <el-form style="background-color: #fff;border-radius: 4px; padding-top: 10px;" :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="88px">
|
|
|
|
|
|
+ <el-form style="background-color: #fff;border-radius: 4px; padding-top: 20px;" :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="88px">
|
|
<el-form-item label="入库时间" prop="noticeTitle">
|
|
<el-form-item label="入库时间" prop="noticeTitle">
|
|
- <el-input
|
|
|
|
- v-model="queryParams.noticeTitle"
|
|
|
|
- placeholder="请输入公告标题"
|
|
|
|
- clearable
|
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
|
- />
|
|
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-model="queryParams.zczb"
|
|
|
|
+ type="date"
|
|
|
|
+ placeholder="选择日期">
|
|
|
|
+ </el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="投资方名称" prop="createBy">
|
|
|
|
|
|
+ <el-form-item label="投资方名称" prop="tzf">
|
|
<el-input
|
|
<el-input
|
|
- v-model="queryParams.createBy"
|
|
|
|
|
|
+ v-model="queryParams.tzf"
|
|
placeholder="请输入操作人员"
|
|
placeholder="请输入操作人员"
|
|
clearable
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
@keyup.enter.native="handleQuery"
|
|
@@ -60,8 +59,8 @@
|
|
</el-row> -->
|
|
</el-row> -->
|
|
<div style="margin-top: 15px;">
|
|
<div style="margin-top: 15px;">
|
|
<div class=" infinite-list" :style="dynamicStyle" >
|
|
<div class=" infinite-list" :style="dynamicStyle" >
|
|
- <div :class=" ishsouetan == false? 'imghse hyeg' : 'hyeg'" style="display: flex;flex-wrap: wrap;justify-content: space-between; " >
|
|
|
|
- <div :class=" ishsouetan == false? 'box_3dr zuihsoue flex-col' : 'box_3dr flex-col'" v-for="(item,index ) in 4" :key="index" >
|
|
|
|
|
|
+ <div v-if='noticeList.length !=0' :class=" ishsouetan == false? 'imghse hyeg' : 'hyeg'" style="display: flex;flex-wrap: wrap;justify-content: space-between; " >
|
|
|
|
+ <div :class=" ishsouetan == false? 'box_3dr zuihsoue flex-col' : 'box_3dr flex-col'" v-for="(item,index ) in noticeList" :key="index" >
|
|
<div :class=" index == 0?'nshge box_4 flex-row' : 'box_4 flex-row'" style="justify-content: space-between;margin: 0;">
|
|
<div :class=" index == 0?'nshge box_4 flex-row' : 'box_4 flex-row'" style="justify-content: space-between;margin: 0;">
|
|
<div @click="handleSelectionChange(item)" style="display: flex;align-items: center; cursor: pointer;" >
|
|
<div @click="handleSelectionChange(item)" style="display: flex;align-items: center; cursor: pointer;" >
|
|
<img
|
|
<img
|
|
@@ -76,7 +75,7 @@
|
|
src="../../../assets/images/icon_tzfk_mp_qy_blue.png"
|
|
src="../../../assets/images/icon_tzfk_mp_qy_blue.png"
|
|
v-else
|
|
v-else
|
|
/>
|
|
/>
|
|
- <span class="text_19">华能新能源科技有限公司</span>
|
|
|
|
|
|
+ <span class="text_19">{{item.tzf == null?'暂无数据 ': item.tzf}}</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<img
|
|
<img
|
|
@@ -90,23 +89,18 @@
|
|
<img
|
|
<img
|
|
class="image_1"
|
|
class="image_1"
|
|
referrerpolicy="no-referrer"
|
|
referrerpolicy="no-referrer"
|
|
- @click="handleUpdate(item)"
|
|
|
|
- v-hasPermi="['manage:equipmentManage:edit']"
|
|
|
|
|
|
+
|
|
src="../../../assets/images/icon_tzfk_mp_gx_normal.png"
|
|
src="../../../assets/images/icon_tzfk_mp_gx_normal.png"
|
|
v-else
|
|
v-else
|
|
/>
|
|
/>
|
|
<img
|
|
<img
|
|
class="thumbnail_22"
|
|
class="thumbnail_22"
|
|
- @click="handleDelete(item)"
|
|
|
|
- v-hasPermi="['manage:equipmentManage:remove']"
|
|
|
|
referrerpolicy="no-referrer"
|
|
referrerpolicy="no-referrer"
|
|
src="../../../assets/images/icon_tzfk_mp_gd_white.png"
|
|
src="../../../assets/images/icon_tzfk_mp_gd_white.png"
|
|
v-if="index == 0"
|
|
v-if="index == 0"
|
|
/>
|
|
/>
|
|
<img
|
|
<img
|
|
class="thumbnail_22"
|
|
class="thumbnail_22"
|
|
- @click="handleDelete(item)"
|
|
|
|
- v-hasPermi="['manage:equipmentManage:remove']"
|
|
|
|
referrerpolicy="no-referrer"
|
|
referrerpolicy="no-referrer"
|
|
src="../../../assets/images/icon_tzfk_mp_gd_black.png"
|
|
src="../../../assets/images/icon_tzfk_mp_gd_black.png"
|
|
v-else
|
|
v-else
|
|
@@ -114,24 +108,24 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="padding: 10px;">
|
|
<div style="padding: 10px;">
|
|
- <span class="text_20">联系人:王敏溪 </span>
|
|
|
|
|
|
+ <span class="text_20">联系人:{{item.tzflxr == null?'暂无数据 ': item.tzflxr}} </span>
|
|
<div class="box_6 flex-row " style="align-items: center;">
|
|
<div class="box_6 flex-row " style="align-items: center;">
|
|
<span class="text_21">联系方式: </span>
|
|
<span class="text_21">联系方式: </span>
|
|
<div style="margin-left: 12px;">
|
|
<div style="margin-left: 12px;">
|
|
- 15855355431
|
|
|
|
|
|
+ {{item.lxfs == null?'暂无数据 ': item.lxfs}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box_6 flex-row " style=" margin-bottom: 5px; margin-top: 0; align-items: center;">
|
|
<div class="box_6 flex-row " style=" margin-bottom: 5px; margin-top: 0; align-items: center;">
|
|
<span class="text_21" style="width: 88px;">企业注册时间:</span>
|
|
<span class="text_21" style="width: 88px;">企业注册时间:</span>
|
|
<div style=" margin-left: 12px; font-weight: 500;font-size: 14px;color: #666666; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
|
<div style=" margin-left: 12px; font-weight: 500;font-size: 14px;color: #666666; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
|
- 2018 年 7 月 23 日
|
|
|
|
|
|
+ {{item.zcrq == null?'暂无数据 ': item.zcrq}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- <span class="text_20">设备地址:192.168.1.1</span> -->
|
|
<!-- <span class="text_20">设备地址:192.168.1.1</span> -->
|
|
- <span class="text_20" >注册资金:500万元</span>
|
|
|
|
|
|
+ <span class="text_20" >注册资金:{{item.zczb == null?'暂无数据 ': item.zczb}}万元</span>
|
|
</div>
|
|
</div>
|
|
<div class="xnhse">
|
|
<div class="xnhse">
|
|
- <div>
|
|
|
|
|
|
+ <div v-hasPermi="['zhaoshangV3:tzfk:edit']" @click="handleUpdate(item)">
|
|
<img
|
|
<img
|
|
referrerpolicy="no-referrer"
|
|
referrerpolicy="no-referrer"
|
|
src="../../../assets/images/icon_tzfk_mp_gd_bj.png"/>
|
|
src="../../../assets/images/icon_tzfk_mp_gd_bj.png"/>
|
|
@@ -143,9 +137,10 @@
|
|
src="../../../assets/images/icon_tzfk_mp_gd_ls.png"/>
|
|
src="../../../assets/images/icon_tzfk_mp_gd_ls.png"/>
|
|
<span>历史投资</span>
|
|
<span>历史投资</span>
|
|
</div>
|
|
</div>
|
|
- <div>
|
|
|
|
|
|
+ <div @click="handleDelete(item)" v-hasPermi="['zhaoshangV3:tzfk:remove']">
|
|
<img
|
|
<img
|
|
referrerpolicy="no-referrer"
|
|
referrerpolicy="no-referrer"
|
|
|
|
+
|
|
src="../../../assets/images/icon_tzfk_mp_gd_del.png"/>
|
|
src="../../../assets/images/icon_tzfk_mp_gd_del.png"/>
|
|
<span>删除名片</span>
|
|
<span>删除名片</span>
|
|
</div>
|
|
</div>
|
|
@@ -155,9 +150,9 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
- <!-- <div v-if='equipmentManageList == 0'>
|
|
|
|
|
|
+ <div v-if='noticeList.length == 0'>
|
|
<el-empty :image-size="200"></el-empty>
|
|
<el-empty :image-size="200"></el-empty>
|
|
- </div> -->
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<paginations
|
|
<paginations
|
|
@@ -216,8 +211,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { listNotice, getNotice, delNotice, addNotice, updateNotice } from "@/api/system/notice"
|
|
|
|
-
|
|
|
|
|
|
+import { listTzfk, getTzfk, delTzfk, addTzfk, updateTzfk } from "@/api/zhaoshang/tzfk"
|
|
export default {
|
|
export default {
|
|
name: "Notice",
|
|
name: "Notice",
|
|
dicts: ['sys_notice_status', 'sys_notice_type'],
|
|
dicts: ['sys_notice_status', 'sys_notice_type'],
|
|
@@ -279,7 +273,7 @@ export default {
|
|
/** 查询公告列表 */
|
|
/** 查询公告列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true
|
|
this.loading = true
|
|
- listNotice(this.queryParams).then(response => {
|
|
|
|
|
|
+ listTzfk(this.queryParams).then(response => {
|
|
this.noticeList = response.rows
|
|
this.noticeList = response.rows
|
|
this.total = response.total
|
|
this.total = response.total
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -293,12 +287,18 @@ export default {
|
|
// 表单重置
|
|
// 表单重置
|
|
reset() {
|
|
reset() {
|
|
this.form = {
|
|
this.form = {
|
|
- noticeId: undefined,
|
|
|
|
- noticeTitle: undefined,
|
|
|
|
- noticeType: undefined,
|
|
|
|
- noticeContent: undefined,
|
|
|
|
- status: "0"
|
|
|
|
- }
|
|
|
|
|
|
+ tzfkId: null,
|
|
|
|
+ tzf: null,
|
|
|
|
+ tzflxr: null,
|
|
|
|
+ lxfs: null,
|
|
|
|
+ zcrq: null,
|
|
|
|
+ zczb: null,
|
|
|
|
+ createBy: null,
|
|
|
|
+ createTime: null,
|
|
|
|
+ updateBy: null,
|
|
|
|
+ updateTime: null,
|
|
|
|
+ remark: null
|
|
|
|
+ }
|
|
this.resetForm("form")
|
|
this.resetForm("form")
|
|
},
|
|
},
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
@@ -313,7 +313,7 @@ export default {
|
|
},
|
|
},
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|
|
handleSelectionChange(selection) {
|
|
handleSelectionChange(selection) {
|
|
- this.ids = selection.map(item => item.noticeId)
|
|
|
|
|
|
+ this.ids = selection.map(item => item.tzfkId)
|
|
this.single = selection.length!=1
|
|
this.single = selection.length!=1
|
|
this.multiple = !selection.length
|
|
this.multiple = !selection.length
|
|
},
|
|
},
|
|
@@ -326,25 +326,25 @@ export default {
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
this.reset()
|
|
this.reset()
|
|
- const noticeId = row.noticeId || this.ids
|
|
|
|
- getNotice(noticeId).then(response => {
|
|
|
|
|
|
+ const tzfkId = row.tzfkId || this.ids
|
|
|
|
+ getTzfk(tzfkId).then(response => {
|
|
this.form = response.data
|
|
this.form = response.data
|
|
this.open = true
|
|
this.open = true
|
|
- this.title = "修改公告"
|
|
|
|
|
|
+ this.title = "修改信息"
|
|
})
|
|
})
|
|
},
|
|
},
|
|
/** 提交按钮 */
|
|
/** 提交按钮 */
|
|
submitForm: function() {
|
|
submitForm: function() {
|
|
this.$refs["form"].validate(valid => {
|
|
this.$refs["form"].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
- if (this.form.noticeId != undefined) {
|
|
|
|
- updateNotice(this.form).then(response => {
|
|
|
|
|
|
+ if (this.form.tzfkId != undefined) {
|
|
|
|
+ updateTzfk(this.form).then(response => {
|
|
this.$modal.msgSuccess("修改成功")
|
|
this.$modal.msgSuccess("修改成功")
|
|
this.open = false
|
|
this.open = false
|
|
this.getList()
|
|
this.getList()
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
- addNotice(this.form).then(response => {
|
|
|
|
|
|
+ addTzfk(this.form).then(response => {
|
|
this.$modal.msgSuccess("新增成功")
|
|
this.$modal.msgSuccess("新增成功")
|
|
this.open = false
|
|
this.open = false
|
|
this.getList()
|
|
this.getList()
|
|
@@ -355,13 +355,11 @@ export default {
|
|
},
|
|
},
|
|
/** 删除按钮操作 */
|
|
/** 删除按钮操作 */
|
|
handleDelete(row) {
|
|
handleDelete(row) {
|
|
- const noticeIds = row.noticeId || this.ids
|
|
|
|
- this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?').then(function() {
|
|
|
|
- return delNotice(noticeIds)
|
|
|
|
- }).then(() => {
|
|
|
|
- this.getList()
|
|
|
|
- this.$modal.msgSuccess("删除成功")
|
|
|
|
- }).catch(() => {})
|
|
|
|
|
|
+ const tzfkIds = row.tzfkId || this.ids
|
|
|
|
+ delTzfk(tzfkIds).then(response => {
|
|
|
|
+ this.$modal.msgSuccess("删除成功")
|
|
|
|
+ this.getList()
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|