You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-personalAudit-index"],{"05d5":function(t,e,n){"use strict";n.r(e);var a=n("bd04"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"0d2e":function(t,e,n){"use strict";var a=n("8e30"),i=n.n(a);i.a},"0f76":function(t,e,n){var a=n("fb81");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("507a8fd0",a,!0,{sourceMap:!1,shadowMode:!1})},"117d":function(t,e,n){"use strict";n.r(e);var a=n("5c4b"),i=n("1947");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("0d2e");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"a69b10d4",null,!1,a["a"],r);e["default"]=c.exports},"18c0":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.u-grid[data-v-00eebdbf]{width:100%;\ndisplay:flex;flex-direction:row;\nflex-wrap:wrap;align-items:center}',""]),t.exports=e},1947:function(t,e,n){"use strict";n.r(e);var a=n("d104"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},1966:function(t,e,n){"use strict";n.r(e);var a=n("32d5"),i=n("a235");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("63af");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"00eebdbf",null,!1,a["a"],r);e["default"]=c.exports},"32d5":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-grid",class:{"u-border-top u-border-left":t.border},style:[t.gridStyle]},[t._t("default")],2)},o=[]},4340:function(t,e,n){var a=n("18c0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("487fa0e2",a,!0,{sourceMap:!1,shadowMode:!1})},"537c":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */[data-v-a69b10d4].el-descriptions__title{margin-bottom:-15px!important}[data-v-a69b10d4].el-descriptions__header{margin-bottom:0!important}[data-v-a69b10d4].el-descriptions__body .el-descriptions__table{margin-top:-15px!important}[data-v-a69b10d4].el-descriptions :not(.is-bordered) .el-descriptions-item__cell{padding-bottom:0;margin-top:-15px}',""]),t.exports=e},"5bbb":function(t,e,n){"use strict";n.r(e);var a=n("aca8"),i=n("05d5");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("774e");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"02c7666e",null,!1,a["a"],r);e["default"]=c.exports},"5c4b":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uGrid:n("1966").default,uGridItem:n("5bbb").default,uIcon:n("b1e3").default,uPicker:n("fa84").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("u-grid",{attrs:{col:1,border:!0}},[n("u-grid-item",{staticStyle:{height:"35px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openShi.apply(void 0,arguments)}}},[n("v-uni-picker",{attrs:{fields:"month",mode:"date",value:t.date,start:t.startDate,end:t.endDate},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChange.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"grid-text"},[t._v("时间"),n("u-icon",{attrs:{name:"arrow-down"}})],1)],1)],1)],1),t._l(t.dataList,(function(e,a){return n("el-card",{key:a,staticClass:"box-card",attrs:{shadow:"never","body-style":{padding:"10px"}},nativeOn:{click:function(n){return t.toXiang(e)}}},[n("el-descriptions",{attrs:{column:1}},[n("template",{staticStyle:{"margin-bottom":"5px !important"},slot:"title"},[t._v(t._s(e.tittle))]),n("template",{slot:"extra"},[t._v(t._s(e.monthdays))]),n("el-descriptions-item",{staticStyle:{"margin-top":"-15px !important"},attrs:{label:"统计周期",labelStyle:"margin-top:-15px !important",contentStyle:"margin-top:-15px !important"}},[1==e.cycle?n("v-uni-view",{},[t._v(t._s(e.year)+"年")]):t._e(),5==e.cycle?n("v-uni-view",{},[t._v(t._s(e.year)+"年-"+t._s(e.quarter)+"季度")]):t._e(),4==e.cycle?n("v-uni-view",{},[t._v(t._s(e.year)+"年-"+t._s(e.month)+"月")]):t._e(),6==e.cycle?n("v-uni-view",{},[t._v(t._s(e.year)+"年")]):t._e(),0==e.cycle?n("v-uni-view",{},[t._v(t._s(e.year)+"年"+t._s(e.month)+"月")]):t._e()],1)],2)],1)})),n("u-picker",{attrs:{mode:"selector","default-selector":[0],range:t.selectorObj,"range-key":"cateName"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}}),n("u-picker",{attrs:{mode:"selector","default-selector":[0],range:t.shenSelectorObj,"range-key":"cateName"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmShen.apply(void 0,arguments)}},model:{value:t.shenShow,callback:function(e){t.shenShow=e},expression:"shenShow"}}),n("el-dialog",{attrs:{"close-on-click-modal":!1,width:"100%",visible:t.bumenShow},on:{"update:visible":function(e){arguments[0]=e=t.$handleEvent(e),t.bumenShow=e}}},[n("el-cascader-panel",{attrs:{placeholder:"请选择部门",filterable:!0,clearable:!0,options:t.departmentList,"show-all-levels":!1,props:t.props1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.clickBu.apply(void 0,arguments)}}})],1)],2)},o=[]},"63af":function(t,e,n){"use strict";var a=n("4340"),i=n.n(a);i.a},"774e":function(t,e,n){"use strict";var a=n("0f76"),i=n.n(a);i.a},"8e30":function(t,e,n){var a=n("537c");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("441bfa7f",a,!0,{sourceMap:!1,shadowMode:!1})},a235:function(t,e,n){"use strict";n.r(e);var a=n("d8ac"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},aca8:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-grid-item",style:{background:t.bgColor,width:t.width},attrs:{"hover-class":t.parentData.hoverClass,"hover-stay-time":200},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-grid-item-box",class:[t.parentData.border?"u-border-right u-border-bottom":""],style:[t.customStyle]},[t._t("default")],2)],1)},o=[]},bd04:function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"u-grid-item",props:{bgColor:{type:String,default:"#ffffff"},index:{type:[Number,String],default:""},customStyle:{type:Object,default:function(){return{padding:"30rpx 0"}}}},data:function(){return{parentData:{hoverClass:"",col:3,border:!0}}},created:function(){this.updateParentData(),this.parent.children.push(this)},computed:{width:function(){return 100/Number(this.parentData.col)+"%"}},methods:{updateParentData:function(){this.getParentData("u-grid")},click:function(){this.$emit("click",this.index),this.parent&&this.parent.click(this.index)}}};e.default=a},d104:function(t,e,n){"use strict";function a(t){var e=new Date,n=e.getFullYear(),a=e.getMonth()+1,i=e.getDate();return"start"===t?n-=10:"end"===t&&(n+=10),a=a>9?a:"0"+a,i=i>9?i:"0"+i,"".concat(n,"-").concat(a,"-").concat(i)}n("99af"),n("d3b7"),n("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{shenShow:!1,keyword:"",departmentList:[],props1:{checkStrictly:!0,value:"id",label:"name",children:"children",emitPath:!1},bumenShow:!1,pickertimeShow:!1,date:a({format:!0}),startDate:a("start"),endDate:a("end"),value1:"",selectorObj:[{cateName:"全部",id:0},{cateName:"审批中",id:1},{cateName:"通过",id:2},{cateName:"驳回",id:3}],shenSelectorObj:[{cateName:"已处理",id:1},{cateName:"未处理",id:2}],searchInfo:{state:0,page:1,pagesize:1e6},show:!1,liangDataList:[],dataList:[]}},onShow:function(){this.searchInfo={class:1,page:1,pagesize:1e6},this.getData(),this.getGrouplist()},onLoad:function(){},methods:{zhibiao:function(t){console.log(t),this.searchInfo.title=this.keyword,this.getData()},clickBu:function(t){console.log(t),this.searchInfo.department=t.toString(),this.getData()},getGrouplist:function(){var t=this,e={id:2};this.$u.api.Duty.departmentlist(e).then((function(e){0==e.code&&(t.departmentList=e.data,console.log(t.departmentList))}))},openBumen:function(){this.bumenShow=!0},confirm:function(t){var e=t[0];console.log(t[0]),this.searchInfo.state=this.selectorObj[e].id,this.getData()},confirmShen:function(t){var e=t[0];console.log(t[0]),this.searchInfo.isset=this.shenSelectorObj[e].id,this.getData()},openStace:function(){console.log("696"),this.show=!0},openShenStace:function(){console.log("696"),this.shenShow=!0},openShi:function(){console.log("696"),this.pickertimeShow=!0,console.log(this.pickertimeShow)},bindDateChange:function(t){this.searchInfo.time=t.detail.value,this.getData(),console.log(t.detail.value)},seleStace:function(t){this.searchInfo.state=t,this.getData()},getData:function(){var t=this;this.$u.api.Duty.seeflowlog(this.searchInfo).then((function(e){0==e.code&&(t.dataList=e.data.list)}))},thumbChange:function(t){this.show=t},toXiang:function(t){console.log("656"),console.log(t),1==t.class&&this.$u.route("/pages/personalAudit/dingxing",t),2==t.class&&this.$u.route("/pages/personalAudit/dingliang",t)},toZhi:function(t){this.$u.route("/pages/task/details",t)}}};e.default=i},d8ac:function(t,e,n){"use strict";n("d81d"),n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"u-grid",props:{col:{type:[Number,String],default:3},border:{type:Boolean,default:!0},align:{type:String,default:"left"},hoverClass:{type:String,default:"u-hover-class"}},data:function(){return{index:0}},watch:{parentData:function(){this.children.length&&this.children.map((function(t){"function"==typeof t.updateParentData&&t.updateParentData()}))}},created:function(){this.children=[]},computed:{parentData:function(){return[this.hoverClass,this.col,this.size,this.border]},gridStyle:function(){var t={};switch(this.align){case"left":t.justifyContent="flex-start";break;case"center":t.justifyContent="center";break;case"right":t.justifyContent="flex-end";break;default:t.justifyContent="flex-start"}return t}},methods:{click:function(t){this.$emit("click",t)}}};e.default=a},fb81:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.u-grid-item[data-v-02c7666e]{box-sizing:border-box;background:#fff;\ndisplay:flex;flex-direction:row;\nalign-items:center;justify-content:center;position:relative;flex-direction:column}.u-grid-item-hover[data-v-02c7666e]{background:#f7f7f7!important}.u-grid-marker-box[data-v-02c7666e]{position:absolute;display:inline-flex;line-height:0}.u-grid-marker-wrap[data-v-02c7666e]{position:absolute}.u-grid-item-box[data-v-02c7666e]{padding:%?30?% 0;\ndisplay:flex;flex-direction:row;\nalign-items:center;justify-content:center;flex-direction:column;flex:1;width:100%;height:100%}',""]),t.exports=e}}]);