随访业务

master
test 2024-06-12 08:41:13 +08:00
parent 54362122b2
commit 9fd2b7f140
8 changed files with 12505 additions and 0 deletions

11835
package-lock.json generated 100644

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
import HelloWorld from "@/components/HelloWorld.vue";
import List from "@/view/List.vue";
import Lists from "@/view/Lists.vue";
import Homs from "@/view/Homs.vue";
Vue.use(VueRouter);
const routes = [
{
path: '/',
name: 'home',
component: HelloWorld,
},
{
path: '/list',
name: 'List',
component: List,
},
{
path: '/lists',
name: 'Lists',
component: Lists,
},
{
path: '/homs',
name: 'Homs',
component: Homs,
}
];
const router = new VueRouter({
mode: 'history',
routes,
});
export default router;

49
src/view/Add.vue 100644
View File

@ -0,0 +1,49 @@
<template>
<div>
</div>
</template>
<script>
//jsjsjson,
//import from ',
export default {
//import使"
components: {},
props: {},
data() {
//"
return {};
},
// data",
computed: {},
//data",
watch: {},
//",
methods: {},
// - 访this",
created() {
},
// - 访DOM",
mounted() {
},
beforeCreate() {
}, // - ",
beforeMount() {
}, // - ",
beforeUpdate() {
}, // - ",
updated() {
}, // - ",
beforeDestroy() {
}, // - ",
destroyed() {
}, // - ",
activated() {
} //keep-alive",
};
</script>
<style scoped>
</style>

88
src/view/Homs.vue 100644
View File

@ -0,0 +1,88 @@
<template>
<div>
<el-table
:data="tableData"
border
style="width: 100%">
<el-table-column
prop="date"
label="日期"
width="180">
</el-table-column>
<el-table-column
prop="name"
label="姓名"
width="180">
</el-table-column>
<el-table-column
prop="address"
label="地址">
</el-table-column>
</el-table>
</div>
</template>
<script>
//jsjsjson,
//import from ',
import axios from "axios";
export default {
//import使"
components: {
axios
},
props: {},
data() {
//"
return {
tableData: [{
date: '2016-05-02',
name: '王小虎',
address: '上海市普陀区金沙江路 1518 弄'
}, {
date: '2016-05-04',
name: '王小虎',
address: '上海市普陀区金沙江路 1517 弄'
}, {
date: '2016-05-01',
name: '王小虎',
address: '上海市普陀区金沙江路 1519 弄'
}, {
date: '2016-05-03',
name: '王小虎',
address: '上海市普陀区金沙江路 1516 弄'
}]
};
},
// data",
computed: {},
//data",
watch: {},
//",
methods: {},
// - 访this",
created() {
},
// - 访DOM",
mounted() {
},
beforeCreate() {
}, // - ",
beforeMount() {
}, // - ",
beforeUpdate() {
}, // - ",
updated() {
}, // - ",
beforeDestroy() {
}, // - ",
destroyed() {
}, // - ",
activated() {
} //keep-alive",
};
</script>
<style scoped>
</style>

158
src/view/List.vue 100644
View File

@ -0,0 +1,158 @@
<template>
<div>
<el-table :data="pales" style="width: 100%" :row-class-name="tableRowClassName">
<el-table-column prop="id" label="计划配置Id" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.id}}</span>
</template>
</el-table-column>
<el-table-column prop="planId" label="计划Id" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.planId}}</span>
</template>
</el-table-column>
<el-table-column prop="planName" label="计划名称" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.planName}}</span>
</template>
</el-table-column>
<el-table-column prop="baseTimeType" label="基准时间类型" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.baseTimeType}}</span>
</template>
</el-table-column>
<el-table-column prop="enableAdvancePrompt" label="提前提醒开关" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.enableAdvancePrompt}}</span>
</template>
</el-table-column>
<el-table-column prop="enableTimeoutPrompt" label="开始时间" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.enableTimeoutPrompt}}</span>
</template>
</el-table-column>
<el-table-column prop="endTime" label="结束时间" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.endTime}}</span>
</template>
</el-table-column>
<el-table-column prop="therapeuticProcess" label="治疗过程" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.therapeuticProcess}}</span>
</template>
</el-table-column>
<el-table-column prop="bountyAmounts" label="悬赏金额" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.bountyAmounts}}</span>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.row)">编辑</el-button>
<el-button
size="mini"
type="danger"
@click="handleDelete(scope.row.id)">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="voStudent.pageNum"
:page-sizes="[2,3,4,5,8]"
:page-size="voStudent.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total">
</el-pagination>
<el-button type="primary" @click="deleteAll"></el-button>
<router-link tag="button" to="/add">添加</router-link>
<router-link tag="button" to="/upd">修改</router-link>
</div>
</template>
<script>
//jsjsjson,
//import from ',
import axios from 'axios'
export default {
//import使"
components: {
axios
},
props: {},
data() {
//"
return {
vaoStudent:{
pageNum:1,
pageSize:5
},
pales:[],
total: 0,
ids: []
};
},
// data",
computed: {},
//data",
watch: {},
//",
methods: {
LongList(){
axios.post("/api/pales/search",this.pales).then(
res=>{
this.pales=res.date.date;
this.total=res.date.date.total;
}
)
}
},
onSubmit(){
this.LongList();
},
// - 访this",
created() {
this.LongList();
},
// - 访DOM",
mounted() {
},
beforeCreate() {
}, // - ",
beforeMount() {
}, // - ",
beforeUpdate() {
}, // - ",
updated() {
}, // - ",
activated() {
} //keep-alive",
};
</script>
<style scoped>
</style>

