当前位置: 首页 > news >正文

电商网站开发过程什么是网络营销媒体

电商网站开发过程,什么是网络营销媒体,深圳网站建设三把火,wordpress域名重定义用的是uni-app的uni-ui拓展组件实现的 功能是对工单进行一个展示#xff0c;并对工单根据一些筛选条件进行搜索 目前是实现了除了日期之外的搜索功能#xff0c;测试数据是下面这个tableData.js#xff0c;都是我自己手写的#xff0c;后端请求也稍微写了一些#xff0c;…用的是uni-app的uni-ui拓展组件实现的 功能是对工单进行一个展示并对工单根据一些筛选条件进行搜索 目前是实现了除了日期之外的搜索功能测试数据是下面这个tableData.js都是我自己手写的后端请求也稍微写了一些不过没用上 export default [{ID: 0001,title: 火灾排查,associateID: 00001,kind: 紧急工单,state: 待完成,overdue: 否,taskDate: 2023-01-02,dispatchDate: 2023-01-02,personID: 0001,note: xxxx,},{ID: 0002,title: 野狗出现,associateID: 00001,kind: 临时工单,state: 已完成,overdue: 否,taskDate: 2023-01-02,dispatchDate: 2023-01-02,personID: 0003,note: xxxx,},{ID: 0003,title: 温度过高,associateID: 00001,kind: 紧急工单,state: 已完成,overdue: 否,taskDate: 2023-01-02,dispatchDate: 2023-01-02,personID: 0005,note: xxxx,},{ID: 0004,title: 火灾排查,associateID: 00001,kind: 定时工单,state: 逾期,overdue: 否,taskDate: 2023-01-02,dispatchDate: 2023-01-02,personID: 0002,note: xxxx,},{ID: 0005,title: 常规巡检,associateID: 00001,kind: 紧急工单,state: 待完成,overdue: 否,taskDate: 2023-01-02,dispatchDate: 2023-01-02,personID: 0001,note: xxxx,},{ID: 0006,title: 常规巡检,associateID: 00001,kind: 紧急工单,state: 待完成,overdue: 否,taskDate: 2023-01-02,dispatchDate: 2023-01-02,personID: 0001,note: xxxx,}, ] 还有旁边的导航栏我给你们去掉一下这样可以直接copy下来跑 简陋代码如下 template !-- navgation / -- !-- view classright --h2 classsection工单管理/h2view classsectiontext工单状态: /textviewuni-data-checkbox v-modelstate :localdatastates changeinputState/uni-data-checkbox/viewtext工单类型: /textview classblockuni-data-select v-modelkind :localdatakinds changeinputKind/uni-data-select/view/viewview classsectiontext工单ID: /textview classblockuni-easyinput placeholder请输入ID changeinputID/uni-easyinput/viewtext负责人员ID: /textview classblockuni-easyinput placeholder请输入ID changeinputPersonID/uni-easyinput/viewtext关联养殖场ID: /textview classblockuni-easyinput placeholder请输入ID changeinputAssociateID/uni-easyinput/view/viewview classsectiontext派发日期: /textview classblockuni-datetime-picker typerange v-modeldispatchDate/uni-datetime-picker/view/viewview classsectiontext指定完成日期: /textview classblockuni-datetime-picker typerange v-modeltaskDate/uni-datetime-picker/view/viewview classsectionviewbutton typeprimary sizemini clicksearch搜索/button/view/viewviewuni-table reftable :loadingloading border stripe typeselection emptyText暂无更多数据selection-changeselectionChangeuni-truni-th aligncenter工单ID/uni-thuni-th aligncenter工单标题/uni-thuni-th aligncenter关联养殖场ID/uni-thuni-th aligncenter工单类型/uni-thuni-th aligncenter工单状态/uni-thuni-th aligncenter逾期/uni-thuni-th aligncenter指定完成日期/uni-thuni-th aligncenter派发日期/uni-thuni-th aligncenter负责人员ID/uni-thuni-th aligncenter备注/uni-thuni-th aligncenter操作/uni-th/uni-truni-tr v-for(item, index) in tableData :keyindexuni-td aligncenter{{ item.ID }}/uni-tduni-td aligncenter{{ item.title }}/uni-tduni-td aligncenter{{ item.associateID }}/uni-tduni-td aligncenter{{ item.kind }}/uni-tduni-td aligncenter{{ item.state }}/uni-tduni-td aligncenter{{ item.overdue }}/uni-tduni-td aligncenter{{ item.taskDate }}/uni-tduni-td aligncenter{{ item.dispatchDate }}/uni-tduni-td aligncenter{{ item.personID }}/uni-tduni-td aligncenter{{ item.note }}/uni-tduni-td aligncenterbutton sizemini typeprimary详情/buttonbutton sizemini typewarn删除/button/uni-td/uni-tr/uni-tableviewuni-pagination show-icon :page-sizepageSize :currentpageCurrent :totaltotalchangechange //view/view !-- /view -- /templatescript// import navigation from ../../components/navgation/navgation.vue;import tableData from ../../pages/WorkOrderManagement/tableData.js;export default {data() {return {state: 0,states: [{text: 全选,value: 0}, {text: 待完成,value: 1}, {text: 已完成,value: 2}, {text: 逾期,value: 3}],kind: ,kinds: [{text: 周期工单,value: 0}, {text: 临时工单,value: 1}, {text: 紧急工单,value: 2}],ID: ,personID: ,associateID: ,dispatchDate: [],taskDate: [],searchVal: ,tableData: [],// 每页数据量pageSize: 5,// 当前页pageCurrent: 1,// 数据总量total: 0,loading: false};},onLoad() {this.selectedIndexs []this.getData(1)},methods: {inputID(e) {this.ID e;this.searchVal e;},inputPersonID(e) {this.personID e;this.searchVal e;},inputAssociateID(e) {this.associateID e;this.searchVal e;},inputState() {this.searchVal this.states[this.state].text;if (this.searchVal 全选) {this.searchVal ;}},inputKind() {this.searchVal this.kinds[this.kind].text;},// 多选处理selectedItems() {return this.selectedIndexs.map(i this.tableData[i])},// 多选selectionChange(e) {this.selectedIndexs e.detail.index},//批量删除delTable() {console.log(this.selectedItems())},// 分页触发change(e) {this.$refs.table.clearSelection()this.selectedIndexs.length 0this.getData(e.current, this.searchVal)},// 搜索search() {this.getData(1, this.searchVal);},// 获取数据getData(pageCurrent, value ) {this.loading truethis.pageCurrent pageCurrentthis.request({pageSize: this.pageSize,pageCurrent: pageCurrent,value: value,success: res {// console.log(data, res);this.tableData res.datathis.total res.totalthis.loading false}})},// 伪request请求request(options) {const {pageSize,pageCurrent,success,value} options;let total tableData.length;let data [];if (value) {// 如果有搜索值根据条件筛选数据data tableData.filter(item {return (item.ID.includes(value) ||item.personID.includes(value) ||item.associateID.includes(value) ||item.kind.includes(value) ||item.state.includes(value));});total data.length;} else {// 如果没有搜索值直接分页显示数据data tableData;}data data.slice((pageCurrent - 1) * pageSize, pageCurrent * pageSize);setTimeout(() {typeof success function success({data,total});}, 0);},// 向后端发送请求暂没有使用fetchData() {// 向后端发送请求uni.request({url: https://your-backend-api-endpoint, // 替换为你的后端API地址method: GET,success: (res) {// 请求成功处理逻辑if (res.statusCode 200) {this.workOrders res.data; // 将获取到的工单数据存储到data中的workOrders变量中} else {// 请求失败处理逻辑console.error(Request failed with status code, res.statusCode);}},fail: (error) {// 网络请求失败处理逻辑console.error(Network request failed, error);}});}}} /scriptstyle langscss.right {margin-top: 40rpx;margin-left: 440rpx;}.section {display: flex;align-items: center;column-gap: 20rpx;margin: 20rpx;}.block {width: 20%;border-radius: 10rpx;}button {margin: 10rpx;border-radius: 20rpx;} /style
http://www.huolong8.cn/news/80707/

