上传
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- 搜索工作栏 -->
|
||||
<Search
|
||||
:schema="allSchemas.searchSchema"
|
||||
labelWidth="0"
|
||||
@search="setSearchParams"
|
||||
@reset="setSearchParams"
|
||||
/>
|
||||
<Search :schema="allSchemas.searchSchema" labelWidth="0">
|
||||
<template #actionMore>
|
||||
<el-button @click="getTableList" v-hasPermi="['clue:order:search']"> 搜索 </el-button>
|
||||
<el-button @click="resetQuery" v-hasPermi="['clue:order:reset']"> 重置 </el-button>
|
||||
</template>
|
||||
</Search>
|
||||
<!-- 列表 -->
|
||||
<SSTable
|
||||
class="mt-20px"
|
||||
@@ -21,30 +21,55 @@
|
||||
:label="item.label"
|
||||
min-width="120px"
|
||||
/>
|
||||
<el-table-column label="操作" width="140px" fixed="right">
|
||||
<el-table-column label="操作" width="200px" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
type="primary"
|
||||
class="mr-10px"
|
||||
link
|
||||
style="padding: 0; margin-left: 0"
|
||||
v-hasPermi="['clue:order:after-sale']"
|
||||
@click="sellAfter(scope.row)"
|
||||
>售后</el-button
|
||||
>
|
||||
<el-button type="primary" class="mr-10px" link style="padding: 0; margin-left: 0"
|
||||
>售后审核</el-button
|
||||
>
|
||||
售后
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
class="mr-10px"
|
||||
link
|
||||
style="padding: 0; margin-left: 0"
|
||||
v-hasPermi="['clue:order:after-sale-audit']"
|
||||
>
|
||||
售后审核
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
class="mr-10px"
|
||||
link
|
||||
style="padding: 0; margin-left: 0"
|
||||
v-hasPermi="['clue:order:send']"
|
||||
>
|
||||
发货(进销存)
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
class="mr-10px"
|
||||
link
|
||||
style="padding: 0; margin-left: 0"
|
||||
v-hasPermi="['clue:order:return']"
|
||||
@click="feeBack(scope.row)"
|
||||
>回款</el-button
|
||||
>
|
||||
<el-button type="primary" class="mr-10px" link style="padding: 0; margin-left: 0"
|
||||
>回款确认</el-button
|
||||
回款
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
class="mr-10px"
|
||||
link
|
||||
style="padding: 0; margin-left: 0"
|
||||
v-hasPermi="['clue:order:return-audit']"
|
||||
>
|
||||
回款确认
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</SSTable>
|
||||
@@ -62,7 +87,7 @@ const tableObject = ref({
|
||||
currentPage: 1
|
||||
})
|
||||
|
||||
function setSearchParams() {
|
||||
function resetQuery() {
|
||||
// 方法体
|
||||
}
|
||||
// 查询
|
||||
|
||||
@@ -30,17 +30,19 @@
|
||||
<el-tab-pane label="公海" name="4" />
|
||||
</el-tabs>
|
||||
<div class="absolute" style="right: 10px; top: 0">
|
||||
<el-button plain>导入</el-button>
|
||||
<el-button type="primary" @click="handleInsert">新增线索</el-button>
|
||||
<el-button plain v-hasPermi="['clue:pool:import']">导入</el-button>
|
||||
<el-button type="primary" @click="handleInsert" v-hasPermi="['clue:pool:add']">
|
||||
新增线索
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 搜索工作栏 -->
|
||||
<Search
|
||||
:schema="allSchemas.searchSchema"
|
||||
labelWidth="0"
|
||||
@search="setSearchParams"
|
||||
@reset="setSearchParams"
|
||||
/>
|
||||
<Search :schema="allSchemas.searchSchema" labelWidth="0">
|
||||
<template #actionMore>
|
||||
<el-button @click="getTableList" v-hasPermi="['clue:pool:search']"> 搜索 </el-button>
|
||||
<el-button @click="resetQuery" v-hasPermi="['clue:pool:reset']"> 重置 </el-button>
|
||||
</template>
|
||||
</Search>
|
||||
<!-- 列表 -->
|
||||
<SSTable
|
||||
class="mt-20px"
|
||||
@@ -58,9 +60,15 @@
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<div v-if="item.field == 'followRecord'">
|
||||
<el-button type="primary" text style="padding: 0" @click="handleFollow(row)"
|
||||
>快速新增</el-button
|
||||
<el-button
|
||||
type="primary"
|
||||
text
|
||||
style="padding: 0"
|
||||
@click="handleFollow(row)"
|
||||
v-hasPermi="['clue:pool:update']"
|
||||
>
|
||||
快速新增
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-else-if="item.field == 'contact'">
|
||||
<span>{{ row[item.field] }}</span>
|
||||
@@ -71,10 +79,31 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="200px" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button type="primary" link @click="handleDetail(scope.row)">详情</el-button>
|
||||
<el-button type="primary" link @click="handleEdit(scope.row)">修改</el-button>
|
||||
<el-button type="primary" link @click="handleSuccess(scope.row)">登记</el-button>
|
||||
<el-button type="primary" link>释放</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
@click="handleDetail(scope.row)"
|
||||
v-hasPermi="['clue:pool:detail']"
|
||||
>
|
||||
详情
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
@click="handleEdit(scope.row)"
|
||||
v-hasPermi="['clue:pool:update']"
|
||||
>
|
||||
修改
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
@click="handleSuccess(scope.row)"
|
||||
v-hasPermi="['clue:pool:enroll']"
|
||||
>
|
||||
登记
|
||||
</el-button>
|
||||
<el-button type="primary" link v-hasPermi="['clue:pool:release']"> 释放 </el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</SSTable>
|
||||
@@ -121,8 +150,12 @@ function getCheckedColumns(list) {
|
||||
showColumns.value = list
|
||||
}
|
||||
|
||||
const setSearchParams = function () {
|
||||
// 方法体
|
||||
function resetQuery() {
|
||||
searchForm.value = {
|
||||
pageNo: 1,
|
||||
pageSize: 10
|
||||
}
|
||||
getTableList()
|
||||
}
|
||||
|
||||
function getTableList() {
|
||||
|
||||
50
src/views/Clue/Set/Comp/GeneralSet.vue
Normal file
50
src/views/Clue/Set/Comp/GeneralSet.vue
Normal file
@@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<el-form :model="form" ref="formRef" label-width="auto">
|
||||
<el-form-item label="售后申请自动通过">
|
||||
<el-radio-group v-model="form.autoAudiAfterSale">
|
||||
<el-radio :label="0"> 是 </el-radio>
|
||||
<el-radio :label="1"> 否 </el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="发货自动发起采购">
|
||||
<el-radio-group v-model="form.autoSend">
|
||||
<el-radio :label="0"> 是 </el-radio>
|
||||
<el-radio :label="1"> 否 </el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="回款申请自动通过">
|
||||
<el-radio-group v-model="form.autoAuditReturn">
|
||||
<el-radio :label="0"> 是 </el-radio>
|
||||
<el-radio :label="1"> 否 </el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit">保存</el-button>
|
||||
<el-button @click="getData">刷新</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
|
||||
<script setup name="GeneralClue">
|
||||
const message = useMessage()
|
||||
|
||||
const form = ref({
|
||||
autoAudiAfterSale: 0,
|
||||
autoSend: 0,
|
||||
autoAuditReturn: 0
|
||||
})
|
||||
|
||||
function getData() {
|
||||
form.value = {
|
||||
autoAudiAfterSale: 0,
|
||||
autoSend: 0,
|
||||
autoAuditReturn: 0
|
||||
}
|
||||
}
|
||||
|
||||
function onSubmit() {
|
||||
message.success('保存成功')
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -16,7 +16,10 @@
|
||||
<el-tab-pane label="线索分配规则" :name="30">
|
||||
<ClueSend />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="消息通知" :name="40">
|
||||
<el-tab-pane label="常规设置" :name="40">
|
||||
<GeneralSet />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="消息通知" :name="50">
|
||||
<MsgSend />
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
@@ -30,6 +33,7 @@ import ClueSource from './Comp/ClueSource.vue'
|
||||
import ClueGet from './Comp/ClueGet.vue'
|
||||
import ClueSend from './Comp/ClueSend.vue'
|
||||
import MsgSend from './Comp/MsgSend.vue'
|
||||
import GeneralSet from './Comp/GeneralSet.vue'
|
||||
|
||||
const tabIndex = ref(0)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user