190
src/view/Lists.vue 100644
View File

@ -0,0 +1,190 @@
<template>
<div>
<el-table :data="task" style="width: 100%" :row-class-name="tableRowClassName">
<el-table-column prop="id" label="任务配置Id" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.id}}</span>
</template>
</el-table-column>
<el-table-column prop="taskId" label="任务ID" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.taskId}}</span>
</template>
</el-table-column>
<el-table-column prop="planId" label="计划Id" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.planId}}</span>
</template>
</el-table-column>
<el-table-column prop="baseInterval" label="距离基准时间的间隔" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.baseInterval}}</span>
</template>
</el-table-column>
<el-table-column prop="intervalUnit" label="间隔单位(天、周、月)" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.intervalUnit}}</span>
</template>
</el-table-column>
<el-table-column prop="tervalUni" label="租户ID" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.tenatId}}</span>
</template>
</el-table-column>
<el-table-column prop="orgId" label="机构ID" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.orgId}}</span>
</template>
</el-table-column>
<el-table-column prop="createUser" label="创建用户" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.createUser}}</span>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.createTime}}</span>
</template>
</el-table-column>
<el-table-column prop="updateUser" label="更新用户" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.updateUser}}</span>
</template>
</el-table-column>
<el-table-column prop="updateTime" label="更新时间" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.updateTime}}</span>
</template>
</el-table-column>
<el-table-column prop="delete" label="删除" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.delete}}</span>
</template>
</el-table-column>
<el-table-column prop="version" label="乐观锁表编号" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.version}}</span>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.row)">编辑</el-button>
<el-button
size="mini"
type="danger"
@click="handleDelete(scope.row.id)">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="voStudent.pageNum"
:page-sizes="[2,3,4,5,8]"
:page-size="voStudent.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="total">
</el-pagination>
<el-button type="primary" @click="deleteAll"></el-button>
<router-link tag="button" to="/add">添加</router-link>
<router-link tag="button" to="/upd">修改</router-link>
</div>
</template>
<script>
//jsjsjson,
//import from ',
import axios from "axios";
export default {
//import使"
components: {
axios
},
props: {},
data() {
//"
return {
vaoStudent:{
pageNum:1,
pageSize:5
},
task:[],
total: 0,
ids: []
};
},
// data",
computed: {},
//data",
watch: {},
//",
methods: {
LongList(){
axios.post("/api/task/search",this.task).then(
res=>{
this.task=res.date.date;
this.total=res.date.date.total;
}
)
}
},
onSubmit(){
this.LongList();
},
// - 访this",
created() {
this.LongList();
},
// - 访DOM",
mounted() {
},
beforeCreate() {
}, // - ",
beforeMount() {
}, // - ",
beforeUpdate() {
}, // - ",
updated() {
}, // - ",
beforeDestroy() {
}, // - ",
destroyed() {
}, // - ",
activated() {
} //keep-alive",
};
</script>
<style scoped>
</style>

101
src/view/Listss.vue 100644
View File

@ -0,0 +1,101 @@
<template>
<div>
<el-table :data="item" style="width: 100%" :row-class-name="tableRowClassName">
<el-table-column prop="id" label="配置表编号" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.id}}</span>
</template>
</el-table-column>
<el-table-column prop="itemId" label="项目ID" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.itemid}}</span>
</template>
</el-table-column>
<el-table-column prop="taskId" label="任务ID" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.taskId}}</span>
</template>
</el-table-column>
<el-table-column prop="itemType" label="项目类型" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.itemType}}</span>
</template>
</el-table-column>
<el-table-column prop="relationItemId" label="联的具体项目ID" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.relationItemId}}</span>
</template>
</el-table-column>
<el-table-column prop="businessNum" label="项目业务数字" width="180">
<template slot-scope="scope">
<span style="margin-left: 10px">{{scope.row.businessNum}}</span>
</template>
</el-table-column>
</el-table>
</div>
</template>
<script>
//jsjsjson,
//import from ',
export default {
//import使"
components: {},
props: {},
data() {
//"
return {};
},
// data",
computed: {},
//data",
watch: {},
//",
methods: {},
// - 访this",
created() {
},
// - 访DOM",
mounted() {
},
beforeCreate() {
}, // - ",
beforeMount() {
}, // - ",
beforeUpdate() {
}, // - ",
updated() {
}, // - ",
beforeDestroy() {
}, // - ",
destroyed() {
}, // - ",
activated() {
} //keep-alive",
};
</script>
<style scoped>
</style>

View File

@ -0,0 +1,47 @@
<template>
<div></div>
</template>
<script>
//jsjsjson,
//import from ',
export default {
//import使"
components: {},
props: {},
data() {
//"
return {};
},
// data",
computed: {},
//data",
watch: {},
//",
methods: {},
// - 访this",
created() {
},
// - 访DOM",
mounted() {
},
beforeCreate() {
}, // - ",
beforeMount() {
}, // - ",
beforeUpdate() {
}, // - ",
updated() {
}, // - ",
beforeDestroy() {
}, // - ",
destroyed() {
}, // - ",
activated() {
} //keep-alive",
};
</script>
<style scoped>
</style>