qsh 6 days ago
parent e10fedb4dc
commit 6ac19b825e
  1. 2
      src/views/Home/CloseRate.vue
  2. 8
      src/views/Home/Index.vue
  3. 4
      src/views/Home/SalesReport.vue

@ -25,7 +25,7 @@
<el-table-column type="index" width="50" fixed="left" /> <el-table-column type="index" width="50" fixed="left" />
<el-table-column prop="nickname" label="姓名" width="80" fixed="left" /> <el-table-column prop="nickname" label="姓名" width="80" fixed="left" />
<el-table-column <el-table-column
v-for="(item, index) in new Date().getMonth() + 1" v-for="(item, index) in 12"
:key="index" :key="index"
:label="item + '月'" :label="item + '月'"
sortable sortable

@ -116,7 +116,13 @@
<el-table-column type="index" width="40" /> <el-table-column type="index" width="40" />
<el-table-column prop="username" label="姓名" width="80" /> <el-table-column prop="username" label="姓名" width="80" />
<el-table-column prop="followNum" label="成交数量" width="90" sortable /> <el-table-column prop="followNum" label="成交数量" width="90" sortable />
<el-table-column prop="signPrice" label="成交额" min-width="90" sortable /> <el-table-column
v-if="appStore.getAppInfo?.instanceType != 1"
prop="signPrice"
label="成交额"
min-width="90"
sortable
/>
<el-table-column prop="deptName" label="所属组织" width="150" /> <el-table-column prop="deptName" label="所属组织" width="150" />
</el-table> </el-table>
</el-skeleton> </el-skeleton>

@ -174,10 +174,10 @@ const searchForm = ref({})
function handleReset() { function handleReset() {
const year = new Date().getFullYear() const year = new Date().getFullYear()
const month = new Date().getMonth() + 1 const month = new Date().getMonth() + 1 + ''
searchForm.value = { searchForm.value = {
nickname: undefined, nickname: undefined,
consultTime: [`${year}-${month}-01`, formatDate(new Date())], consultTime: [`${year}-${month.padStart(2, '0')}-01`, formatDate(new Date())],
licenseTypeList: [], licenseTypeList: [],
sourceId: undefined sourceId: undefined
} }

Loading…
Cancel
Save