Commit 4d1e0015 authored by 吴卿华's avatar 吴卿华

借支申请修改

parent 7408da4d
......@@ -592,10 +592,7 @@ export default {
fileList: [],
};
},
listRemove(e) {
this.fileList = [];
this.form.attachmentUrl = "";
},
created() {
this.getTreeselect();
this.getList();
......@@ -610,6 +607,10 @@ export default {
},
},
methods: {
listRemove(e) {
this.fileList = [];
this.form.attachmentUrl = "";
},
getFileInfo(res) {
this.form.attachmentUrl = res.url;
this.fileList = [
......@@ -723,12 +724,12 @@ export default {
this.title = "详情信息";
});
this.form.attachmentUrl = this.form.attachmentUrl;
this.fileList = [
{
name: res.fileName,
url: uploadfile,
},
];
// this.fileList = [
// {
// name: res.fileName,
// url: uploadfile,
// },
// ];
treeselect().then((response) => {
......
......@@ -35,41 +35,41 @@
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['system:notice:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['system:notice:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['system:notice:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<!-- <el-row :gutter="10" class="mb8">-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="primary"-->
<!-- plain-->
<!-- icon="el-icon-plus"-->
<!-- size="mini"-->
<!-- @click="handleAdd"-->
<!-- v-hasPermi="['system:notice:add']"-->
<!-- >新增</el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="success"-->
<!-- plain-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- :disabled="single"-->
<!-- @click="handleUpdate"-->
<!-- v-hasPermi="['system:notice:edit']"-->
<!-- >修改</el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="danger"-->
<!-- plain-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- :disabled="multiple"-->
<!-- @click="handleDelete"-->
<!-- v-hasPermi="['system:notice:remove']"-->
<!-- >删除</el-button>-->
<!-- </el-col>-->
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->
<!-- </el-row>-->
<el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
......@@ -79,31 +79,36 @@
align="center"
prop="noticeTitle"
:show-overflow-tooltip="true"
/>
<el-table-column
label="公告内容"
align="center"
prop="noticeContent"
:show-overflow-tooltip="true"
/>
>
<template slot-scope="scope">
<span>{{scope.row.noticeContent}}</span>
<span v-if="scope.row.noticeContent == null">-</span>
</template>
</el-table-column>
<el-table-column
label="公告类型"
align="center"
prop="noticeType"
:formatter="typeFormat"
width="100"
/>
<el-table-column
label="状态"
align="center"
prop="status"
:formatter="statusFormat"
width="100"
/>
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<span v-if="scope.row.status == 0">未读</span>
<span v-if="scope.row.status == 1">已读</span>
<span v-if="scope.row.status == null">-</span>
</template>
</el-table-column>
<!-- <el-table-column label="创建者" align="center" prop="createBy" width="100" />-->
<el-table-column label="创建时间" align="center" prop="createTime" width="100">
<el-table-column label="创建时间" align="center" prop="createTime" >
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
<span>{{scope.row.createTime}}</span>
<span v-if="scope.row.createTime == null">-</span>
</template>
</el-table-column>
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment