Commit 45b0fd28 by ext.wangyuman1

朋友圈PC端

1 parent e98ff3c3
......@@ -31,7 +31,7 @@
<el-button type="primary" @click="exportFn" v-loading="exportLoading">导出</el-button>
</div>
</div>
<el-table v-loading="loading" :data="tableList" style="width: 100%">
<el-table v-loading="loading" :data="tableList" style="width: 100%; margin-bottom: 20px">
<el-table-column
label="客户名称"
align="center"
......
......@@ -36,7 +36,7 @@
<el-button type="primary" @click="exportFn" v-loading="exportLoading">导出</el-button>
</div>
</div>
<el-table v-loading="loading" :data="tableList" style="width: 100%">
<el-table v-loading="loading" :data="tableList" style="width: 100%; margin-bottom: 20px">
<el-table-column
label="客户名称"
align="center"
......
......@@ -33,11 +33,11 @@
<el-button @click="resetQuery">清空</el-button>
</div>
<div>
<el-button type="primary" @click="remind(id)">提醒执行</el-button>
<el-button type="primary" @click="remind(id)" v-if="showRemaind">提醒执行</el-button>
<el-button type="primary" @click="exportFn" v-loading="exportLoading">导出</el-button>
</div>
</div>
<el-table v-loading="loading" :data="tableList" style="width: 100%">
<el-table v-loading="loading" :data="tableList" style="width: 100%; margin-bottom: 20px">
<el-table-column
label="执行人名称"
align="center"
......@@ -150,12 +150,15 @@ export default {
id: undefined,
type: undefined, // 朋友圈类型 1:非同步型 2:企业同步型 3:个人同步型
name: '',
showRemaind: 0, // 是否显示提醒执行 0不显示 1显示
}
},
mounted() {
this.type = this.$route.query.type
this.id = this.$route.query.id
this.name = this.$route.query.name
this.showRemaind = +this.$route.query.showRemaind
console.log(this.showRemaind)
this.getTabTotalFn()
this.getTableChangeSize()
},
......
......@@ -9,13 +9,10 @@
class="top-search"
>
<el-form-item prop="name">
<el-input v-model="query.name" placeholder="请输入任务名称" ></el-input>
<el-input v-model="query.name" placeholder="请输入任务名称"></el-input>
</el-form-item>
<el-form-item prop="createBy">
<el-input
v-model="query.createBy"
placeholder="请输入创建人"
></el-input>
<el-input v-model="query.createBy" placeholder="请输入创建人"></el-input>
</el-form-item>
<el-form-item prop="sendType">
<!-- <el-input v-model="query" placeholder="请输入创建人"></el-input> -->
......@@ -273,6 +270,7 @@ export default {
type,
id: row.id,
name: row.name,
showRemaind: row.status === 2 && row.sendType !== 0 ? 1 : 0,
},
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!