相关文章:

  • 沧州有做网站的吗服务器网站怎么做的
  • 服务器出租网站模板猎头公司怎么样
  • 凡科怎样免费做网站网络购物系统属于什么系统
  • 可信网站图标 费流量下载软件大全
  • 如何做网站推广的方案设计图片制作视频手机软件
  • 哈尔滨专业做网站签名字体在线生成器
  • 网站设计包括制作网页推广宣传
  • 城市焦点商城网站建设案例临沂seo建站
  • 四川平台网站建设哪里有怎么做淘宝网站赚钱吗
  • 酒类网站该怎么做广西住房建设部网站
  • 新风格网站淄博网站排名优化报价
  • 做暧暧视频免费视频网站wordpress图片压缩文件
  • 手机网站加载效果网页查询系统
  • 全国美容网站建设有没有做软件的网站
  • 网站兼容性代码广东省建设工程规范文件网站
  • 网站栏目怎么做营销网站建设平台
  • 新营销方式有哪些东莞网站seo公司
  • 网站开发中涉及的侵权行为辽宁建设工程信息网评标专家入库
  • 企业网站 的网络营销方法有长春网站制作优势吉网传媒
  • 大丰做网站哪家好郴州网站设计较好的公司
  • 做软件推广网站怎么赚钱wordpress作者排行
  • 山东大型网站建设郑州小程序开发公司排名
  • 医疗网站建设网站网站游戏网站怎么做
  • 企业网站的建设内容wordpress的中文插件
  • 杭州模板做网站鹿泉网络推广
  • 河西区做网站的公司土特产网站模板 织梦
  • 山东住房和城乡建设厅网站登陆绵阳的网站建设
  • 做微网站需要什么国内优秀企业网站设计
  • 微信公众号注册流程如何建设和优化网站
  • 网站建设美工怎么做流量网站