Browse Source

支队

master
jingbowen 3 years ago
parent
commit
f50263c957
  1. 1
      .gitignore
  2. 990
      components/index/dadui.vue
  3. 728
      components/index/jiuyuanzhan.vue
  4. 826
      components/index/zhidui.vue
  5. 2
      components/task/add.vue
  6. 25
      components/task/implement.vue
  7. 2
      config.js
  8. 68
      libs/auth.js
  9. 5
      main.js
  10. 26
      pages.json
  11. 391
      pages/dadui/index/index.vue
  12. 597
      pages/dadui/jiancha/jiancha.vue
  13. 663
      pages/dadui/jiuyuan/jiuyuan.vue
  14. 4
      pages/demo/demo.vue
  15. 396
      pages/index/index.vue
  16. 38
      pages/login/login.vue
  17. 352
      pages/task/implement.vue
  18. 2
      pages/task/taskapply.vue
  19. 26
      pages/task/taskreceive.vue
  20. 11
      pages/user/changePassword/changePassword.vue
  21. BIN
      static/091212.jpg
  22. 4
      unpackage/dist/build/mp-weixin/app.json
  23. 2
      unpackage/dist/build/mp-weixin/common/main.js
  24. 2
      unpackage/dist/build/mp-weixin/common/runtime.js
  25. 6
      unpackage/dist/build/mp-weixin/common/vendor.js
  26. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.js
  27. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxml
  28. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxss
  29. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js
  30. 4
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.json
  31. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.wxml
  32. 2
      unpackage/dist/build/mp-weixin/pages/demo/demo.js
  33. 2
      unpackage/dist/build/mp-weixin/pages/index/index.js
  34. 3
      unpackage/dist/build/mp-weixin/pages/index/index.json
  35. 2
      unpackage/dist/build/mp-weixin/pages/index/index.wxml
  36. 2
      unpackage/dist/build/mp-weixin/pages/login/login.js
  37. 2
      unpackage/dist/build/mp-weixin/pages/task/details.js
  38. 2
      unpackage/dist/build/mp-weixin/pages/task/details.wxml
  39. 2
      unpackage/dist/build/mp-weixin/pages/task/taskapply.js
  40. 2
      unpackage/dist/build/mp-weixin/pages/task/taskapply.wxss
  41. 2
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.js
  42. 2
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxml
  43. 22
      unpackage/dist/build/mp-weixin/project.config.json
  44. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  45. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  46. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  47. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/task/add.js.map
  48. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/index/index.js.map
  49. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/jiancha/jiancha.js.map
  50. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js.map
  51. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/demo/demo.js.map
  52. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  53. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  54. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/task/taskapply.js.map
  55. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/task/taskreceive.js.map
  56. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/changePassword/changePassword.js.map
  57. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/user.js.map
  58. 2
      unpackage/dist/dev/mp-weixin/app.json
  59. 2
      unpackage/dist/dev/mp-weixin/common/main.js
  60. 2
      unpackage/dist/dev/mp-weixin/common/runtime.js
  61. 6
      unpackage/dist/dev/mp-weixin/common/vendor.js
  62. 4
      unpackage/dist/dev/mp-weixin/components/task/add.js
  63. 4
      unpackage/dist/dev/mp-weixin/components/task/details.js
  64. 2
      unpackage/dist/dev/mp-weixin/pages/dadui/index/index.js
  65. 9
      unpackage/dist/dev/mp-weixin/pages/dadui/index/index.json
  66. 1
      unpackage/dist/dev/mp-weixin/pages/dadui/index/index.wxml
  67. 297
      unpackage/dist/dev/mp-weixin/pages/dadui/index/index.wxss
  68. 2
      unpackage/dist/dev/mp-weixin/pages/dadui/jiancha/jiancha.js
  69. 2
      unpackage/dist/dev/mp-weixin/pages/dadui/jiancha/jiancha.wxml
  70. 104
      unpackage/dist/dev/mp-weixin/pages/dadui/jiancha/jiancha.wxss
  71. 2
      unpackage/dist/dev/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js
  72. 4
      unpackage/dist/dev/mp-weixin/pages/dadui/jiuyuan/jiuyuan.json
  73. 2
      unpackage/dist/dev/mp-weixin/pages/dadui/jiuyuan/jiuyuan.wxml
  74. 2
      unpackage/dist/dev/mp-weixin/pages/demo/demo.js
  75. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  76. 4
      unpackage/dist/dev/mp-weixin/pages/index/index.json
  77. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  78. 2
      unpackage/dist/dev/mp-weixin/pages/login/login.js
  79. 2
      unpackage/dist/dev/mp-weixin/pages/task/details.js
  80. 2
      unpackage/dist/dev/mp-weixin/pages/task/taskapply.js
  81. 2
      unpackage/dist/dev/mp-weixin/pages/task/taskapply.wxss
  82. 2
      unpackage/dist/dev/mp-weixin/pages/task/taskreceive.js
  83. 2
      unpackage/dist/dev/mp-weixin/pages/task/taskreceive.wxml
  84. 2
      unpackage/dist/dev/mp-weixin/pages/user/changePassword/changePassword.js
  85. 2
      unpackage/dist/dev/mp-weixin/pages/user/changePassword/changePassword.wxml
  86. 2
      unpackage/dist/dev/mp-weixin/pages/user/user.js
  87. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js
  88. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.js
  89. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading1.js
  90. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading2.js
  91. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading3.js
  92. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading4.js
  93. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading5.js
  94. 4
      unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.js
  95. 4
      unpackage/dist/dev/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.js
  96. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js

1
.gitignore vendored

@ -40,3 +40,4 @@ testem.log
# System files
.DS_Store
Thumbs.db
/unpackage

990
components/index/dadui.vue

@ -0,0 +1,990 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="@/static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class"
v-for="(item,key) in months" :key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>任务总数</text><text>{{countStat.statistics1.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics1.percentageComplete" style="margin-right: 10rpx;">完成率:</view>
<view class="">
<text v-if="countStat.statistics1.percentageComplete">{{countStat.statistics1.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>救援站任务总数</text><text>{{countStat.statistics2.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics2.percentageComplete" style="margin-right: 10rpx;">完成率:</view>
<view class="">
<text v-if="countStat.statistics2.percentageComplete">{{countStat.statistics2.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts2" :chartData="chartData2" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData2.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>检察员任务总数</text><text>{{countStat.statistics3.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics3.percentageComplete" style="margin-right: 10rpx;">完成率:</view>
<view class="">
<text v-if="countStat.statistics3.percentageComplete">{{countStat.statistics3.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts3" :chartData="chartData3" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData3.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
</view>
<!-- <view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<view class="typebox">
<view
style="width: 12rpx; height: 34rpx; margin-top: 6rpx; background-color: #9D80FF; color: #9D80FF ;">
1
</view>
<view class="type">
{{item.taskType}}
</view>
</view>
<view class="namebox">
<view class="name">
{{item.company.companyName}}
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
{{item.company.useNature}}
</view>
<view v-else class="tag2">
{{item.company.useNature}}
</view>
</view>
</view>
<view class="staffbox">
<view class="staff" style="flex: 1;">
<view>主负责人:</view>
<view class="zhu">{{item.organization.name}}</view>
</view>
<view class="jiancha">
待检查
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
<view class="staffbox">
<view class="staff">
<view>协助人员:</view>
<view v-for="(i,k) in item.supervisors" :key="k"
style="display: flex;justify-content: center;align-items: center;">
<img v-if="i.posts && i.posts[0] == '主查人员'" src="@/static/447.png" alt="">
<img v-if="i.posts && i.posts[0] == '协查人员'" src="@/static/446.png" alt="">
{{i.name}}
</view>
</view>
</view>
<view class="staffbox">
<view class="staff">
<view>检查时间:</view>
<view>{{item.checkTime}}</view>
</view>
</view>
</view>
<view class="implement">
<view class="button" v-if="">
<button @tap="start(item)">执行</button>
</view>
<img src="@/static/zeren/4508.png" alt="">
</view>
</view>
</view> -->
</view>
</view>
<!-- <view class="login-box" v-if="!identity">
<view class="login-text">
登录平台,在线处理业务
</view>
<view class="login-button" >
<button @tap="login()">登录</button>
</view>
</view> -->
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello',
identity: 0,
progressNub: 60,
chartData: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
chartData2: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
chartData3: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
dates: {
year: 2022,
month: 8,
day: 0,
},
today: {
month: 8,
},
opts: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
opts2: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
opts3: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
user: [{
tasknub: 0
}],
countStat: {
statistics1: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
},
statistics2: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
},
statistics3: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
}
},
isSupervisor: false,
list: [],
month: 0,
nub: 0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month = date.getMonth() + 1
this.month = date.getMonth() + 1
this.dates.year = date.getFullYear()
this.dates.day = date.getDate()
this.getOrganizations()
this.getSupervisor()
this.getCountStat()
},
onReady() {
// this.getOrganizations()
},
methods: {
getOrganizations() {
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let userId = uni.getStorageSync("user").id
let roles = uni.getStorageSync("user").roles
console.log(uni.getStorageSync("user"));
let isSupervisor = roles.find(item => {
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
let params = {
ContainsChildren: true,
pageSize: 9999
}
this.$request.get("/api/Organizations", params, (data, res) => {
console.log(res);
if (!this.isSupervisor) {
this.user = res.items
for (let i = 0; i < this.user.length; i++) {
this.user[i]["tasknub"] = 0
this.user[i]["rate"] = 0
}
} else {
this.getSupervisor()
}
this.getTaskListOfStation(userId)
})
},
getSupervisor() {
this.$request.get("/api/Users/Inspectors", {}, (data, res) => {
this.list = []
let userOrganizationId = uni.getStorageSync("user").organizationId;
// console.log(uni.getStorageSync("user"),5500);
for (let i = 0; i < res.length; i++) {
if (res[i].organizationId = userOrganizationId) {
this.list.push(res[i])
}
}
console.log(this.list);
})
},
getTaskListOfStation(item) {
console.log(item);
const that = this
let OrganizationId = uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? item : null,
AssitantOrganizationId: this.isSupervisor ? null : OrganizationId,
PageNumber: 1,
approvalStatuses: ['待检查', '已检查'],
PageSize: 9999
}
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
this.list = res.items
this.list["tasknub"] = 0
for (let e = 0; e < this.user.length; e++) {
for (let i = 0; i < that.list.length; i++) {
if (that.list[i].checkTime) {
let text = that.list[i].checkTime.substring(0, 10)
that.list[i].checkTime = text
}
if (that.list[i].inspectionResult != '待检查') {
this.user[e].tasknub += 1
}
}
}
console.log(this.list);
// this.getServerData();
this.getCountStat()
})
},
getCountStat(){
let selectedMonth = this.dates.month < 10 ? "0" + this.dates.month : this.dates.month;
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01';
function integer(num) {
return Math.round(num * 100) || 0
}
let params= {
month: selectedTime
}
this.$request.get('/api/PlanTasks/GetCountStat',params,(data,res)=>{
console.log(res);
this.chartData= {
series: [{
data: [{
name: "上级指派",
value: res['任务总数']['上级指派']
}, {
name: "自主任务",
value: res['任务总数']['自主任务']
}, {
name: "申领任务",
value: res['任务总数']['申领任务']
}, ]
}]
}
this.chartData2= {
series: [{
data: [{
name: "上级指派",
value: res['消防救援任务总数']['上级指派']
}, {
name: "自主任务",
value: res['消防救援任务总数']['自主任务']
}, {
name: "申领任务",
value: res['消防救援任务总数']['申领任务']
}, ]
}]
}
this.chartData3= {
series: [{
data: [{
name: "上级指派",
value: res['检查员任务总数']['上级指派']
}, {
name: "自主任务",
value: res['检查员任务总数']['自主任务']
}, {
name: "申领任务",
value: res['检查员任务总数']['申领任务']
}, ]
}]
}
this.opts.subtitle.name=res['任务总数']['总数']||"0"
this.opts2.subtitle.name=res['消防救援任务总数']['总数']||"0"
this.opts3.subtitle.name=res['检查员任务总数']['总数']||"0"
this.countStat = {
statistics1: {
num: res['任务总数']['总数'], percentageComplete: integer(res['任务总数']['已完成'] / res['任务总数']['总数']), item1: integer(res['任务总数']['上级指派'] / res['任务总数']['总数']), item2: integer(res['任务总数']['自主任务'] / res['任务总数']['总数']), item3: integer(res['任务总数']['申领任务'] / res['任务总数']['总数'])
},
statistics2: {
num: res['消防救援任务总数']['总数'], percentageComplete: integer(res['消防救援任务总数']['已完成'] / res['消防救援任务总数']['总数']), item1: integer(res['消防救援任务总数']['上级指派'] / res['消防救援任务总数']['总数']), item2: integer(res['消防救援任务总数']['自主任务'] / res['消防救援任务总数']['总数']), item3: integer(res['消防救援任务总数']['申领任务'] / res['消防救援任务总数']['总数'])
},
statistics3: {
num: res['检查员任务总数']['总数'], percentageComplete: integer(res['检查员任务总数']['已完成'] / res['检查员任务总数']['总数']), item1: integer(res['检查员任务总数']['上级指派'] / res['检查员任务总数']['总数']), item2: integer(res['检查员任务总数']['自主任务'] / res['检查员任务总数']['总数']), item3: integer(res['检查员任务总数']['申领任务'] / res['检查员任务总数']['总数'])
}
}
this.identity = 1
// console.log(this.countStat);
})
},
getServerData() {
//
this.nub = 0
this.chartData = {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
}
for (let i = 0; i < this.list.length; i++) {
for (let e = 0; e < this.chartData.series[0].data.length; e++) {
if (this.chartData.series[0].data[e].name == this.list[i].creationType) {
this.chartData.series[0].data[e].value += 1
this.nub = this.nub + 1
this.opts.subtitle.name = JSON.stringify(this.nub)
}
}
}
},
dateYear(e) {
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
if (e > this.month) {
return
}
this.dates.month = e
this.getOrganizations()
},
start(item) {
uni.navigateTo({
url: '/pages/task/details?id=' + item.company.id,
})
}
}
}
</script>
<style lang="scss">
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: absolute;
z-index: 0;
overflow: hidden;
}
.pure_top::after {
content: "";
width: 100%;
height: 220rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
height: 120rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.monthbox {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
.month_class {
width: 48rpx;
height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: relative;
left: 0;
z-index: 10;
.itembox {
.top {
margin-top: 30rpx;
height: 60rpx;
display: flex;
.left {
display: flex;
flex: 1;
img {
width: 50rpx;
height: 50rpx;
}
text {
margin-right: 10rpx;
}
}
.right {
color: #909090;
display: flex;
.progress {
margin-top: 6rpx;
margin-right: 10rpx;
height: 34rpx;
flex: 1;
background: #E4E7EC;
.color {
height: 100%;
background-color: #14B389;
}
}
}
}
}
}
.charts-box {
// background-color: #5687fd;
height: 250rpx;
position: relative;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
display: flex;
justify-content: center;
align-items: center;
.tagbox {
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
.tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
}
}
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
.login-box {
display: flex;
background: #8f8f94;
width: 100%;
height: 120rpx;
position: fixed;
bottom: 0;
left: 0;
.login-text {
color: #fff;
width: 60%;
display: flex;
font-size: 36rpx;
padding-left: 40rpx;
align-items: center;
}
.login-button {
flex: 1;
text-align: center;
margin-top: 20rpx;
}
}
.listbox {
width: 90%;
margin: -10rpx auto 0 auto;
.item {
background-color: #fff;
margin: 20rpx 0;
padding: 20rpx;
.namebox {
display: flex;
margin-bottom: 10rpx;
.name {
font-weight: 600;
font-size: 36rpx;
width: 70%;
height: 60rpx;
line-height: 60rpx;
}
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
}
}
}
.typebox {
display: flex;
margin: 14rpx 0;
.type {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
.result {
width: 50%;
text-align: right;
color: #FF6F51;
}
}
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
.staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
img {
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

728
components/index/jiuyuanzhan.vue

@ -0,0 +1,728 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class" v-for="(item,key) in months"
:key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox" v-for="(item,key) in user" :key="key">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}任务总数</text><text>{{nub}}</text>
</view>
</view>
<view class="right">
<view v-if="nub" style="margin-right: 10rpx;">完成</view>
<view class="">
<text v-if="nub">{{item.tasknub+'/'+nub}}</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
</view>
<view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<view class="typebox">
<view
style="width: 12rpx; height: 34rpx; margin-top: 6rpx; background-color: #9D80FF; color: #9D80FF ;">
1
</view>
<view class="type">
{{item.taskType}}
</view>
</view>
<view class="namebox">
<view class="name">
{{item.company.companyName}}
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
{{item.company.useNature}}
</view>
<view v-else class="tag2">
{{item.company.useNature}}
</view>
</view>
</view>
<view class="staffbox">
<view class="staff" style="flex: 1;">
<view>主负责人:</view>
<view class="zhu">{{item.organization.name}}</view>
</view>
<view class="jiancha">
{{item.approvalStatus}}
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
<view class="staffbox">
<view class="staff">
<view>协助人员:</view>
<view v-for="(i,k) in item.supervisors" :key="k"
style="display: flex;justify-content: center;align-items: center;">
<img v-if="i.posts && i.posts[0] == '主查人员'" src="../../static/447.png" alt="">
<img v-if="i.posts && i.posts[0] == '协查人员'" src="../../static/446.png" alt="">
{{i.name}}
</view>
</view>
<!-- <view class="implement">
<button>执行</button>
</view> -->
</view>
<view class="staffbox">
<view class="staff">
<view>检查时间:</view>
<view>{{item.checkTime}}</view>
</view>
<!-- -->
</view>
</view>
<view class="implement">
<view class="button" v-if="item.approvalStatus=='待检查'">
<button @tap="start(item)">执行</button>
</view>
<img v-else-if="item.inspectionResult=='未发现违法违规情况'" src="@/static/zeren/4508.png" alt="">
<img v-else-if="item.inspectionResult=='责令限期改正'" src="@/static/zeren/4511.png" alt="">
<view v-else class="">
{{item.inspectionResult}}
</view>
</view>
</view>
</view>
</view>
</view>
<!-- <view class="login-box" v-if="!identity">
<view class="login-text">
登录平台,在线处理业务
</view>
<view class="login-button" >
<button @tap="login()">登录</button>
</view>
</view> -->
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello',
identity: 0,
progressNub: 60,
chartData: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
dates: {
year: 2022,
month: 8,
day: 0,
},
today:{
month: 8,
},
opts: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
user: [
{
tasknub:0
}
],
isSupervisor:false,
list: [],
month:0,
nub: 0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month=date.getMonth() + 1
this.month=date.getMonth() + 1
this.dates.year=date.getFullYear()
this.dates.day=date.getDate()
this.getOrganizations()
},
onReady() {
// this.getOrganizations()
},
methods: {
getOrganizations() {
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let userId = uni.getStorageSync("user").id
let roles=uni.getStorageSync("user").roles
console.log(uni.getStorageSync("user"));
let isSupervisor = roles.find(item => {
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
let params = {
ContainsChildren: true,
pageSize: 9999
}
this.$request.get("/api/Organizations", params, (data, res) => {
console.log(res);
if(!this.isSupervisor){
this.user = res.items
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
}
}else{
this.getSupervisor()
}
this.getTaskListOfStation(userId)
})
},
getSupervisor(){
this.$request.get("/api/Users/Inspectors",{}, (data, res) => {
console.log(uni.getStorageSync("user").roles,8800);
let userName = uni.getStorageSync("user").name;
// console.log(uni.getStorageSync("user").roles);
for (let i=0;i<res.length;i++) {
if(res[i].name=userName){
this.user = [res[i]]
console.log(this.user,8070);
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
}
}
}
})
},
getTaskListOfStation(item) {
console.log(item);
const that = this
let OrganizationId=uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? item : null,
AssitantOrganizationId: this.isSupervisor ? null : OrganizationId,
PageNumber: 1,
approvalStatuses:['待检查','已检查'],
PageSize: 9999
}
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
this.list = res.items
this.list["tasknub"]=0
for (let e=0;e<this.user.length;e++) {
for (let i = 0; i < that.list.length; i++) {
if(that.list[i].checkTime){
let text = that.list[i].checkTime.substring(0, 10)
that.list[i].checkTime = text
}
if(that.list[i].inspectionResult!='待检查'){
this.user[e].tasknub+=1
}
}
}
console.log(this.list);
this.getServerData();
})
},
getServerData() {
//
this.nub = 0
this.chartData = {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
}
for (let i = 0; i < this.list.length; i++) {
for (let e = 0; e < this.chartData.series[0].data.length; e++) {
if (this.chartData.series[0].data[e].name == this.list[i].creationType) {
this.chartData.series[0].data[e].value += 1
this.nub = this.nub + 1
this.opts.subtitle.name = JSON.stringify(this.nub)
}
}
}
this.identity = 1
},
dateYear(e){
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
if(e>this.month){
return
}
this.dates.month = e
this.getOrganizations()
},
start(item){
console.log(item);
// return
uni.navigateTo({
url: '/pages/task/details?id='+item.company.id+'&uid='+item.id,
})
}
}
}
</script>
<style lang="scss">
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: absolute;
z-index: 0;
overflow: hidden;
}
.pure_top::after {
content: "";
width: 100%;
height: 220rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2{
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
height: 120rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.monthbox {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
.month_class {
width: 48rpx;
height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: relative;
left: 0;
z-index: 10;
.itembox {
.top {
margin-top: 30rpx;
height: 60rpx;
display: flex;
.left {
display: flex;
flex: 1;
img {
width: 50rpx;
height: 50rpx;
}
text {
margin-right: 10rpx;
}
}
.right {
color: #909090;
display: flex;
.progress {
margin-top: 6rpx;
margin-right: 10rpx;
height: 34rpx;
flex: 1;
background: #E4E7EC;
.color {
height: 100%;
background-color: #14B389;
}
}
}
}
}
}
.charts-box {
// background-color: #5687fd;
height: 250rpx;
position: relative;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
display: flex;
justify-content: center;
align-items: center;
.tagbox {
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
.tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
}
}
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
.login-box {
display: flex;
background: #8f8f94;
width: 100%;
height: 120rpx;
position: fixed;
bottom: 0;
left: 0;
.login-text {
color: #fff;
width: 60%;
display: flex;
font-size: 36rpx;
padding-left: 40rpx;
align-items: center;
}
.login-button {
flex: 1;
text-align: center;
margin-top: 20rpx;
}
}
.listbox {
width: 90%;
margin: -10rpx auto 0 auto;
.item {
background-color: #fff;
margin: 20rpx 0;
padding: 20rpx;
.namebox {
display: flex;
margin-bottom: 10rpx;
.name {
font-weight: 600;
font-size: 36rpx;
width: 70%;
height: 60rpx;
line-height: 60rpx;
}
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
}
}
}
.typebox {
display: flex;
margin: 14rpx 0;
.type {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
.result {
width: 50%;
text-align: right;
color: #FF6F51;
}
}
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
.staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
img{
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

826
components/index/zhidui.vue

@ -0,0 +1,826 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="@/static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class"
v-for="(item,key) in months" :key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>任务总数</text><text>{{nub}}</text>
</view>
</view>
<view class="right">
<view v-if="nub" style="margin-right: 10rpx;">完成</view>
<view class="">
<text v-if="nub">{{num}}/{{nub}}</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<!-- <img src="@/static/dadui/10.png" alt=""> -->
<view style="width: 40%;">
<qiun-data-charts v-if="identity" type="ring" :opts="opts" :chartData="chartData" />
</view>
<view
style=" width: 60%; display: flex;flex-wrap:wrap">
<view class="tagbox" style="width: 50%;" v-for="(item,key) in chartData.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text style="font-size: 24rpx;">{{item.name}}</text>
<view style="font-size: 28rpx; flex:1;text-align: right;padding-right: 10rpx;">{{item.value}}</view>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>指派任务总数</text><text>{{countStat.statistics2.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics2.percentageComplete" style="margin-right: 10rpx;">完成率:
</view>
<view class="">
<text
v-if="countStat.statistics2.percentageComplete">{{countStat.statistics2.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<!-- <img src="@/static/dadui/10.png" alt=""> -->
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts2" :chartData="chartData2" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData2.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}{{item.value}}</text>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>检察员任务总数</text><text>{{countStat.statistics3.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics3.percentageComplete" style="margin-right: 10rpx;">完成率:
</view>
<view class="">
<text
v-if="countStat.statistics3.percentageComplete">{{countStat.statistics3.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<!-- <img src="@/static/dadui/10.png" alt=""> -->
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts3" :chartData="chartData3" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData3.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello',
identity: 0,
progressNub: 60,
chartData: {
series: [{
data: [{
name: "熟悉演练",
value: 0
}, {
name: "联络指导",
value: 0
}, {
name: "消防宣传",
value: 0
},{
name: "投诉举报",
value: 0
},{
name: "双随机",
value: 0
},{
name: "行政许可",
value: 0
},{
name: "火灾调查",
value: 0
}, ]
}]
},
chartData2: {
series: [{
data: [{
name: "投诉举报",
value: 0
}, {
name: "行政许可",
value: 0
},
]
}]
},
chartData3: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
dates: {
year: 2022,
month: 8,
day: 0,
},
today: {
month: 8,
},
opts: {
rotate: false,
rotateLock: false,
color: ["#FEA364", "#977AC8", "#6AD9AC","#6A7A96","#F5C044","#E7745E","#79C9EA"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 50,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
opts2: {
rotate: false,
rotateLock: false,
color: ["#5074F9", "#FFBA19"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 50,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
opts3: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 50,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
user: [{
tasknub: 0
}],
countStat: {
statistics1: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
},
statistics2: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
},
statistics3: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
}
},
isSupervisor: false,
list: [],
list2: [],
list3: [],
list4: [],
month: 0,
nub: 0,
num:0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month = date.getMonth() + 1
this.month = date.getMonth() + 1
this.dates.year = date.getFullYear()
this.dates.day = date.getDate()
this.getTaskListOfStation('投诉举报')
this.getTaskListOfStation('双随机')
this.getTaskListOfStation('熟悉演练')
this.getTaskListOfStation('行政许可')
this.getCountStat()
},
onReady() {
this.identity=1
// this.getOrganizations()
},
methods: {
getTaskListOfStation(item) {
const that = this
let OrganizationId = uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
OrganizationId: OrganizationId,
TaskType: item,
PageNumber: 1,
PageSize: 99999
}
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
if(item=="投诉举报"){
this.list=res.items
this.chartData.series[0].data[5].value=res.items.length
this.nub+=res.items.length
for(let a=0;a<res.items.length;a++){
if(res.items[a].approvalStatus=="已检查"){
this.num++
}
}
}
if(item=="双随机"){
this.list2=res.items
this.chartData.series[0].data[2].value=res.items.length
this.nub+=res.items.length
for(let a=0;a<res.items.length;a++){
if(res.items[a].approvalStatus=="已检查"){
this.num++
}
}
}
if(item=="熟悉演练"){
this.list3=res.items
this.chartData.series[0].data[0].value=res.items.length
this.nub+=res.items.length
for(let a=0;a<res.items.length;a++){
if(res.items[a].approvalStatus=="已检查"){
this.num++
}
}
}
if(item=="行政许可"){
this.list4=res.items
this.chartData.series[0].data[6].value=res.items.length
this.nub+=res.items.length
for(let a=0;a<res.items.length;a++){
if(res.items[a].approvalStatus=="已检查"){
this.num++
}
}
}
this.opts.subtitle.name=this.nub
// this.getCountStat()
})
},
getCountStat() {
},
dateYear(e) {
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
if (e > this.month) {
return
}
this.dates.month = e
this.getOrganizations()
},
start(item) {
uni.navigateTo({
url: '/pages/task/details?id=' + item.company.id,
})
}
}
}
</script>
<style lang="scss">
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: absolute;
z-index: 0;
overflow: hidden;
}
.pure_top::after {
content: "";
width: 100%;
height: 220rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
height: 120rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.monthbox {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
.month_class {
width: 48rpx;
height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: relative;
left: 0;
z-index: 10;
.itembox {
.top {
margin-top: 30rpx;
height: 60rpx;
display: flex;
.left {
display: flex;
flex: 1;
img {
width: 50rpx;
height: 50rpx;
}
text {
margin-right: 10rpx;
}
}
.right {
color: #909090;
display: flex;
.progress {
margin-top: 6rpx;
margin-right: 10rpx;
height: 34rpx;
flex: 1;
background: #E4E7EC;
.color {
height: 100%;
background-color: #14B389;
}
}
}
}
}
}
.charts-box {
box-shadow: 0px 0px 10px 1px #C1D7FF;
// background-color: #5687fd;
height: 250rpx;
position: relative;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
display: flex;
justify-content: center;
align-items: center;
.tagbox {
color: #100F19;
display: flex;
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
.tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
}
}
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
.login-box {
display: flex;
background: #8f8f94;
width: 100%;
height: 120rpx;
position: fixed;
bottom: 0;
left: 0;
.login-text {
color: #fff;
width: 60%;
display: flex;
font-size: 36rpx;
padding-left: 40rpx;
align-items: center;
}
.login-button {
flex: 1;
text-align: center;
margin-top: 20rpx;
}
}
.listbox {
width: 90%;
margin: -10rpx auto 0 auto;
.item {
background-color: #fff;
margin: 20rpx 0;
padding: 20rpx;
.namebox {
display: flex;
margin-bottom: 10rpx;
.name {
font-weight: 600;
font-size: 36rpx;
width: 70%;
height: 60rpx;
line-height: 60rpx;
}
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
}
}
}
.typebox {
display: flex;
margin: 14rpx 0;
.type {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
.result {
width: 50%;
text-align: right;
color: #FF6F51;
}
}
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
.staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
img {
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

2
components/task/add.vue

@ -120,7 +120,7 @@
this.getSupervisor()
this.getOg()
this.getUsers()
// this.getCompanies()
this.getCompanies()
this.selectedMonth = new Date().getMonth() + 1
this.selectedYear = new Date().getFullYear()
},

25
components/task/implement.vue

@ -0,0 +1,25 @@
<template>
<button @tap="aaa()">123</button>
</template>
<script>
export default {
data() {
return {
list:{}
}
},
created() {
console.log(this.cid);
this.list=this.cid
},
methods: {
}
}
</script>
<style>
</style>

2
config.js

@ -4,7 +4,7 @@ const domain = 'https://fx.anxincloud.cn';
const devApi = 'https://121.36.37.70:8204';
const devDomain = 'https://121.36.37.70:8204';
const online = false; //是否线上模式
const online = true; //是否线上模式
export default {
domain: online ? domain : devDomain,

68
libs/auth.js

@ -51,7 +51,8 @@ const login = {
getUserProfile(data) {
const that = this;
// console.log(data);
console.log(data);
// return
wx.getUserProfile({
lang: 'zh_CN',
desc: '用于完善会员资料',
@ -65,59 +66,38 @@ const login = {
})
},
login(data,userInfo) {
login(data) {
const that = this;
uni.showLoading({
title: '登录中',
});
console.log(userInfo, 1111)
});
wx.login({
success: res => {
console.log(res, '----------- login获取的 -----------')
const code = res.code;
request.post('/login', {
code,
encryptedData: userInfo.encryptedData,
iv: userInfo.iv
console.log(res.code);
request.post('/api/Accounts/SignIn', {
wechatToken:code,
username:data.name,
password:data.password
}, function(data, res) {
console.log(data, res ,'----------后端传回来的----------')
return
const user = {
token: data.token,
who: data.lawyerInfo.who,
expires_at: data.expires_at,
lawyerInfo: data.lawyerInfo,
clientInfo: data.clientInfo,
info: res.userInfo,
login_type: 0
};
store.commit('saveUser', user)
uni.setStorageSync('user', user);
uni.hideLoading();
if (store.state.path) {
let path = store.state.path;
console.log(path.startsWith('/'))
// 判断是否path前面有/
if (!path.startsWith('/')) {
path = '/' + path
}
uni.reLaunch({
url: path,
success: function(res) {
console.log(res)
},
fail: function(res) {
console.log(res)
}
});
console.log(data, res ,'----------后端传回来的----------')
if(res.status==500){
return alert.showError("用户名或密码错误")
}
uni.setStorageSync("token", res)
store.commit('saveToken', res)
console.log(store.state.token);
request.get("/api/Accounts/Profile", {}, (data, res) => {
console.log(res);
uni.setStorageSync("user", res)
uni.reLaunch({
url: "/pages/index/index",
})
})
})
},
fail: err => {

5
main.js

@ -28,13 +28,18 @@ const app = new Vue({
})
uni.addInterceptor('request', {
invoke(args) {
// request 触发前拼接 url
const {
data,
method,
} = args;
if (method === "GET") {
if(uni.getStorageSync("token")){
request.getToken()
}
// 如果是get请求,且params是数组类型如arr=[1,2],则转换成arr=1&arr=2
const newData = qs.stringify(data, {
arrayFormat: "repeat"

26
pages.json

@ -1,7 +1,5 @@
{
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login/login",
"style": {
@ -12,7 +10,7 @@
}
},
{
"path": "pages/user/changePassword/changePassword",
"path": "pages/task/implement",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
@ -20,8 +18,9 @@
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/demo/demo",
"path": "pages/user/changePassword/changePassword",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
@ -30,16 +29,16 @@
}
},
{
"path": "pages/task/details",
"path": "pages/demo/demo",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
"navigationBarBackgroundColor": "#317AFF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/task/taskreceive",
"path": "pages/task/details",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
@ -48,7 +47,7 @@
}
},
{
"path": "pages/index/index",
"path": "pages/task/taskreceive",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
@ -57,7 +56,7 @@
}
},
{
"path": "pages/dadui/index/index",
"path": "pages/index/index",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
@ -65,6 +64,15 @@
"navigationBarTextStyle": "white"
}
},
// {
// "path": "pages/dadui/index/index",
// "style": {
// "backgroundTextStyle": "light",
// "navigationBarBackgroundColor": "#57B5FF",
// "navigationBarTitleText": "消防一体化综合治理平台",
// "navigationBarTextStyle": "white"
// }
// },
{
"path": "pages/user/user",
"style": {

391
pages/dadui/index/index.vue

@ -18,34 +18,34 @@
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class" v-for="(item,key) in months"
:key="key" @tap="dateMonth(item)">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class"
v-for="(item,key) in months" :key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox" v-for="(item,key) in user" :key="key">
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}任务总数</text><text>{{nub}}</text>
<text>任务总数</text><text>{{countStat.statistics1.num}}</text>
</view>
</view>
<view class="right">
<view v-if="nub" style="margin-right: 10rpx;">完成</view>
<view v-if="countStat.statistics1.percentageComplete" style="margin-right: 10rpx;">完成:</view>
<view class="">
<text v-if="nub">{{item.tasknub+'/'+nub}}</text>
<text v-if="countStat.statistics1.percentageComplete">{{countStat.statistics1.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
</view>
<view
@ -59,6 +59,72 @@
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>救援站任务总数</text><text>{{countStat.statistics2.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics2.percentageComplete" style="margin-right: 10rpx;">完成率:</view>
<view class="">
<text v-if="countStat.statistics2.percentageComplete">{{countStat.statistics2.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts2" :chartData="chartData2" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData2.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>检察员任务总数</text><text>{{countStat.statistics3.num}}</text>
</view>
</view>
<view class="right">
<view v-if="countStat.statistics3.percentageComplete" style="margin-right: 10rpx;">完成率:</view>
<view class="">
<text v-if="countStat.statistics3.percentageComplete">{{countStat.statistics3.percentageComplete}}%</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts3" :chartData="chartData3" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData3.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
</view>
@ -128,7 +194,7 @@
</view>
</view>
</view> -->
</view>
</view>
</view>
<!-- <view class="login-box" v-if="!identity">
<view class="login-text">
@ -162,12 +228,40 @@
}, ]
}]
},
chartData2: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
chartData3: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
dates: {
year: 2022,
month: 8,
day: 0,
},
today:{
today: {
month: 8,
},
opts: {
@ -193,7 +287,7 @@
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
@ -212,14 +306,119 @@
}
}
},
user: [
{
tasknub:0
opts2: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
opts3: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
],
isSupervisor:false,
},
user: [{
tasknub: 0
}],
countStat: {
statistics1: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
},
statistics2: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
},
statistics3: {
num: 0,
percentageComplete: 0,
item1: 0,
item2: 0,
item3: 0
}
},
isSupervisor: false,
list: [],
month:0,
month: 0,
nub: 0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
@ -228,14 +427,14 @@
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month=date.getMonth() + 1
this.month=date.getMonth() + 1
this.dates.year=date.getFullYear()
this.dates.day=date.getDate()
this.today.month = date.getMonth() + 1
this.month = date.getMonth() + 1
this.dates.year = date.getFullYear()
this.dates.day = date.getDate()
this.getOrganizations()
this.getSupervisor()
this.getCountStat()
},
onReady() {
@ -246,41 +445,41 @@
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let userId = uni.getStorageSync("user").id
let roles=uni.getStorageSync("user").roles
let roles = uni.getStorageSync("user").roles
console.log(uni.getStorageSync("user"));
let isSupervisor = roles.find(item => {
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
let params = {
ContainsChildren: true,
pageSize: 9999
}
this.$request.get("/api/Organizations", params, (data, res) => {
console.log(res);
if(!this.isSupervisor){
if (!this.isSupervisor) {
this.user = res.items
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
for (let i = 0; i < this.user.length; i++) {
this.user[i]["tasknub"] = 0
this.user[i]["rate"] = 0
}
}else{
} else {
this.getSupervisor()
}
this.getTaskListOfStation(userId)
})
},
getSupervisor(){
this.$request.get("/api/Users/Inspectors",{}, (data, res) => {
this.list=[]
getSupervisor() {
this.$request.get("/api/Users/Inspectors", {}, (data, res) => {
this.list = []
let userOrganizationId = uni.getStorageSync("user").organizationId;
// console.log(uni.getStorageSync("user"),5500);
for (let i=0;i<res.length;i++) {
if(res[i].organizationId=userOrganizationId){
for (let i = 0; i < res.length; i++) {
if (res[i].organizationId = userOrganizationId) {
this.list.push(res[i])
}
}
console.log(this.list);
@ -289,35 +488,107 @@
getTaskListOfStation(item) {
console.log(item);
const that = this
let OrganizationId=uni.getStorageSync("user").organizationId
let OrganizationId = uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? item : null,
AssitantOrganizationId: this.isSupervisor ? null : OrganizationId,
PageNumber: 1,
approvalStatuses:['待检查','已检查'],
approvalStatuses: ['待检查', '已检查'],
PageSize: 9999
}
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
this.list = res.items
this.list["tasknub"]=0
for (let e=0;e<this.user.length;e++) {
this.list["tasknub"] = 0
for (let e = 0; e < this.user.length; e++) {
for (let i = 0; i < that.list.length; i++) {
if(that.list[i].checkTime){
if (that.list[i].checkTime) {
let text = that.list[i].checkTime.substring(0, 10)
that.list[i].checkTime = text
}
if(that.list[i].inspectionResult!='待检查'){
this.user[e].tasknub+=1
if (that.list[i].inspectionResult != '待检查') {
this.user[e].tasknub += 1
}
}
}
console.log(this.list);
this.getServerData();
// this.getServerData();
this.getCountStat()
})
},
getCountStat(){
let selectedMonth = this.dates.month < 10 ? "0" + this.dates.month : this.dates.month;
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01';
function integer(num) {
return Math.round(num * 100) || 0
}
let params= {
month: selectedTime
}
this.$request.get('/api/PlanTasks/GetCountStat',params,(data,res)=>{
console.log(res);
this.chartData= {
series: [{
data: [{
name: "上级指派",
value: res['任务总数']['上级指派']
}, {
name: "自主任务",
value: res['任务总数']['自主任务']
}, {
name: "申领任务",
value: res['任务总数']['申领任务']
}, ]
}]
}
this.chartData2= {
series: [{
data: [{
name: "上级指派",
value: res['消防救援任务总数']['上级指派']
}, {
name: "自主任务",
value: res['消防救援任务总数']['自主任务']
}, {
name: "申领任务",
value: res['消防救援任务总数']['申领任务']
}, ]
}]
}
this.chartData3= {
series: [{
data: [{
name: "上级指派",
value: res['检查员任务总数']['上级指派']
}, {
name: "自主任务",
value: res['检查员任务总数']['自主任务']
}, {
name: "申领任务",
value: res['检查员任务总数']['申领任务']
}, ]
}]
}
this.opts.subtitle.name=res['任务总数']['总数']||"0"
this.opts2.subtitle.name=res['消防救援任务总数']['总数']||"0"
this.opts3.subtitle.name=res['检查员任务总数']['总数']||"0"
this.countStat = {
statistics1: {
num: res['任务总数']['总数'], percentageComplete: integer(res['任务总数']['已完成'] / res['任务总数']['总数']), item1: integer(res['任务总数']['上级指派'] / res['任务总数']['总数']), item2: integer(res['任务总数']['自主任务'] / res['任务总数']['总数']), item3: integer(res['任务总数']['申领任务'] / res['任务总数']['总数'])
},
statistics2: {
num: res['消防救援任务总数']['总数'], percentageComplete: integer(res['消防救援任务总数']['已完成'] / res['消防救援任务总数']['总数']), item1: integer(res['消防救援任务总数']['上级指派'] / res['消防救援任务总数']['总数']), item2: integer(res['消防救援任务总数']['自主任务'] / res['消防救援任务总数']['总数']), item3: integer(res['消防救援任务总数']['申领任务'] / res['消防救援任务总数']['总数'])
},
statistics3: {
num: res['检查员任务总数']['总数'], percentageComplete: integer(res['检查员任务总数']['已完成'] / res['检查员任务总数']['总数']), item1: integer(res['检查员任务总数']['上级指派'] / res['检查员任务总数']['总数']), item2: integer(res['检查员任务总数']['自主任务'] / res['检查员任务总数']['总数']), item3: integer(res['检查员任务总数']['申领任务'] / res['检查员任务总数']['总数'])
}
}
this.identity = 1
// console.log(this.countStat);
})
},
getServerData() {
@ -349,25 +620,25 @@
}
}
this.identity = 1
},
dateYear(e){
dateYear(e) {
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
if(e>this.month){
if (e > this.month) {
return
}
this.dates.month = e
this.getOrganizations()
},
start(item){
start(item) {
uni.navigateTo({
url: '/pages/task/details?id='+item.company.id,
})
url: '/pages/task/details?id=' + item.company.id,
})
}
}
@ -408,9 +679,11 @@
background-color: #317AFF;
color: #fff;
}
.month_color2{
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
@ -700,10 +973,12 @@
height: 100%;
padding-top: 20rpx;
}
img{
img {
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;

597
pages/dadui/jiancha/jiancha.vue

@ -1,192 +1,139 @@
<template>
<view class="page">
<view class="">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="dates">
<picker mode="date" fields="year" @change="date($event)">
<view>{{year}}</view>
</picker>
<text>|</text>
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="@/static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
8.25
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox" >
<view class="month" v-for="(item,key) in month" :key="key">
{{item}}
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class"
v-for="(item,key) in months" :key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox">
<view class="itembox" v-for="(item,key) in user" :key="key">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>xx救援站任务总数</text><text>20</text>
<text>{{item.user.name}}任务总数</text><text>{{item['任务总数']}}</text>
</view>
</view>
<view class="right">
<view style="margin-right: 10rpx;">完成率</view>
<view class="">
60%
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts[key]" :chartData="chartData[key]" />
</view>
<view style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[0]+';'">
</view>
<text>上级指派-------9</text>
</view>
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[1]+';'">
</view>
<text>上级指派-------9</text>
</view>
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[2]+';'">
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,k) in chartData[key].series[0].data" :key="k">
<view class="tag" :style="'background:'+opts[key].color[k]+';'">
</view>
<text>上级指派-------9</text>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>xx救援站任务总数</text><text>20</text>
</view>
</view>
<view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<view class="typebox">
<view
style="width: 12rpx; height: 34rpx; margin-top: 6rpx; background-color: #9D80FF; color: #9D80FF ;">
1
</view>
<view class="right">
<view style="margin-right: 10rpx;">完成率</view>
<view class="">
60%
</view>
<view class="type">
{{item.taskType}}
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/11.png" alt="">
<view style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
<view class="namebox">
<view class="name">
{{item.company.companyName}}
</view>
<view style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[0]+';'">
</view>
<text>上级指派-------9</text>
</view>
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[1]+';'">
</view>
<text>上级指派-------9</text>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
{{item.company.useNature}}
</view>
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[2]+';'">
</view>
<text>上级指派-------9</text>
<view v-else class="tag2">
{{item.company.useNature}}
</view>
</view>
</view>
</view>
<view class="itembox">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>xx救援站任务总数</text><text>20</text>
</view>
<view class="staffbox">
<view class="staff" style="flex: 1;">
<view>主负责人:</view>
<view class="zhu">{{item.organization.name}}</view>
</view>
<view class="right">
<view style="margin-right: 10rpx;">完成率</view>
<view class="">
60%
</view>
<view class="jiancha">
{{item.approvalStatus}}
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/9.png" alt="">
<view style="width: 40%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
</view>
<view style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[0]+';'">
</view>
<text>上级指派-------9</text>
</view>
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[1]+';'">
</view>
<text>上级指派-------9</text>
</view>
<view class="tagbox">
<view class="tag" :style="'background:'+opts.color[2]+';'">
<view style="display: flex;">
<view style="flex:1">
<view class="staffbox">
<view class="staff">
<view>协助人员:</view>
<view v-for="(i,k) in item.supervisors" :key="k"
style="display: flex;justify-content: center;align-items: center;">
<img v-if="i.posts && i.posts[0] == '主查人员'" src="@/static/447.png" alt="">
<img v-if="i.posts && i.posts[0] == '协查人员'" src="@/static/446.png" alt="">
{{i.name}}
</view>
</view>
<text>上级指派-------9</text>
</view>
</view>
</view>
</view>
<!-- <view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<view class="namebox">
<view class="name">
{{item.name}}
<!-- <view class="implement">
<button>执行</button>
</view> -->
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view class="tag">
{{item.tag.text}}
<view class="staffbox">
<view class="staff">
<view>检查时间:</view>
<view>{{item.checkTime}}</view>
</view>
<!-- -->
</view>
</view>
<view class="typebox">
<view class="type">
{{item.type}}
</view>
<view class="result">
<text>{{item.result}}</text>
</view>
</view>
<view class="staffbox">
<view class="staff">
<view>人员:</view>
<view><img style="height: 40rpx; width: 40rpx; vertical-align:middle" src="../../static/447.png"
alt="">张三</view>
<view><img style="height: 40rpx; width: 40rpx; vertical-align:middle" src="../../static/446.png"
alt="">李四</view>
<view class="implement">
<view class="button" v-if="item.approvalStatus=='待检查'">
<button @tap="start(item)">执行</button>
</view>
<view class="implement">
<button>执行</button>
<img v-else-if="item.inspectionResult=='未发现违法违规情况'" src="@/static/zeren/4508.png" alt="">
<img v-else-if="item.inspectionResult=='责令限期改正'" src="@/static/zeren/4511.png" alt="">
<view v-else class="">
{{item.inspectionResult}}
</view>
</view>
</view>
</view> -->
</view>
</view>
<!-- <view class="login-box" v-if="!identity">
</view>
<!-- <view class="login-box" v-if="!identity">
<view class="login-text">
登录平台,在线处理业务
</view>
@ -203,98 +150,118 @@
return {
title: 'Hello',
identity: 0,
progressNub:60,
chartData: {},
year:2022,
opts: {
rotate: false,
rotateLock: false,
color: ["#FACE15","#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "20",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height:50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
progressNub: 60,
chartData: [],
dates: {
year: 2022,
month: 8,
day: 0,
},
today: {
month: 8,
},
list: [{
name: "上海雅特有限公司",
tag: {
class: "",
text: "重点单位"
},
type: "双随机",
result: "责令限期整改"
opts: [
],
user: [{
tasknub: 0
}],
month:[1,2,3,4,5,6,7,8,9,10,11,12]
isSupervisor: false,
list: [],
month: 0,
nub: 0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
onLoad() {
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month = date.getMonth() + 1
this.month = date.getMonth() + 1
this.dates.year = date.getFullYear()
this.dates.day = date.getDate()
this.getSupervisorCount()
if (a) {
this.identity = 1
}
},
onReady() {
this.getServerData();
this.identity = 1
},
methods: {
getServerData() {
//
setTimeout(() => {
//
let res = {
series: [{
data: [{
"name": "一班",
"value": 50
}, {
"name": "二班",
"value": 30
}, {
"name": "三班",
"value": 20
},
]
}]
};
this.chartData = JSON.parse(JSON.stringify(res));
}, 500);
},
date(e){
console.log(e);
getSupervisorCount() {
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
month: selectedTime,
organizationId: uni.getStorageSync("user").organizationId
}
this.list = []
this.$request.get('/api/PlanTasks/GetSupervisorCount/', params, (data, res) => {
console.log(res);
this.user = res
this.chartData = []
this.opts = []
for (let i = 0; i < this.user.length; i++) {
this.chartData.push({
series: [{
data: [{
name: "自主任务",
value: this.user[i]['自主任务']
}, {
name: "申领任务",
value: this.user[i]['申领任务']
}, ]
}]
})
this.opts.push({
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: JSON.stringify(this.user[i]['任务总数']),
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
})
console.log(this.opts);
}
})
}
}
@ -302,30 +269,47 @@
</script>
<style lang="scss">
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: relative;
position: absolute;
z-index: 0;
overflow: hidden;
}
.pure_top::after {
content:"";
content: "";
width: 100%;
height: 220rpx;
position: absolute;
left: 0;
top:0;
top: 0;
z-index: -1;
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.calendar{
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: absolute;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
@ -333,72 +317,89 @@
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view{
view {
height: 60rpx;
}
.dates{
.date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.monthbox{
.monthbox {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
.month_class {
width: 48rpx;
height: 48rpx;
text-align: center;
}
}
.month{
width: 48rpx;
height: 48rpx;
border-radius: 48rpx;
text-align: center;
// background: #327AFE;
}
}
button {
width: 200rpx;
height: 80rpx;
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 40rpx;
line-height: 80rpx;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox{
.taskbox {
width: 90%;
margin: -60rpx auto 0 auto;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: absolute;
left: 16rpx;
position: relative;
left: 0;
z-index: 10;
.itembox{
margin-top: 30rpx;
.top{
.itembox {
.top {
margin-top: 30rpx;
height: 60rpx;
display: flex;
.left{
.left {
display: flex;
flex: 1;
img{
img {
width: 50rpx;
height: 50rpx;
}
text{
text {
margin-right: 10rpx;
}
}
.right{
.right {
color: #909090;
display: flex;
.progress{
.progress {
margin-top: 6rpx;
margin-right: 10rpx;
height: 34rpx;
flex: 1;
background: #E4E7EC;
.color{
.color {
height: 100%;
background-color: #14B389;
}
@ -407,11 +408,13 @@
}
}
}
.charts-box {
// background-color: #5687fd;
height: 250rpx;
position: relative;
img{
img {
width: 100%;
height: 100%;
position: absolute;
@ -419,18 +422,20 @@
left: 0;
z-index: -1;
}
display: flex;
justify-content: center;
align-items: center;
.tagbox{
.tagbox {
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
.tag{
.tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
@ -484,7 +489,8 @@
}
.listbox {
width: 100%;
width: 90%;
margin: -10rpx auto 0 auto;
.item {
background-color: #fff;
@ -493,7 +499,7 @@
.namebox {
display: flex;
margin-bottom: 30rpx;
margin-bottom: 10rpx;
.name {
font-weight: 600;
@ -505,7 +511,7 @@
.tag {
text-align: center;
width: 200rpx;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
@ -513,18 +519,29 @@
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
}
}
}
.typebox {
display: flex;
margin: 30rpx 0;
margin: 14rpx 0;
.type {
width: 50%;
border-left: #327AFE 6rpx solid;
font-size: 30rpx;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
@ -538,27 +555,59 @@
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
.staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.implement {
.jiancha {
color: #FFBA19;
margin-right: 10rpx;
flex: 1;
margin-bottom: 10rpx;
}
button {
float: right;
width: 120rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 32rpx;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
img {
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

663
pages/dadui/jiuyuan/jiuyuan.vue

@ -1,8 +1,655 @@
<template>
</template>
<script>
</script>
<style>
</style>
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="@/static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class" v-for="(item,key) in months"
:key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox" v-for="(item,key) in user" :key="key">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}任务总数</text><text>{{nub}}</text>
</view>
</view>
<view class="right">
<view v-if="nub" style="margin-right: 10rpx;">完成</view>
<view class="">
<text v-if="nub">{{item.tasknub+'/'+nub}}</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- <view class="login-box" v-if="!identity">
<view class="login-text">
登录平台,在线处理业务
</view>
<view class="login-button" >
<button @tap="login()">登录</button>
</view>
</view> -->
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello',
identity: 0,
progressNub: 60,
chartData: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
dates: {
year: 2022,
month: 8,
day: 0,
},
today:{
month: 8,
},
opts: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
user: [
{
tasknub:0
}
],
isSupervisor:false,
list: [],
month:0,
nub: 0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month=date.getMonth() + 1
this.month=date.getMonth() + 1
this.dates.year=date.getFullYear()
this.dates.day=date.getDate()
this.getOrganizations()
},
onReady() {
// this.getOrganizations()
},
methods: {
getOrganizations() {
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let userId = uni.getStorageSync("user").id
let roles=uni.getStorageSync("user").roles
console.log(uni.getStorageSync("user"));
let isSupervisor = roles.find(item => {
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
let params = {
ContainsChildren: true,
pageSize: 9999
}
this.$request.get("/api/Organizations", params, (data, res) => {
console.log(res);
if(!this.isSupervisor){
this.user = res.items
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
}
}else{
this.getSupervisor()
}
this.getTaskListOfStation(userId)
})
},
getSupervisor(){
this.$request.get("/api/Users/Inspectors",{}, (data, res) => {
console.log(uni.getStorageSync("user").roles,8800);
let userName = uni.getStorageSync("user").name;
// console.log(uni.getStorageSync("user").roles);
for (let i=0;i<res.length;i++) {
if(res[i].name=userName){
this.user = [res[i]]
console.log(this.user,8070);
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
}
}
}
})
},
getTaskListOfStation(item) {
console.log(item);
const that = this
let OrganizationId=uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? item : null,
AssitantOrganizationId: this.isSupervisor ? null : OrganizationId,
PageNumber: 1,
approvalStatuses:['待检查','已检查'],
PageSize: 9999
}
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
this.list = res.items
this.list["tasknub"]=0
for (let e=0;e<this.user.length;e++) {
for (let i = 0; i < that.list.length; i++) {
if(that.list[i].checkTime){
let text = that.list[i].checkTime.substring(0, 10)
that.list[i].checkTime = text
}
if(that.list[i].inspectionResult!='待检查'){
this.user[e].tasknub+=1
}
}
}
console.log(this.list);
this.getServerData();
})
},
getServerData() {
//
this.nub = 0
this.chartData = {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
}
for (let i = 0; i < this.list.length; i++) {
for (let e = 0; e < this.chartData.series[0].data.length; e++) {
if (this.chartData.series[0].data[e].name == this.list[i].creationType) {
this.chartData.series[0].data[e].value += 1
this.nub = this.nub + 1
this.opts.subtitle.name = JSON.stringify(this.nub)
}
}
}
this.identity = 1
},
dateYear(e){
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
if(e>this.month){
return
}
this.dates.month = e
this.getOrganizations()
},
start(item){
console.log(item);
// return
uni.navigateTo({
url: '/pages/task/details?id='+item.company.id+'&uid='+item.id,
})
}
}
}
</script>
<style lang="scss">
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: absolute;
z-index: 0;
overflow: hidden;
}
.pure_top::after {
content: "";
width: 100%;
height: 220rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2{
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
height: 120rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.monthbox {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
.month_class {
width: 48rpx;
height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: relative;
left: 0;
z-index: 10;
.itembox {
.top {
margin-top: 30rpx;
height: 60rpx;
display: flex;
.left {
display: flex;
flex: 1;
img {
width: 50rpx;
height: 50rpx;
}
text {
margin-right: 10rpx;
}
}
.right {
color: #909090;
display: flex;
.progress {
margin-top: 6rpx;
margin-right: 10rpx;
height: 34rpx;
flex: 1;
background: #E4E7EC;
.color {
height: 100%;
background-color: #14B389;
}
}
}
}
}
}
.charts-box {
// background-color: #5687fd;
height: 250rpx;
position: relative;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
display: flex;
justify-content: center;
align-items: center;
.tagbox {
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
.tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
}
}
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
.login-box {
display: flex;
background: #8f8f94;
width: 100%;
height: 120rpx;
position: fixed;
bottom: 0;
left: 0;
.login-text {
color: #fff;
width: 60%;
display: flex;
font-size: 36rpx;
padding-left: 40rpx;
align-items: center;
}
.login-button {
flex: 1;
text-align: center;
margin-top: 20rpx;
}
}
.listbox {
width: 90%;
margin: -10rpx auto 0 auto;
.item {
background-color: #fff;
margin: 20rpx 0;
padding: 20rpx;
.namebox {
display: flex;
margin-bottom: 10rpx;
.name {
font-weight: 600;
font-size: 36rpx;
width: 70%;
height: 60rpx;
line-height: 60rpx;
}
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
}
}
}
.typebox {
display: flex;
margin: 14rpx 0;
.type {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
.result {
width: 50%;
text-align: right;
color: #FF6F51;
}
}
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
.staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
img{
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

4
pages/demo/demo.vue

@ -86,8 +86,8 @@
// ass()
},
aaa() {
uni.setStorageSync('aabb', this.age)
uni.navigateBack(1)
},
bbb() {
this.$request.uploadFile(this.age.imgShow, (data, res) => {

396
pages/index/index.vue

@ -1,387 +1,39 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class" v-for="(item,key) in months"
:key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
</view>
</view>
<view class="taskbox">
<view class="itembox" v-for="(item,key) in user" :key="key">
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}任务总数</text><text>{{nub}}</text>
</view>
</view>
<view class="right">
<view v-if="nub" style="margin-right: 10rpx;">完成</view>
<view class="">
<text v-if="nub">{{item.tasknub+'/'+nub}}</text>
<text v-else>暂无任务</text>
</view>
</view>
</view>
<view class="charts-box" style="display: flex;">
<img src="@/static/dadui/10.png" alt="">
<view v-if="identity" style="width: 50%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
<view class="tagbox" v-for="(item,key) in chartData.series[0].data" :key="key">
<view class="tag" :style="'background:'+opts.color[key]+';'">
</view>
<text>{{item.name}}-------{{item.value}}</text>
</view>
</view>
</view>
</view>
</view>
<view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<view class="typebox">
<view
style="width: 12rpx; height: 34rpx; margin-top: 6rpx; background-color: #9D80FF; color: #9D80FF ;">
1
</view>
<view class="type">
{{item.taskType}}
</view>
</view>
<view class="namebox">
<view class="name">
{{item.company.companyName}}
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
{{item.company.useNature}}
</view>
<view v-else class="tag2">
{{item.company.useNature}}
</view>
</view>
</view>
<view class="staffbox">
<view class="staff" style="flex: 1;">
<view>主负责人:</view>
<view class="zhu">{{item.organization.name}}</view>
</view>
<view class="jiancha">
{{item.approvalStatus}}
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
<view class="staffbox">
<view class="staff">
<view>协助人员:</view>
<view v-for="(i,k) in item.supervisors" :key="k"
style="display: flex;justify-content: center;align-items: center;">
<img v-if="i.posts && i.posts[0] == '主查人员'" src="../../static/447.png" alt="">
<img v-if="i.posts && i.posts[0] == '协查人员'" src="../../static/446.png" alt="">
{{i.name}}
</view>
</view>
<!-- <view class="implement">
<button>执行</button>
</view> -->
</view>
<view class="staffbox">
<view class="staff">
<view>检查时间:</view>
<view>{{item.checkTime}}</view>
</view>
<!-- -->
</view>
</view>
<view class="implement">
<view class="button" v-if="item.approvalStatus=='待检查'">
<button @tap="start(item)">执行</button>
</view>
<img v-else-if="item.inspectionResult=='未发现违法违规情况'" src="@/static/zeren/4508.png" alt="">
<img v-else-if="item.inspectionResult=='责令限期改正'" src="@/static/zeren/4511.png" alt="">
<view v-else class="">
{{item.inspectionResult}}
</view>
</view>
</view>
</view>
</view>
</view>
<!-- <view class="login-box" v-if="!identity">
<view class="login-text">
登录平台,在线处理业务
</view>
<view class="login-button" >
<button @tap="login()">登录</button>
</view>
</view> -->
</view>
<Dindex v-if="shenfen=='battalion'&&!isSupervisor"></Dindex>
<Zindex v-else-if="shenfen=='brigade'"></Zindex>
<Jindex v-else></Jindex>
</template>
<script>
import Dindex from "../../components/index/dadui.vue"
import Jindex from "../../components/index/jiuyuanzhan.vue"
import Zindex from "../../components/index/zhidui.vue"
export default {
components: {
Dindex,
Jindex,
Zindex
},
data() {
return {
title: 'Hello',
identity: 0,
progressNub: 60,
chartData: {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
},
dates: {
year: 2022,
month: 8,
day: 0,
},
today:{
month: 8,
},
opts: {
rotate: false,
rotateLock: false,
color: ["#FACE15", "#04F1C9", "#3990F1"],
padding: [5, 5, 5, 5],
dataLabel: false,
legend: {
show: false,
fontColor: "#fff",
position: "right",
lineHeight: 20
},
title: {
name: "任务总数",
fontSize: 15,
color: "#fff"
},
subtitle: {
name: "0",
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
height: 50,
ringWidth: 10,
activeOpacity: 0.5,
activeRadius: 10,
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
linearType: "none"
}
}
},
user: [
{
tasknub:0
}
],
isSupervisor:false,
list: [],
month:0,
nub: 0,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
shenfen: "",
isSupervisor: false
}
},
onLoad() {
let a = uni.getStorageSync("user");
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month=date.getMonth() + 1
this.month=date.getMonth() + 1
this.dates.year=date.getFullYear()
this.dates.day=date.getDate()
this.getOrganizations()
let roles = uni.getStorageSync("user").roles
let isSupervisor = roles.find(item => {
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
this.shenfen = uni.getStorageSync("user").organizationLevel
},
onReady() {
// this.getOrganizations()
},
methods: {
getOrganizations() {
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let userId = uni.getStorageSync("user").id
let roles=uni.getStorageSync("user").roles
console.log(uni.getStorageSync("user"));
let isSupervisor = roles.find(item => {
return item.name.indexOf('检查') != -1
})
isSupervisor ? this.isSupervisor = true : this.isSupervisor = false
let params = {
ContainsChildren: true,
pageSize: 9999
}
this.$request.get("/api/Organizations", params, (data, res) => {
console.log(res);
if(!this.isSupervisor){
this.user = res.items
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
}
}else{
this.getSupervisor()
}
this.getTaskListOfStation(userId)
})
},
getSupervisor(){
this.$request.get("/api/Users/Inspectors",{}, (data, res) => {
console.log(uni.getStorageSync("user").roles,8800);
let userName = uni.getStorageSync("user").name;
// console.log(uni.getStorageSync("user").roles);
for (let i=0;i<res.length;i++) {
if(res[i].name=userName){
this.user = [res[i]]
console.log(this.user,8070);
for (let i=0;i<this.user.length;i++) {
this.user[i]["tasknub"]=0
this.user[i]["rate"]=0
}
}
}
})
},
getTaskListOfStation(item) {
console.log(item);
const that = this
let OrganizationId=uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? item : null,
AssitantOrganizationId: this.isSupervisor ? null : OrganizationId,
PageNumber: 1,
approvalStatuses:['待检查','已检查'],
PageSize: 9999
}
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
this.list = res.items
this.list["tasknub"]=0
for (let e=0;e<this.user.length;e++) {
for (let i = 0; i < that.list.length; i++) {
if(that.list[i].checkTime){
let text = that.list[i].checkTime.substring(0, 10)
that.list[i].checkTime = text
}
if(that.list[i].inspectionResult!='待检查'){
this.user[e].tasknub+=1
}
}
}
console.log(this.list);
this.getServerData();
})
},
getServerData() {
//
this.nub = 0
this.chartData = {
series: [{
data: [{
name: "上级指派",
value: 0
}, {
name: "自主任务",
value: 0
}, {
name: "申领任务",
value: 0
}, ]
}]
}
for (let i = 0; i < this.list.length; i++) {
for (let e = 0; e < this.chartData.series[0].data.length; e++) {
if (this.chartData.series[0].data[e].name == this.list[i].creationType) {
this.chartData.series[0].data[e].value += 1
this.nub = this.nub + 1
this.opts.subtitle.name = JSON.stringify(this.nub)
}
}
}
this.identity = 1
},
dateYear(e){
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
if(e>this.month){
return
}
this.dates.month = e
this.getOrganizations()
},
start(item){
console.log(item);
// return
uni.navigateTo({
url: '/pages/task/details?id='+item.company.id+'&uid='+item.id,
})
}
}
}
@ -421,9 +73,11 @@
background-color: #317AFF;
color: #fff;
}
.month_color2{
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
@ -713,10 +367,12 @@
height: 100%;
padding-top: 20rpx;
}
img{
img {
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;

38
pages/login/login.vue

@ -78,42 +78,10 @@
if (!this.form.password) {
return this.$alert.showError("请输入密码")
}
uni.showLoading({
title: '登录中',
});
const that = this
this.$request.post("/api/Accounts/SignIn", {
username: this.form.name,
password: this.form.password
}, (data, res) => {
uni.hideLoading();
if(res.status==500){
return this.$alert.showError("用户名或密码错误")
}
uni.setStorageSync("token", res)
this.$store.commit('saveToken', res)
console.log(store.state.token);
that.$request.get("/api/Accounts/Profile", {}, (data, res) => {
console.log(res);
uni.setStorageSync("user", res)
uni.reLaunch({
url: "/pages/dadui/index/index",
})
})
// return
})
this.$auth.login(this.form)
return
},
getToken() {
let user = store.state.token
this.$request.post("/api/Accounts/RefreshToken",{token:user.token,refreshToken:user.refreshToken},(data,res)=>{
console.log(res);
})
}
}
}

352
pages/task/implement.vue

@ -0,0 +1,352 @@
<template>
<view class="page">
<view class="top">
<view class="img" v-if="!age.imgShow">
<img src="@/static/091212.jpg" @click="chooseImage" alt="" >
</view>
<img v-else :src="age.imgShow" alt="" @click="chooseImage">
</view>
<view class="form">
<view class="itembox">
<view class="item">
<view class="left">
位置
</view>
<view class="right">
<input type="text" v-model="form.position" placeholder="请输入位置">
</view>
</view>
</view>
<view class="itembox">
<view class="item">
<view class="left">
姓名
</view>
<view class="right">
<input type="text" v-model="form.name" placeholder="请输入姓名">
</view>
</view>
<view class="item">
<view class="left">
职务
</view>
<view class="right">
<input type="text" v-model="form.post" placeholder="请输入职务">
</view>
</view>
<view class="item">
<view class="left">
备注
</view>
<view class="right">
<input type="text" v-model="form.remarks" placeholder="若非指导员请说明原因">
</view>
</view>
</view>
<view class="itembox">
<view class="item" v-for="(item,k) in form.form" :key="k">
<view class="left">
{{item.name}}
</view>
<view class="right">
<view v-if="item.index" class="">
已完成
</view>
<view v-else class="">
未完成
</view>
<img src="@/static/arrow.png" alt="">
</view>
</view>
</view>
</view>
<view class="button">
<button @tap="bbb()">确定</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
id:"",
form:{
position:"",
name:"",
post:"",
remarks:"",
form:[
{
name:"消防控制室",
index:false,
data:{}
},
{
name:"消防电梯",
index:false,
data:{}
},
{
name:"实战演练",
index:false,
data:{}
},
{
name:"安全出口",
index:false,
data:{}
},
{
name:"应急照明",
index:false,
data:{}
},
{
name:"消防疏散指示标志",
index:false,
data:{}
},
{
name:"火灾自动报警系统",
index:false,
data:{}
},
{
name:"消防水池",
index:false,
data:{}
},
{
name:"消防水箱",
index:false,
data:{}
},
{
name:"消防水泵房",
index:false,
data:{}
},
{
name:"室内消火栓",
index:false,
data:{}
},
{
name:"室外消火栓",
index:false,
data:{}
},
{
name:"末端试水装置",
index:false,
data:{}
},
{
name:"防火门",
index:false,
data:{}
},
{
name:"防火卷帘",
index:false,
data:{}
},
{
name:"防排烟设施",
index:false,
data:{}
},
{
name:"灭火器",
index:false,
data:{}
},
{
name:"通信测试情况",
index:false,
data:{}
},
{
name:"消防车辆作业面",
index:false,
data:{}
},
{
name:"微型消防站",
index:false,
data:{}
},
{
name:"水泵接合器",
index:false,
data:{}
},
{
name:"高层建筑管道井",
index:false,
data:{}
},
{
name:"数字化预案",
index:false,
data:{}
},
{
name:"消防安全管理",
index:false,
data:{}
},
{
name:"其他项",
index:false,
data:{}
},
]
},
age: {
imgShow: '',
text: '',
},
}
},
onLoad(e) {
console.log(e);
this.id=e.id
this.uid=e.uid
console.log(uni.getStorageSync("user"));
// this.getCompanies()
},
onReady() {
},
methods: {
getCompanies(){
this.$request.get("/api/Companies/"+this.id,{},(data,res)=>{
console.log(res);
this.list=res
if(this.list.data){
this.datas=JSON.parse(this.list.data)
if(this.datas.basicInfo.nature=="重点单位"){
this.datasIndex=1
}
}
})
},
chooseImage() {
var _this = this
uni.chooseImage({
count: 1, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album', 'camera'], //
success: function(res) {
_this.age.imgShow = res.tempFilePaths[0]
}
});
// ass()
},
bbb(){
uni.navigateTo({
url:"/pages/demo/demo"
})
// let params={
// approvalStatus:'',
// inspectionResult:''
// }
// this.$request.patch('/api/PlanTasks/' + this.uid, params, (data, res) => {
// console.log(res);
// })
},
danweif(e){
console.log(e);
this.datas.basicInfo.nature=this.danwei[e.detail.value]
}
}
}
</script>
<style lang="scss">
.button{
margin-top: 40rpx;
button {
width: 200rpx;
// height: 140rpx;
// background: linear-gradient(180deg, #317AFF 0%, #0052E6 100%);
color: #fff;
background: #317AFF;
border-radius: 20rpx;
}
}
.top{
display: flex;
justify-content: center;
align-items: center;
.img{
margin-top: 20rpx;
width: 320rpx;
height: 320rpx;
img{
width: 100%;
height: 100%;
border-radius: 40rpx;
}
}
}
.form{
.itembox{
margin-top: 20rpx;
background: #fff;
.item{
display: flex;
height: 100rpx;
border-top: 2rpx solid #E4E7EC;
box-sizing: border-box;
margin: 0 20rpx;
font-size: 32rpx;
.left{
color: #8D8C8F;
line-height: 100rpx;
}
.right{
flex: 1;
color: #100F19;
text-align: right;
line-height: 100rpx;
display: flex;
img{
width: 20rpx;
height: 20rpx;
}
}
.right_inp{
flex: 1;
color: #100F19;
text-align: right;
margin-top: 26rpx;
}
}
.item:nth-child(1){
display: flex;
height: 100rpx;
box-sizing: border-box;
margin: 0 20rpx;
font-size: 32rpx;
}
}
}
</style>

2
pages/task/taskapply.vue

@ -459,7 +459,7 @@
bottom: 0;
left: 0;
width: 100%;
height: 600rpx;
height: 800rpx;
.item_top {
height: 60rpx;

26
pages/task/taskreceive.vue

@ -110,19 +110,7 @@
</view>
<view style="display: flex;">
<view style="flex:1">
<!-- <view class="staffbox">
<view class="staff">
<view>协助人员:</view>
<view v-for="(i,k) in item.supervisors" :key="k"
style="display: flex;justify-content: center;align-items: center;">
<img v-if="i.posts && i.posts[0] == '主查人员'" src="../../static/447.png" alt="">
<img v-if="i.posts && i.posts[0] == '协查人员'" src="../../static/446.png" alt="">
{{i.name}}
</view>
</view>
</view> -->
<view class="staffbox">
<view class="staff">
<view>申请时间:</view>
@ -135,17 +123,15 @@
:class="{jiancha_color:item.approvalStatus=='通过'}">
{{item.approvalStatus}}
</view>
<view v-else class="jiancha"
<!-- <view v-else class="jiancha"
style="color: #FFBA19;">
{{item.approvalStatus}}
</view>
<!-- -->
</view> -->
</view>
</view>
<view class="implement">
<!-- <view class="button">
<button @tap="start(item)">执行</button>
</view> -->
</view>
</view>
</view>
@ -449,11 +435,13 @@
}
this.$request.post('/api/PlanTasks/Approval/' + item.id + '?approvalStatus=' + '通过', null, (data, res) => {
console.log(res);
this.getOrganizations()
})
},
bohui(item) {
this.$request.post('/api/PlanTasks/Approval/' + item.id + '?approvalStatus=' + '驳回', null, (data, res) => {
console.log(res);
this.getOrganizations()
})
},
start(item) {

11
pages/user/changePassword/changePassword.vue

@ -28,7 +28,7 @@
</view>
</view>
<view class="button">
<button>确定</button>
<button @tap="xiugai()">确定</button>
</view>
</view>
</template>
@ -49,7 +49,7 @@
},
methods: {
tuichu(){
xiugai(){
if(this.list.truepassword!=this.list.newpassword){
return this.$alert.showError("两次输入不一致")
}
@ -58,7 +58,12 @@
newPassword: this.list.newpassword
}
this.$request.patch('/api/Accounts/ChangePassword',bady,(data,res)=>{
console.log(res);
if(res){
return this.$alert.showError(res)
}else{
this.$auth.logout()
}
})
}
}

BIN
static/091212.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

4
unpackage/dist/build/mp-weixin/app.json vendored

@ -1,6 +1,7 @@
{
"pages": [
"pages/login/login",
"pages/task/implement",
"pages/user/changePassword/changePassword",
"pages/demo/demo",
"pages/task/details",
@ -48,5 +49,6 @@
}
]
},
"usingComponents": {}
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}

2
unpackage/dist/build/mp-weixin/common/main.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"68bd":function(t,e,n){"use strict";n.r(e);var r=n("e449");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("b470");var u,a,c,f,i=n("f0c5"),l=Object(i["a"])(r["default"],u,a,!1,null,null,null,!1,c,f);e["default"]=l.exports},b470:function(t,e,n){"use strict";var r=n("fb0e"),o=n.n(r);o.a},e449:function(t,e,n){"use strict";n.r(e);var r=n("f210"),o=n.n(r);for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=o.a},e9a4:function(t,e,n){"use strict";(function(t,e){n("899b");var r=p(n("68bd")),o=p(n("bc24")),u=p(n("3df5")),a=p(n("bf21")),c=p(n("aa0f")),f=p(n("6c87")),i=p(n("4328")),l=n("ffdd"),d=p(n("66fd"));function p(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}wx.__webpack_require_UNI_MP_PLUGIN__=n,t.$http=l.$http,l.$http.baseUrl="https://121.36.37.70:8204",d.default.config.productionTip=!1,r.default.mpType="app",d.default.prototype.$auth=o.default,d.default.prototype.$alert=u.default,d.default.prototype.$request=a.default,d.default.prototype.$config=c.default;var v=new d.default(b(b({},r.default),{},{store:f.default}));t.addInterceptor("request",{invoke:function(t){var e=t.data,n=t.method;if("GET"===n){var r=i.default.stringify(e,{arrayFormat:"repeat"});console.log(r,7777),delete t.data,t.url="".concat(t.url,"?").concat(r)}},success:function(t){},fail:function(t){},complete:function(t){}}),e(v).$mount()}).call(this,n("543d")["default"],n("543d")["createApp"])},f210:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={onLaunch:function(t){this.$auth.getLocalUserInfo(),this.$store.commit("savePath",t.path)},onShow:function(){console.log("-------------- 小程序显示 --------------")},onHide:function(){console.log("-------------- bye bye --------------")}};e.default=r},fb0e:function(t,e,n){}},[["e9a4","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"68bd":function(t,e,n){"use strict";n.r(e);var o=n("e449");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("b470");var a,u,c,f,l=n("f0c5"),i=Object(l["a"])(o["default"],a,u,!1,null,null,null,!1,c,f);e["default"]=i.exports},b470:function(t,e,n){"use strict";var o=n("fb0e"),r=n.n(o);r.a},e449:function(t,e,n){"use strict";n.r(e);var o=n("f210"),r=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},e9a4:function(t,e,n){"use strict";(function(t,e){n("899b");var o=p(n("68bd")),r=p(n("bc24")),a=p(n("3df5")),u=p(n("bf21")),c=p(n("aa0f")),f=p(n("6c87")),l=p(n("4328")),i=n("ffdd"),d=p(n("66fd"));function p(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}wx.__webpack_require_UNI_MP_PLUGIN__=n,t.$http=i.$http,i.$http.baseUrl="https://121.36.37.70:8204",d.default.config.productionTip=!1,o.default.mpType="app",d.default.prototype.$auth=r.default,d.default.prototype.$alert=a.default,d.default.prototype.$request=u.default,d.default.prototype.$config=c.default;var v=new d.default(b(b({},o.default),{},{store:f.default}));t.addInterceptor("request",{invoke:function(e){var n=e.data,o=e.method;if("GET"===o){t.getStorageSync("token")&&u.default.getToken();var r=l.default.stringify(n,{arrayFormat:"repeat"});console.log(r,7777),delete e.data,e.url="".concat(e.url,"?").concat(r)}},success:function(t){},fail:function(t){},complete:function(t){}}),e(v).$mount()}).call(this,n("543d")["default"],n("543d")["createApp"])},f210:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={onLaunch:function(t){this.$auth.getLocalUserInfo(),this.$store.commit("savePath",t.path)},onShow:function(){console.log("-------------- 小程序显示 --------------")},onHide:function(){console.log("-------------- bye bye --------------")}};e.default=o},fb0e:function(t,e,n){}},[["e9a4","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/common/runtime.js vendored

File diff suppressed because one or more lines are too long

6
unpackage/dist/build/mp-weixin/common/vendor.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiancha/jiancha"],{"1b1f":function(t,e,n){"use strict";n.r(e);var a=n("80cd"),o=n("dff2");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("4eb5");var i,u=n("f0c5"),c=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=c.exports},"4eb5":function(t,e,n){"use strict";var a=n("9e48"),o=n.n(a);o.a},"6c1d":function(t,e,n){"use strict";(function(t){n("899b");a(n("66fd"));var e=a(n("1b1f"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"80cd":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={qiunDataCharts:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(n.bind(null,"0394"))}},o=function(){var t=this,e=t.$createElement,a=(t._self._c,n("87b3")),o=n("8a99"),r=n("87b3"),i=n("aa5a"),u=n("87b3"),c=n("3810");t.$mp.data=Object.assign({},{$root:{m0:a,m1:o,m2:r,m3:i,m4:u,m5:c}})},r=[]},"9e48":function(t,e,n){},ac73:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{title:"Hello",identity:0,progressNub:60,chartData:{},year:2022,opts:{rotate:!1,rotateLock:!1,color:["#FACE15","#04F1C9","#3990F1"],padding:[5,5,5,5],dataLabel:!1,legend:{show:!1,fontColor:"#fff",position:"right",lineHeight:20},title:{name:"任务总数",fontSize:15,color:"#fff"},subtitle:{name:"20",fontSize:25,color:"#fff"},extra:{ring:{width:50,height:50,ringWidth:10,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,customRadius:60,borderWidth:3,borderColor:"#FFFFFF",centerColor:"#57B5FF",linearType:"none"}}},list:[{name:"上海雅特有限公司",tag:{class:"",text:"重点单位"},type:"双随机",result:"责令限期整改"}],month:[1,2,3,4,5,6,7,8,9,10,11,12]}},onLoad:function(){var e=t.getStorageSync("user");e&&(this.identity=1)},onReady:function(){this.getServerData()},methods:{getServerData:function(){var t=this;setTimeout((function(){var e={series:[{data:[{name:"一班",value:50},{name:"二班",value:30},{name:"三班",value:20}]}]};t.chartData=JSON.parse(JSON.stringify(e))}),500)},date:function(t){console.log(t)}}};e.default=n}).call(this,n("543d")["default"])},dff2:function(t,e,n){"use strict";n.r(e);var a=n("ac73"),o=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a}},[["6c1d","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiancha/jiancha"],{"1b1f":function(t,e,n){"use strict";n.r(e);var a=n("6a4f"),o=n("dff2");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("4eb5");var i,s=n("f0c5"),u=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=u.exports},"4eb5":function(t,e,n){"use strict";var a=n("9e48"),o=n.n(a);o.a},"6a4f":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={qiunDataCharts:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(n.bind(null,"0394"))}},o=function(){var t=this,e=t.$createElement,a=(t._self._c,n("a209")),o=n("87b3"),r=n("8a99"),i=t.__map(t.list,(function(e,a){var o=t.__get_orig(e),r=t.__map(e.supervisors,(function(e,a){var o=t.__get_orig(e),r=e.posts&&"主查人员"==e.posts[0]?n("6246"):null,i=e.posts&&"协查人员"==e.posts[0]?n("2657"):null;return{$orig:o,m3:r,m4:i}})),i="待检查"!=e.approvalStatus&&"未发现违法违规情况"==e.inspectionResult?n("6924"):null,s="待检查"!=e.approvalStatus&&"未发现违法违规情况"!=e.inspectionResult&&"责令限期改正"==e.inspectionResult?n("3181"):null;return{$orig:o,l0:r,m5:i,m6:s}}));t.$mp.data=Object.assign({},{$root:{m0:a,m1:o,m2:r,l1:i}})},r=[]},"6c1d":function(t,e,n){"use strict";(function(t){n("899b");a(n("66fd"));var e=a(n("1b1f"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"9e48":function(t,e,n){},ac73:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{title:"Hello",identity:0,progressNub:60,chartData:[],dates:{year:2022,month:8,day:0},today:{month:8},opts:[],user:[{tasknub:0}],isSupervisor:!1,list:[],month:0,nub:0,months:[1,2,3,4,5,6,7,8,9,10,11,12]}},onLoad:function(){t.getStorageSync("user");var e=new Date;this.dates.month=e.getMonth()+1,this.today.month=e.getMonth()+1,this.month=e.getMonth()+1,this.dates.year=e.getFullYear(),this.dates.day=e.getDate(),this.getSupervisorCount()},onReady:function(){this.identity=1},methods:{getSupervisorCount:function(){var e=this,n=this.dates.year+"-"+this.dates.month+"-01",a={month:n,organizationId:t.getStorageSync("user").organizationId};this.list=[],this.$request.get("/api/PlanTasks/GetSupervisorCount/",a,(function(t,n){console.log(n),e.user=n,e.chartData=[],e.opts=[];for(var a=0;a<e.user.length;a++)e.chartData.push({series:[{data:[{name:"自主任务",value:e.user[a]["自主任务"]},{name:"申领任务",value:e.user[a]["申领任务"]}]}]}),e.opts.push({rotate:!1,rotateLock:!1,color:["#FACE15","#04F1C9","#3990F1"],padding:[5,5,5,5],dataLabel:!1,legend:{show:!1,fontColor:"#fff",position:"right",lineHeight:20},title:{name:"任务总数",fontSize:15,color:"#fff"},subtitle:{name:JSON.stringify(e.user[a]["任务总数"]),fontSize:25,color:"#fff"},extra:{ring:{width:50,height:50,ringWidth:10,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,customRadius:60,borderWidth:3,borderColor:"#FFFFFF",centerColor:"#57B5FF",linearType:"none"}}}),console.log(e.opts)}))}}};e.default=n}).call(this,n("543d")["default"])},dff2:function(t,e,n){"use strict";n.r(e);var a=n("ac73"),o=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a}},[["6c1d","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxml vendored

@ -1 +1 @@
<view class="page"><view><view class="pure_top"></view><view class="calendar"><view class="dates"><picker mode="date" fields="year" data-event-opts="{{[['change',[['date',['$event']]]]]}}" bindchange="__e"><view>{{year}}</view></picker><text>|</text><view>8.25</view></view><view class="monthbox"><block wx:for="{{month}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="month">{{''+item+''}}</view></block></view></view></view><view class="taskbox"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m0}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m1}}" alt class="_img"></image><view style="width:50%;"><qiun-data-charts vue-id="7ccd3292-1" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m2}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m3}}" alt class="_img"></image><view style="width:50%;"><qiun-data-charts vue-id="7ccd3292-2" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m4}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m5}}" alt class="_img"></image><view style="width:40%;"><qiun-data-charts vue-id="7ccd3292-3" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view></view></view>
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.user.name+"任务总数"}}</text><text>{{item['任务总数']}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'7ccd3292-1-'+key}}" type="ring" opts="{{opts[key]}}" chartData="{{chartData[key]}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData[key].series[0].data}}" wx:for-item="item" wx:for-index="k" wx:key="k"><view class="tagbox"><view class="tag" style="{{('background:'+opts[key].color[k]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:12rpx;height:34rpx;margin-top:6rpx;background-color:#9D80FF;color:#9D80FF;">1</view><view class="type">{{''+item.$orig.taskType+''}}</view></view><view class="namebox"><view class="name">{{''+item.$orig.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.$orig.company.useNature=='重点单位'}}"><view class="tag">{{''+item.$orig.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.$orig.company.useNature+''}}</view></block></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>主负责人:</view><view class="zhu">{{item.$orig.organization.name}}</view></view><view class="jiancha">{{''+item.$orig.approvalStatus+''}}</view></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>协助人员:</view><block wx:for="{{item.l0}}" wx:for-item="i" wx:for-index="k" wx:key="k"><view style="display:flex;justify-content:center;align-items:center;"><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='主查人员'}}"><image src="{{i.m3}}" alt class="_img"></image></block><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='协查人员'}}"><image src="{{i.m4}}" alt class="_img"></image></block>{{''+i.$orig.name+''}}</view></block></view></view><view class="staffbox"><view class="staff"><view>检查时间:</view><view>{{item.$orig.checkTime}}</view></view></view></view><view class="implement"><block wx:if="{{item.$orig.approvalStatus=='待检查'}}"><view class="button"><button data-event-opts="{{[['tap',[['start',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">执行</button></view></block><block wx:else><block wx:if="{{item.$orig.inspectionResult=='未发现违法违规情况'}}"><image src="{{item.m5}}" alt class="_img"></image></block><block wx:else><block wx:if="{{item.$orig.inspectionResult=='责令限期改正'}}"><image src="{{item.m6}}" alt class="_img"></image></block><block wx:else><view>{{''+item.$orig.inspectionResult+''}}</view></block></block></block></view></view></view></block></view></view>

2
unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxss vendored

@ -1 +1 @@
.pure_top{width:100%;height:220rpx;position:relative;z-index:0;overflow:hidden}.pure_top::after{content:"";width:100%;height:220rpx;position:absolute;left:0;top:0;z-index:-1;border-radius:0 0 100% 100%;background:linear-gradient(180deg,#57b5ff,#616dfd)}.calendar{z-index:1;position:absolute;left:74rpx;top:20rpx;width:80%;height:120rpx;border-radius:10rpx;box-shadow:0 0 20px 1px #c1d7ff;background:#fff}.calendar view{height:60rpx}.calendar .dates{display:flex}.calendar .monthbox{display:flex;justify-content:center;align-items:center;flex-direction:row}.calendar .month{width:48rpx;height:48rpx;border-radius:48rpx;text-align:center}button{width:200rpx;height:80rpx;color:#fff;border-radius:40rpx;line-height:80rpx;background-color:#327afe}.taskbox{width:90%;margin:-60rpx auto 0 auto;border-radius:20rpx;background-color:#fff;padding:20rpx;position:absolute;left:16rpx;z-index:10}.taskbox .itembox{margin-top:30rpx}.taskbox .itembox .top{margin-top:30rpx;height:60rpx;display:flex}.taskbox .itembox .top .left{display:flex;flex:1}.taskbox .itembox .top .left ._img{width:50rpx;height:50rpx}.taskbox .itembox .top .left text{margin-right:10rpx}.taskbox .itembox .top .right{color:#909090;display:flex}.taskbox .itembox .top .right .progress{margin-top:6rpx;margin-right:10rpx;height:34rpx;flex:1;background:#e4e7ec}.taskbox .itembox .top .right .progress .color{height:100%;background-color:#14b389}.charts-box{height:250rpx;position:relative;display:flex;justify-content:center;align-items:center}.charts-box ._img{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-1}.charts-box .tagbox{color:#fff;display:flex;justify-content:center;align-items:center;margin:10rpx 0;font-size:32rpx}.charts-box .tagbox .tag{width:20rpx;height:20rpx;border-radius:20rpx}.logo{height:200rpx;width:200rpx;margin-top:200rpx;margin-left:auto;margin-right:auto;margin-bottom:50rpx}.text-area{display:flex;justify-content:center}.title{font-size:36rpx;color:#8f8f94}.login-box{display:flex;background:#8f8f94;width:100%;height:120rpx;position:fixed;bottom:0;left:0}.login-box .login-text{color:#fff;width:60%;display:flex;font-size:36rpx;padding-left:40rpx;align-items:center}.login-box .login-button{flex:1;text-align:center;margin-top:20rpx}.listbox{width:100%}.listbox .item{background-color:#fff;margin:20rpx 0;padding:20rpx}.listbox .item .namebox{display:flex;margin-bottom:30rpx}.listbox .item .namebox .name{font-weight:600;font-size:36rpx;width:70%;height:60rpx;line-height:60rpx}.listbox .item .namebox .tag{text-align:center;width:200rpx;height:60rpx;line-height:60rpx;color:#ff6f51;border:1px solid #ff6f51;background:rgba(255,111,81,.24);border-radius:40rpx 40rpx 40rpx 40rpx}.typebox{display:flex;margin:30rpx 0}.typebox .type{width:50%;border-left:#327afe 6rpx solid;font-size:30rpx;font-weight:600;padding-left:10rpx}.typebox .result{width:50%;text-align:right;color:#ff6f51}.staffbox{display:flex}.staffbox .staff{display:flex}.staffbox .staff view{margin-right:20rpx}.staffbox .implement{flex:1;margin-bottom:10rpx}.staffbox .implement button{float:right;width:120rpx;height:60rpx;line-height:60rpx;font-size:32rpx}
.top{position:relative;top:0;left:0}.pure_top{width:100%;height:220rpx;position:absolute;z-index:0;overflow:hidden}.pure_top::after{content:"";width:100%;height:220rpx;position:absolute;left:0;top:0;z-index:-1;border-radius:0 0 100% 100%;background:linear-gradient(180deg,#57b5ff,#616dfd)}.month_color{border-radius:48rpx;background-color:#317aff;color:#fff}.month_color2{color:#b5b5b5}.calendar{z-index:1;position:relative;left:74rpx;top:20rpx;width:80%;height:120rpx;border-radius:10rpx;box-shadow:0 0 20px 1px #c1d7ff;background:#fff}.calendar view{height:60rpx}.calendar .date_year{box-sizing:border-box;display:flex;background-color:#fff;padding:10rpx 0 0 10rpx}.calendar .monthbox{display:flex;justify-content:center;align-items:center;flex-direction:row}.calendar .monthbox .month_class{width:48rpx;height:48rpx;text-align:center}button{width:140rpx;height:70rpx;color:#fff;border-radius:34rpx;line-height:70rpx;font-size:30rpx;background-color:#327afe}.taskbox{width:90%;margin:40rpx auto;border-radius:20rpx;background-color:#fff;padding:20rpx;position:relative;left:0;z-index:10}.taskbox .itembox .top{margin-top:30rpx;height:60rpx;display:flex}.taskbox .itembox .top .left{display:flex;flex:1}.taskbox .itembox .top .left ._img{width:50rpx;height:50rpx}.taskbox .itembox .top .left text{margin-right:10rpx}.taskbox .itembox .top .right{color:#909090;display:flex}.taskbox .itembox .top .right .progress{margin-top:6rpx;margin-right:10rpx;height:34rpx;flex:1;background:#e4e7ec}.taskbox .itembox .top .right .progress .color{height:100%;background-color:#14b389}.charts-box{height:250rpx;position:relative;display:flex;justify-content:center;align-items:center}.charts-box ._img{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-1}.charts-box .tagbox{color:#fff;display:flex;justify-content:center;align-items:center;margin:10rpx 0;font-size:32rpx}.charts-box .tagbox .tag{width:20rpx;height:20rpx;border-radius:20rpx}.logo{height:200rpx;width:200rpx;margin-top:200rpx;margin-left:auto;margin-right:auto;margin-bottom:50rpx}.text-area{display:flex;justify-content:center}.title{font-size:36rpx;color:#8f8f94}.login-box{display:flex;background:#8f8f94;width:100%;height:120rpx;position:fixed;bottom:0;left:0}.login-box .login-text{color:#fff;width:60%;display:flex;font-size:36rpx;padding-left:40rpx;align-items:center}.login-box .login-button{flex:1;text-align:center;margin-top:20rpx}.listbox{width:90%;margin:-10rpx auto 0 auto}.listbox .item{background-color:#fff;margin:20rpx 0;padding:20rpx}.listbox .item .namebox{display:flex;margin-bottom:10rpx}.listbox .item .namebox .name{font-weight:600;font-size:36rpx;width:70%;height:60rpx;line-height:60rpx}.listbox .item .namebox .tag{text-align:center;width:180rpx;height:60rpx;line-height:60rpx;color:#ff6f51;border:1px solid #ff6f51;background:rgba(255,111,81,.24);border-radius:40rpx 40rpx 40rpx 40rpx}.listbox .item .namebox .tag2{text-align:center;width:180rpx;height:60rpx;line-height:60rpx;color:#14b488;border:1px solid rgba(30,232,177,.8);background:rgba(30,232,177,.24);border-radius:40rpx 40rpx 40rpx 40rpx}.typebox{display:flex;margin:14rpx 0}.typebox .type{width:50%;font-size:32rpx;font-weight:600;padding-left:10rpx}.typebox .result{width:50%;text-align:right;color:#ff6f51}.staffbox{display:flex;margin:6rpx 0;font-size:30rpx}.staffbox .staff{display:flex;color:rgba(16,15,25,.48)}.staffbox .staff .zhu{color:#100f19}.staffbox .staff view{margin-right:20rpx}.staffbox .staff ._img{width:40rpx;height:40rpx;min-width:40rpx;min-height:40rpx}.staffbox .jiancha{color:#ffba19;margin-right:10rpx}.implement{margin-bottom:10rpx}.implement .button{width:100%;height:100%;padding-top:20rpx}.implement ._img{width:100rpx;height:100rpx}

2
unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiuyuan/jiuyuan"],{"51e6":function(n,e,t){"use strict";(function(n){t("899b");u(t("66fd"));var e=u(t("a34c"));function u(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},"8d2b":function(n,e,t){"use strict";t.r(e);var u=t("9ee3"),r=t.n(u);for(var a in u)"default"!==a&&function(n){t.d(e,n,(function(){return u[n]}))}(a);e["default"]=r.a},"9ee3":function(n,e){},a34c:function(n,e,t){"use strict";t.r(e);var u=t("edb9"),r=t("8d2b");for(var a in r)"default"!==a&&function(n){t.d(e,n,(function(){return r[n]}))}(a);var c,i=t("f0c5"),o=Object(i["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);e["default"]=o.exports},edb9:function(n,e,t){"use strict";var u;t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return u}));var r=function(){var n=this,e=n.$createElement;n._self._c},a=[]}},[["51e6","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiuyuan/jiuyuan"],{"1ffc":function(t,e,a){"use strict";var n=a("2bdf"),i=a.n(n);i.a},"2b06":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return n}));var n={qiunDataCharts:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(a.bind(null,"0394"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,a("a209")),i=a("87b3"),s=a("8a99");t.$mp.data=Object.assign({},{$root:{m0:n,m1:i,m2:s}})},s=[]},"2bdf":function(t,e,a){},"51e6":function(t,e,a){"use strict";(function(t){a("899b");n(a("66fd"));var e=n(a("a34c"));function n(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=a,t(e.default)}).call(this,a("543d")["createPage"])},"8d2b":function(t,e,a){"use strict";a.r(e);var n=a("9ee3"),i=a.n(n);for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);e["default"]=i.a},"9ee3":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{title:"Hello",identity:0,progressNub:60,chartData:{series:[{data:[{name:"上级指派",value:0},{name:"自主任务",value:0},{name:"申领任务",value:0}]}]},dates:{year:2022,month:8,day:0},today:{month:8},opts:{rotate:!1,rotateLock:!1,color:["#FACE15","#04F1C9","#3990F1"],padding:[5,5,5,5],dataLabel:!1,legend:{show:!1,fontColor:"#fff",position:"right",lineHeight:20},title:{name:"任务总数",fontSize:15,color:"#fff"},subtitle:{name:"0",fontSize:25,color:"#fff"},extra:{ring:{width:50,height:50,ringWidth:10,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,customRadius:60,borderWidth:3,borderColor:"#FFFFFF",centerColor:"#57B5FF",linearType:"none"}}},user:[{tasknub:0}],isSupervisor:!1,list:[],month:0,nub:0,months:[1,2,3,4,5,6,7,8,9,10,11,12]}},created:function(){t.getStorageSync("user");var e=new Date;this.dates.month=e.getMonth()+1,this.today.month=e.getMonth()+1,this.month=e.getMonth()+1,this.dates.year=e.getFullYear(),this.dates.day=e.getDate(),this.getOrganizations()},onReady:function(){},methods:{getOrganizations:function(){var e=this,a=(this.dates.year,this.dates.month,t.getStorageSync("user").id),n=t.getStorageSync("user").roles;console.log(t.getStorageSync("user"));var i=n.find((function(t){return-1!=t.name.indexOf("检查")}));this.isSupervisor=!!i;var s={ContainsChildren:!0,pageSize:9999};this.$request.get("/api/Organizations",s,(function(t,n){if(console.log(n),e.isSupervisor)e.getSupervisor();else{e.user=n.items;for(var i=0;i<e.user.length;i++)e.user[i]["tasknub"]=0,e.user[i]["rate"]=0}e.getTaskListOfStation(a)}))},getSupervisor:function(){var e=this;this.$request.get("/api/Users/Inspectors",{},(function(a,n){console.log(t.getStorageSync("user").roles,8800);for(var i=t.getStorageSync("user").name,s=0;s<n.length;s++)if(n[s].name=i){e.user=[n[s]],console.log(e.user,8070);for(var r=0;r<e.user.length;r++)e.user[r]["tasknub"]=0,e.user[r]["rate"]=0}}))},getTaskListOfStation:function(e){var a=this;console.log(e);var n=this,i=t.getStorageSync("user").organizationId,s=this.dates.year+"-"+this.dates.month+"-01",r={Month:s,SupervisorId:this.isSupervisor?e:null,AssitantOrganizationId:this.isSupervisor?null:i,PageNumber:1,approvalStatuses:["待检查","已检查"],PageSize:9999};this.$request.get("/api/PlanTasks",r,(function(t,e){console.log(e),a.list=e.items,a.list["tasknub"]=0;for(var i=0;i<a.user.length;i++)for(var s=0;s<n.list.length;s++){if(n.list[s].checkTime){var r=n.list[s].checkTime.substring(0,10);n.list[s].checkTime=r}"待检查"!=n.list[s].inspectionResult&&(a.user[i].tasknub+=1)}console.log(a.list),a.getServerData()}))},getServerData:function(){this.nub=0,this.chartData={series:[{data:[{name:"上级指派",value:0},{name:"自主任务",value:0},{name:"申领任务",value:0}]}]};for(var t=0;t<this.list.length;t++)for(var e=0;e<this.chartData.series[0].data.length;e++)this.chartData.series[0].data[e].name==this.list[t].creationType&&(this.chartData.series[0].data[e].value+=1,this.nub=this.nub+1,this.opts.subtitle.name=JSON.stringify(this.nub));this.identity=1},dateYear:function(t){console.log(t),this.dates.year=t.detail.value,this.getOrganizations()},dateMonth:function(t){t>this.month||(this.dates.month=t,this.getOrganizations())},start:function(e){console.log(e),t.navigateTo({url:"/pages/task/details?id="+e.company.id+"&uid="+e.id})}}};e.default=a}).call(this,a("543d")["default"])},a34c:function(t,e,a){"use strict";a.r(e);var n=a("2b06"),i=a("8d2b");for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);a("1ffc");var r,o=a("f0c5"),u=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=u.exports}},[["51e6","common/runtime","common/vendor"]]]);

4
unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.json vendored

@ -3,5 +3,7 @@
"navigationBarBackgroundColor": "#57B5FF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {}
"usingComponents": {
"qiun-data-charts": "/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts"
}
}

2
unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.wxml vendored

@ -1 +1 @@
<view class="_div"></view>
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name+"任务总数"}}</text><text>{{nub}}</text></view></view><view class="right"><block wx:if="{{nub}}"><view style="margin-right:10rpx;">完成</view></block><view><block wx:if="{{nub}}"><text>{{item.tasknub+'/'+nub+"件"}}</text></block><block wx:else><text>暂无任务</text></block></view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'d52b0b18-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view></view>

2
unpackage/dist/build/mp-weixin/pages/demo/demo.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demo/demo"],{"1ed8":function(e,t,n){"use strict";var o=n("a941"),a=n.n(o);a.a},"211d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{api:this.$config.api+"/api/Objects/integration/",isAuth:!1,imgShow:"",age:{imgShow:"",text:""},fi:"",imageStyles:{width:64,height:64,border:{radius:"50%"}},listStyles:{border:!0,dividline:!0,borderStyle:{width:1,color:"blue",style:"dashed",radius:2}},fileLists:[{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"uniapp-logo.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"}]}},onLoad:function(){console.log(this.api),e.getStorageSync("aabb")&&(this.age=e.getStorageSync("aabb"),console.log(this.age))},methods:{chooseImage:function(){var t=this;e.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){t.age.imgShow=e.tempFilePaths[0]}})},aaa:function(){e.setStorageSync("aabb",this.age)},bbb:function(){var e=this;this.$request.uploadFile(this.age.imgShow,(function(t,n){console.log(t,n),e.fi=n.objectName}))},select:function(e){console.log("选择文件:",e)},progress:function(e){console.log("上传进度:",e)},success:function(e){console.log("上传成功")},fail:function(e){console.log("上传失败:",e)}}};t.default=n}).call(this,n("543d")["default"])},"4e6a":function(e,t,n){"use strict";n.r(t);var o=n("211d"),a=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=a.a},6897:function(e,t,n){"use strict";n.r(t);var o=n("7dba"),a=n("4e6a");for(var c in a)"default"!==c&&function(e){n.d(t,e,(function(){return a[e]}))}(c);n("1ed8");var i,u=n("f0c5"),s=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);t["default"]=s.exports},"6fd3":function(e,t,n){"use strict";(function(e){n("899b");o(n("66fd"));var t=o(n("6897"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"7dba":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var a=function(){var e=this,t=e.$createElement;e._self._c},c=[]},a941:function(e,t,n){}},[["6fd3","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demo/demo"],{"1ed8":function(e,t,n){"use strict";var o=n("a941"),a=n.n(o);a.a},"211d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{api:this.$config.api+"/api/Objects/integration/",isAuth:!1,imgShow:"",age:{imgShow:"",text:""},fi:"",imageStyles:{width:64,height:64,border:{radius:"50%"}},listStyles:{border:!0,dividline:!0,borderStyle:{width:1,color:"blue",style:"dashed",radius:2}},fileLists:[{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"uniapp-logo.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"}]}},onLoad:function(){console.log(this.api),e.getStorageSync("aabb")&&(this.age=e.getStorageSync("aabb"),console.log(this.age))},methods:{chooseImage:function(){var t=this;e.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){t.age.imgShow=e.tempFilePaths[0]}})},aaa:function(){e.navigateBack(1)},bbb:function(){var e=this;this.$request.uploadFile(this.age.imgShow,(function(t,n){console.log(t,n),e.fi=n.objectName}))},select:function(e){console.log("选择文件:",e)},progress:function(e){console.log("上传进度:",e)},success:function(e){console.log("上传成功")},fail:function(e){console.log("上传失败:",e)}}};t.default=n}).call(this,n("543d")["default"])},"4e6a":function(e,t,n){"use strict";n.r(t);var o=n("211d"),a=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=a.a},6897:function(e,t,n){"use strict";n.r(t);var o=n("f793"),a=n("4e6a");for(var c in a)"default"!==c&&function(e){n.d(t,e,(function(){return a[e]}))}(c);n("1ed8");var i,u=n("f0c5"),s=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);t["default"]=s.exports},"6fd3":function(e,t,n){"use strict";(function(e){n("899b");o(n("66fd"));var t=o(n("6897"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},a941:function(e,t,n){},f793:function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var a=function(){var e=this,t=e.$createElement;e._self._c},c=[]}},[["6fd3","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/index/index.js vendored

File diff suppressed because one or more lines are too long

3
unpackage/dist/build/mp-weixin/pages/index/index.json vendored

@ -4,6 +4,7 @@
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {
"qiun-data-charts": "/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts"
"dindex": "/components/index/dadui",
"jindex": "/components/index/jiuyuanzhan"
}
}

2
unpackage/dist/build/mp-weixin/pages/index/index.wxml vendored

@ -1 +1 @@
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name+"任务总数"}}</text><text>{{nub}}</text></view></view><view class="right"><block wx:if="{{nub}}"><view style="margin-right:10rpx;">完成</view></block><view><block wx:if="{{nub}}"><text>{{item.tasknub+'/'+nub+"件"}}</text></block><block wx:else><text>暂无任务</text></block></view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'8dd740cc-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:12rpx;height:34rpx;margin-top:6rpx;background-color:#9D80FF;color:#9D80FF;">1</view><view class="type">{{''+item.$orig.taskType+''}}</view></view><view class="namebox"><view class="name">{{''+item.$orig.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.$orig.company.useNature=='重点单位'}}"><view class="tag">{{''+item.$orig.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.$orig.company.useNature+''}}</view></block></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>主负责人:</view><view class="zhu">{{item.$orig.organization.name}}</view></view><view class="jiancha">待检查</view></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>协助人员:</view><block wx:for="{{item.l0}}" wx:for-item="i" wx:for-index="k" wx:key="k"><view style="display:flex;justify-content:center;align-items:center;"><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='主查人员'}}"><image src="{{i.m3}}" alt class="_img"></image></block><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='协查人员'}}"><image src="{{i.m4}}" alt class="_img"></image></block>{{''+i.$orig.name+''}}</view></block></view></view><view class="staffbox"><view class="staff"><view>检查时间:</view><view>{{item.$orig.checkTime}}</view></view></view></view><view class="implement"><block wx:if="{{false}}"><view class="button"><button data-event-opts="{{[['tap',[['start',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">执行</button></view></block><image src="{{$root.m5}}" alt class="_img"></image></view></view></view></block></view></view>
<block wx:if="{{shenfen=='battalion'&&!isSupervisor}}"><dindex vue-id="8dd740cc-1" bind:__l="__l"></dindex></block><block wx:else><jindex vue-id="8dd740cc-2" bind:__l="__l"></jindex></block>

2
unpackage/dist/build/mp-weixin/pages/login/login.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"087f":function(t,e,n){"use strict";n.r(e);var o=n("76ad"),r=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},5968:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,o=(t._self._c,n("1238")),r=n("cb9a");t.$mp.data=Object.assign({},{$root:{m0:o,m1:r}})},a=[]},"5ad7":function(t,e,n){"use strict";(function(t){n("899b");o(n("66fd"));var e=o(n("9bad"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"76ad":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("6c87"));function r(t){return t&&t.__esModule?t:{default:t}}var a={data:function(){return{title:"Hello",form:{name:"",password:"",auto:!1}}},onLoad:function(){o.default.state.token&&(console.log(o.default.state.token),t.reLaunch({url:"/pages/index/index",success:function(t){},fail:function(){},complete:function(){}}))},methods:{getUserInfo:function(){var e=this;if(!this.form.name)return this.$alert.showError("请输入用户账号");if(!this.form.password)return this.$alert.showError("请输入密码");t.showLoading({title:"登录中"});var n=this;this.$request.post("/api/Accounts/SignIn",{username:this.form.name,password:this.form.password},(function(r,a){if(t.hideLoading(),500==a.status)return e.$alert.showError("用户名或密码错误");t.setStorageSync("token",a),e.$store.commit("saveToken",a),console.log(o.default.state.token),n.$request.get("/api/Accounts/Profile",{},(function(e,n){console.log(n),t.setStorageSync("user",n),t.reLaunch({url:"/pages/index/index"})}))}))},getToken:function(){var t=o.default.state.token;this.$request.post("/api/Accounts/RefreshToken",{token:t.token,refreshToken:t.refreshToken},(function(t,e){console.log(e)}))}}};e.default=a}).call(this,n("543d")["default"])},"84c6":function(t,e,n){"use strict";var o=n("f553"),r=n.n(o);r.a},"9bad":function(t,e,n){"use strict";n.r(e);var o=n("5968"),r=n("087f");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("84c6");var u,s=n("f0c5"),i=Object(s["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);e["default"]=i.exports},f553:function(t,e,n){}},[["5ad7","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"087f":function(t,n,e){"use strict";e.r(n);var a=e("76ad"),o=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=o.a},"5ad7":function(t,n,e){"use strict";(function(t){e("899b");a(e("66fd"));var n=a(e("9bad"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},"76ad":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("6c87"));function o(t){return t&&t.__esModule?t:{default:t}}var u={data:function(){return{title:"Hello",form:{name:"",password:"",auto:!1}}},onLoad:function(){a.default.state.token&&(console.log(a.default.state.token),t.reLaunch({url:"/pages/index/index",success:function(t){},fail:function(){},complete:function(){}}))},methods:{getUserInfo:function(){return this.form.name?this.form.password?void this.$auth.login(this.form):this.$alert.showError("请输入密码"):this.$alert.showError("请输入用户账号")}}};n.default=u}).call(this,e("543d")["default"])},"84c6":function(t,n,e){"use strict";var a=e("f553"),o=e.n(a);o.a},"9bad":function(t,n,e){"use strict";e.r(n);var a=e("ca56"),o=e("087f");for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("84c6");var r,c=e("f0c5"),i=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);n["default"]=i.exports},ca56:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var o=function(){var t=this,n=t.$createElement,a=(t._self._c,e("1238")),o=e("cb9a");t.$mp.data=Object.assign({},{$root:{m0:a,m1:o}})},u=[]},f553:function(t,n,e){}},[["5ad7","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/task/details.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/task/details"],{"14ca":function(t,e,a){"use strict";(function(t){a("899b");n(a("66fd"));var e=n(a("4a35"));function n(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=a,t(e.default)}).call(this,a("543d")["createPage"])},"252d":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{id:"",list:{},danwei:["一般单位","重点单位"],datas:{basicInfo:{name:"",addr:"",phone:"",total:"",height:"",layer:"",structure:"",coveredArea:"",builtUpArea:"",nature:"",east:"",south:"",west:"",north:"",routeAndTime:"",positionCoordinates:{x:0,y:0}},facilities:{controlPosition:"",poolNumbe:"",poolPosition:"",poolCapacity:"",supplyMode:"",waterSources:"",waterSourcesPosition:"",system:{alarm:!1,spray:!1,broadcast:!1,smoke:!1},hydrantsNumber:"",hydrantsPosition:"",pumpNumber:"",pumpRange:"",pumpFlow:"",pumpAdapter:"",SprayPumpNumber:"",SprayPumpRange:"",SprayPumpFlow:"",SprayPumpAdapter:"",elevator:"",stairs:"",Export:"",indoorHydrant:"",standardIndoorHydrant:"",fireFightingFacilities:""},KeyParts:[{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""},{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""}],datasIndex:0,tips:""}}},onLoad:function(t){this.id=t.id,this.getCompanies()},onReady:function(){},methods:{getCompanies:function(){var t=this;this.$request.get("/api/Companies/"+this.id,{},(function(e,a){console.log(a),t.list=a,t.list.data&&(t.datas=JSON.parse(t.list.data),"重点单位"==t.datas.basicInfo.nature&&(t.datasIndex=1))}))},danweif:function(t){console.log(t),this.datas.basicInfo.nature=this.danwei[t.detail.value]}}};e.default=n},"4a35":function(t,e,a){"use strict";a.r(e);var n=a("7cf7"),r=a("be10");for(var i in r)"default"!==i&&function(t){a.d(e,t,(function(){return r[t]}))}(i);a("7dcf");var o,s=a("f0c5"),u=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],o);e["default"]=u.exports},"7cf7":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var r=function(){var t=this,e=t.$createElement;t._self._c},i=[]},"7dcf":function(t,e,a){"use strict";var n=a("d4be"),r=a.n(n);r.a},be10:function(t,e,a){"use strict";a.r(e);var n=a("252d"),r=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},d4be:function(t,e,a){}},[["14ca","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/task/details"],{"14ca":function(t,a,e){"use strict";(function(t){e("899b");n(e("66fd"));var a=n(e("4a35"));function n(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(a.default)}).call(this,e("543d")["createPage"])},2161:function(t,a,e){"use strict";var n;e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return n}));var i=function(){var t=this,a=t.$createElement;t._self._c},o=[]},"252d":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{id:"",list:{},danwei:["一般单位","重点单位"],datas:{basicInfo:{name:"",addr:"",phone:"",total:"",height:"",layer:"",structure:"",coveredArea:"",builtUpArea:"",nature:"",east:"",south:"",west:"",north:"",routeAndTime:"",positionCoordinates:{x:0,y:0}},facilities:{controlPosition:"",poolNumbe:"",poolPosition:"",poolCapacity:"",supplyMode:"",waterSources:"",waterSourcesPosition:"",system:{alarm:!1,spray:!1,broadcast:!1,smoke:!1},hydrantsNumber:"",hydrantsPosition:"",pumpNumber:"",pumpRange:"",pumpFlow:"",pumpAdapter:"",SprayPumpNumber:"",SprayPumpRange:"",SprayPumpFlow:"",SprayPumpAdapter:"",elevator:"",stairs:"",Export:"",indoorHydrant:"",standardIndoorHydrant:"",fireFightingFacilities:""},KeyParts:[{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""},{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""}],datasIndex:0,tips:"",uid:""}}},onLoad:function(t){console.log(t),this.id=t.id,this.uid=t.uid,this.getCompanies()},onReady:function(){},methods:{getCompanies:function(){var t=this;this.$request.get("/api/Companies/"+this.id,{},(function(a,e){console.log(e),t.list=e,t.list.data&&(t.datas=JSON.parse(t.list.data),"重点单位"==t.datas.basicInfo.nature&&(t.datasIndex=1))}))},bbb:function(){var t={approvalStatus:"已检查",inspectionResult:"未发现违法违规情况"};this.$request.patch("/api/PlanTasks/"+this.uid,t,(function(t,a){console.log(a)}))},danweif:function(t){console.log(t),this.datas.basicInfo.nature=this.danwei[t.detail.value]}}};a.default=n},"4a35":function(t,a,e){"use strict";e.r(a);var n=e("2161"),i=e("be10");for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);e("7dcf");var r,s=e("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);a["default"]=u.exports},"7dcf":function(t,a,e){"use strict";var n=e("d4be"),i=e.n(n);i.a},be10:function(t,a,e){"use strict";e.r(a);var n=e("252d"),i=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=i.a},d4be:function(t,a,e){}},[["14ca","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/task/details.wxml vendored

@ -1 +1 @@
<view class="page"><view class="form"><view class="itembox"><view class="item"><view class="left">单位名称</view><view class="right">{{''+(list.companyName||"")+''}}</view></view><view class="item"><view class="left">单位管理人</view><view class="right">{{''+(list.directorName||"")+''}}</view></view><view class="item"><view class="left">联系方式</view><view class="right">{{''+(list.directorPhone||"")+''}}</view></view><view class="item"><view class="left">单位地址</view><view class="right">{{''+(list.address||"")+''}}</view></view><view class="item"><view class="left">建筑结构</view><view class="right">{{''+datas.basicInfo.structure+''}}</view></view><view class="item"><view class="left">建筑高度</view><view class="right">{{''+datas.basicInfo.height+''}}</view></view><view class="item"><view class="left">建筑层数</view><view class="right">{{''+datas.basicInfo.layer+''}}</view></view></view><view class="itembox"><view class="item"><view class="left">控制室位置</view><view class="right_inp"><input type="text" placeholder="输入多个请用“,”隔开" data-event-opts="{{[['input',[['__set_model',['$0','controlPosition','$event',[]],['datas.facilities']]]]]}}" value="{{datas.facilities.controlPosition}}" bindinput="__e"/></view></view><view class="item"><view class="left">安全重点部位</view><view class="right_inp"><input type="text" placeholder="输入安全重点部位" data-event-opts="{{[['input',[['__set_model',['$0','useNature','$event',[]],['datas.KeyParts.__$n0']]]]]}}" value="{{datas.KeyParts[0].useNature}}" bindinput="__e"/></view></view><view class="item"><view class="left">单位性质</view><view class="right_inp"><picker range="{{danwei}}" data-event-opts="{{[['change',[['danweif',['$event']]]]]}}" bindchange="__e"><view>{{datas.basicInfo.nature||"请选择"}}</view></picker></view></view><view class="item"><view class="left">消防设施及器材</view><view class="right_inp"><input type="text" placeholder="(个)" data-event-opts="{{[['input',[['__set_model',['$0','fireFightingFacilities','$event',[]],['datas.facilities']]]]]}}" value="{{datas.facilities.fireFightingFacilities}}" bindinput="__e"/></view></view></view></view><view class="button"><button>确定</button></view></view>
<view class="page"><view class="form"><view class="itembox"><view class="item"><view class="left">单位名称</view><view class="right">{{''+(list.companyName||"")+''}}</view></view><view class="item"><view class="left">单位管理人</view><view class="right">{{''+(list.directorName||"")+''}}</view></view><view class="item"><view class="left">联系方式</view><view class="right">{{''+(list.directorPhone||"")+''}}</view></view><view class="item"><view class="left">单位地址</view><view class="right">{{''+(list.address||"")+''}}</view></view><view class="item"><view class="left">建筑结构</view><view class="right">{{''+datas.basicInfo.structure+''}}</view></view><view class="item"><view class="left">建筑高度</view><view class="right">{{''+datas.basicInfo.height+''}}</view></view><view class="item"><view class="left">建筑层数</view><view class="right">{{''+datas.basicInfo.layer+''}}</view></view></view><view class="itembox"><view class="item"><view class="left">控制室位置</view><view class="right_inp"><input type="text" placeholder="输入多个请用“,”隔开" data-event-opts="{{[['input',[['__set_model',['$0','controlPosition','$event',[]],['datas.facilities']]]]]}}" value="{{datas.facilities.controlPosition}}" bindinput="__e"/></view></view><view class="item"><view class="left">安全重点部位</view><view class="right_inp"><input type="text" placeholder="输入安全重点部位" data-event-opts="{{[['input',[['__set_model',['$0','useNature','$event',[]],['datas.KeyParts.__$n0']]]]]}}" value="{{datas.KeyParts[0].useNature}}" bindinput="__e"/></view></view><view class="item"><view class="left">单位性质</view><view class="right_inp"><picker range="{{danwei}}" data-event-opts="{{[['change',[['danweif',['$event']]]]]}}" bindchange="__e"><view>{{datas.basicInfo.nature||"请选择"}}</view></picker></view></view><view class="item"><view class="left">消防设施及器材</view><view class="right_inp"><input type="text" placeholder="(个)" data-event-opts="{{[['input',[['__set_model',['$0','fireFightingFacilities','$event',[]],['datas.facilities']]]]]}}" value="{{datas.facilities.fireFightingFacilities}}" bindinput="__e"/></view></view></view></view><view class="button"><button data-event-opts="{{[['tap',[['bbb']]]]}}" bindtap="__e">确定</button></view></view>

2
unpackage/dist/build/mp-weixin/pages/task/taskapply.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/task/taskapply.wxss vendored

@ -1 +1 @@
.top{position:relative;top:0;left:0}.taskadd{width:100vw;height:100vh;position:fixed;left:0;top:0;background:rgba(49,49,51,.2);z-index:10}.taskadd .itembox{position:absolute;bottom:0;left:0;width:100%;height:600rpx}.taskadd .itembox .item_top{height:60rpx;background:#f5f7fa;border-radius:40rpx 40rpx 0 0;padding:10rpx 40rpx 0 40rpx;display:flex}.taskadd .itembox .item_top view:nth-child(1){flex:1}.taskadd .itembox .item_content{background-color:#fff;height:100%}.taskadd .itembox2{position:absolute;bottom:0;left:0;width:100%;height:400rpx}.taskadd .itembox2 .item_top{height:60rpx;background:#f5f7fa;border-radius:40rpx 40rpx 0 0;padding:10rpx 40rpx 0 40rpx;display:flex}.taskadd .itembox2 .item_top view:nth-child(1){flex:1}.taskadd .itembox2 .item_content{background-color:#fff;height:100%}.pure_top{width:100%;height:220rpx;position:absolute;z-index:0;overflow:hidden}.pure_top::after{content:"";width:100%;height:220rpx;position:absolute;left:0;top:0;z-index:-1;border-radius:0 0 100% 100%;background:linear-gradient(180deg,#57b5ff,#616dfd)}.month_color{border-radius:48rpx;background-color:#317aff;color:#fff}.calendar{z-index:1;position:relative;left:74rpx;top:20rpx;width:80%;height:120rpx;border-radius:10rpx;box-shadow:0 0 20px 1px #c1d7ff;background:#fff}.calendar view{height:60rpx}.calendar .date_year{box-sizing:border-box;display:flex;background-color:#fff;padding:10rpx 0 0 10rpx}.calendar .monthbox{display:flex;justify-content:center;align-items:center;flex-direction:row}.calendar .monthbox .month_class{width:48rpx;height:48rpx;text-align:center}button{width:140rpx;height:70rpx;color:#fff;border-radius:34rpx;line-height:70rpx;font-size:30rpx;background-color:#327afe}.taskbox{width:90%;margin:40rpx auto;border-radius:20rpx;background-color:#fff;padding:20rpx;position:relative;left:0;z-index:10}.taskbox .itembox .top{margin-top:30rpx;height:60rpx;display:flex}.taskbox .itembox .top .left{display:flex;flex:1}.taskbox .itembox .top .left ._img{width:50rpx;height:50rpx}.taskbox .itembox .top .left text{margin-right:10rpx}.taskbox .itembox .top .right{color:#909090;display:flex}.taskbox .itembox .top .right .progress{margin-top:6rpx;margin-right:10rpx;height:34rpx;flex:1;background:#e4e7ec}.taskbox .itembox .top .right .progress .color{height:100%;background-color:#14b389}.charts-box{height:250rpx;position:relative;display:flex;justify-content:center;align-items:center}.charts-box ._img{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-1}.charts-box .tagbox{color:#fff;display:flex;justify-content:center;align-items:center;margin:10rpx 0;font-size:32rpx}.charts-box .tagbox .tag{width:20rpx;height:20rpx;border-radius:20rpx}.logo{height:200rpx;width:200rpx;margin-top:200rpx;margin-left:auto;margin-right:auto;margin-bottom:50rpx}.text-area{display:flex;justify-content:center}.title{font-size:36rpx;color:#8f8f94}.login-box{display:flex;background:#8f8f94;width:100%;height:120rpx;position:fixed;bottom:0;left:0}.login-box .login-text{color:#fff;width:60%;display:flex;font-size:36rpx;padding-left:40rpx;align-items:center}.login-box .login-button{flex:1;text-align:center;margin-top:20rpx}.listbox{width:94%;margin:-10rpx auto 0 auto}.listbox .item{background-color:#fff;margin:20rpx 0;padding:20rpx}.listbox .item .namebox{display:flex;margin-bottom:10rpx}.listbox .item .namebox .name{font-weight:600;font-size:36rpx;width:70%;height:60rpx;line-height:60rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listbox .item .namebox .tag{text-align:center;width:180rpx;height:60rpx;line-height:60rpx;color:#ff6f51;border:1px solid #ff6f51;background:rgba(255,111,81,.24);border-radius:40rpx 40rpx 40rpx 40rpx}.listbox .item .namebox .tag2{text-align:center;width:180rpx;height:60rpx;line-height:60rpx;color:#14b488;border:1px solid rgba(30,232,177,.8);background:rgba(30,232,177,.24);border-radius:40rpx 40rpx 40rpx 40rpx;font-size:18rpx}.typebox{display:flex;margin:14rpx 0}.typebox .type{width:50%;font-size:32rpx;font-weight:600;padding-left:10rpx}.typebox .result{width:50%;text-align:right;color:#ff6f51}.staffbox{display:flex;margin:6rpx 0;font-size:30rpx}.staffbox .staff{display:flex;color:rgba(16,15,25,.48)}.staffbox .staff .zhu{color:#100f19}.staffbox .staff view{margin-right:20rpx}.staffbox .staff ._img{width:40rpx;height:40rpx;min-width:40rpx;min-height:40rpx}.staffbox .jiancha{margin-right:10rpx}.staffbox .jiancha_color{color:#14b488}.implement{margin-bottom:10rpx}.implement .button{width:100%;height:100%;padding-top:20rpx}
.top{position:relative;top:0;left:0}.taskadd{width:100vw;height:100vh;position:fixed;left:0;top:0;background:rgba(49,49,51,.2);z-index:10}.taskadd .itembox{position:absolute;bottom:0;left:0;width:100%;height:800rpx}.taskadd .itembox .item_top{height:60rpx;background:#f5f7fa;border-radius:40rpx 40rpx 0 0;padding:10rpx 40rpx 0 40rpx;display:flex}.taskadd .itembox .item_top view:nth-child(1){flex:1}.taskadd .itembox .item_content{background-color:#fff;height:100%}.taskadd .itembox2{position:absolute;bottom:0;left:0;width:100%;height:400rpx}.taskadd .itembox2 .item_top{height:60rpx;background:#f5f7fa;border-radius:40rpx 40rpx 0 0;padding:10rpx 40rpx 0 40rpx;display:flex}.taskadd .itembox2 .item_top view:nth-child(1){flex:1}.taskadd .itembox2 .item_content{background-color:#fff;height:100%}.pure_top{width:100%;height:220rpx;position:absolute;z-index:0;overflow:hidden}.pure_top::after{content:"";width:100%;height:220rpx;position:absolute;left:0;top:0;z-index:-1;border-radius:0 0 100% 100%;background:linear-gradient(180deg,#57b5ff,#616dfd)}.month_color{border-radius:48rpx;background-color:#317aff;color:#fff}.calendar{z-index:1;position:relative;left:74rpx;top:20rpx;width:80%;height:120rpx;border-radius:10rpx;box-shadow:0 0 20px 1px #c1d7ff;background:#fff}.calendar view{height:60rpx}.calendar .date_year{box-sizing:border-box;display:flex;background-color:#fff;padding:10rpx 0 0 10rpx}.calendar .monthbox{display:flex;justify-content:center;align-items:center;flex-direction:row}.calendar .monthbox .month_class{width:48rpx;height:48rpx;text-align:center}button{width:140rpx;height:70rpx;color:#fff;border-radius:34rpx;line-height:70rpx;font-size:30rpx;background-color:#327afe}.taskbox{width:90%;margin:40rpx auto;border-radius:20rpx;background-color:#fff;padding:20rpx;position:relative;left:0;z-index:10}.taskbox .itembox .top{margin-top:30rpx;height:60rpx;display:flex}.taskbox .itembox .top .left{display:flex;flex:1}.taskbox .itembox .top .left ._img{width:50rpx;height:50rpx}.taskbox .itembox .top .left text{margin-right:10rpx}.taskbox .itembox .top .right{color:#909090;display:flex}.taskbox .itembox .top .right .progress{margin-top:6rpx;margin-right:10rpx;height:34rpx;flex:1;background:#e4e7ec}.taskbox .itembox .top .right .progress .color{height:100%;background-color:#14b389}.charts-box{height:250rpx;position:relative;display:flex;justify-content:center;align-items:center}.charts-box ._img{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-1}.charts-box .tagbox{color:#fff;display:flex;justify-content:center;align-items:center;margin:10rpx 0;font-size:32rpx}.charts-box .tagbox .tag{width:20rpx;height:20rpx;border-radius:20rpx}.logo{height:200rpx;width:200rpx;margin-top:200rpx;margin-left:auto;margin-right:auto;margin-bottom:50rpx}.text-area{display:flex;justify-content:center}.title{font-size:36rpx;color:#8f8f94}.login-box{display:flex;background:#8f8f94;width:100%;height:120rpx;position:fixed;bottom:0;left:0}.login-box .login-text{color:#fff;width:60%;display:flex;font-size:36rpx;padding-left:40rpx;align-items:center}.login-box .login-button{flex:1;text-align:center;margin-top:20rpx}.listbox{width:94%;margin:-10rpx auto 0 auto}.listbox .item{background-color:#fff;margin:20rpx 0;padding:20rpx}.listbox .item .namebox{display:flex;margin-bottom:10rpx}.listbox .item .namebox .name{font-weight:600;font-size:36rpx;width:70%;height:60rpx;line-height:60rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listbox .item .namebox .tag{text-align:center;width:180rpx;height:60rpx;line-height:60rpx;color:#ff6f51;border:1px solid #ff6f51;background:rgba(255,111,81,.24);border-radius:40rpx 40rpx 40rpx 40rpx}.listbox .item .namebox .tag2{text-align:center;width:180rpx;height:60rpx;line-height:60rpx;color:#14b488;border:1px solid rgba(30,232,177,.8);background:rgba(30,232,177,.24);border-radius:40rpx 40rpx 40rpx 40rpx;font-size:18rpx}.typebox{display:flex;margin:14rpx 0}.typebox .type{width:50%;font-size:32rpx;font-weight:600;padding-left:10rpx}.typebox .result{width:50%;text-align:right;color:#ff6f51}.staffbox{display:flex;margin:6rpx 0;font-size:30rpx}.staffbox .staff{display:flex;color:rgba(16,15,25,.48)}.staffbox .staff .zhu{color:#100f19}.staffbox .staff view{margin-right:20rpx}.staffbox .staff ._img{width:40rpx;height:40rpx;min-width:40rpx;min-height:40rpx}.staffbox .jiancha{margin-right:10rpx}.staffbox .jiancha_color{color:#14b488}.implement{margin-bottom:10rpx}.implement .button{width:100%;height:100%;padding-top:20rpx}

2
unpackage/dist/build/mp-weixin/pages/task/taskreceive.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxml vendored

@ -1 +1 @@
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'e720980e-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:80rpx;height:40rpx;line-height:40rpx;border-radius:4rpx;font-size:26rpx;text-align:center;margin-top:6rpx;background:#E63434;color:#fff;">派发</view><view class="type">{{''+item.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.company.useNature=='重点单位'}}"><view class="tag">{{''+item.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.company.useNature+''}}</view></block></view></view><view class="namebox"><view class="name"><view style="width:12rpx;height:34rpx;margin-top:14rpx;background-color:#9D80FF;color:#9D80FF;"></view><view class="type">{{''+item.taskType+''}}</view></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>申请人:</view><view class="zhu">{{item.organization.name}}</view></view><block wx:if="{{item.approvalStatus!='已检查'}}"><view class="jiancha" style="color:#FFBA19;display:flex;margin-top:-10rpx;"><button data-event-opts="{{[['tap',[['tongguo',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">同意</button><button type="default" data-event-opts="{{[['tap',[['bohui',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">驳回</button></view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>申请时间:</view><view>{{item.creationTime}}</view><view data-event-opts="{{[['tap',[['chakan',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">查看</view></view><block wx:if="{{item.approvalStatus=='通过'||item.approvalStatus=='驳回'}}"><view class="{{['jiancha',(item.approvalStatus=='通过')?'jiancha_color':'']}}">{{'已'+item.approvalStatus+''}}</view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view></view><view class="implement"></view></view></view></block></view><block wx:if="{{index}}"><view class="taskadd"><view class="itembox"><view class="item_top"><view>任务申领</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index}}"><view class="item_content"><task-add bind:apply="__e" vue-id="e720980e-2" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-add></view></block><block wx:if="{{index2}}"><view class="item_content"><task-det bind:apply="__e" vue-id="e720980e-3" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-det></view></block></view></view></block><block wx:if="{{index2}}"><view class="taskadd"><view class="itembox2"><view class="item_top"><view>详情</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index2}}"><view class="item_content"><task-det vue-id="e720980e-4" cid="{{Cid}}" bind:__l="__l"></task-det></view></block></view></view></block></view>
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'e720980e-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:80rpx;height:40rpx;line-height:40rpx;border-radius:4rpx;font-size:26rpx;text-align:center;margin-top:6rpx;background:#E63434;color:#fff;">派发</view><view class="type">{{''+item.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.company.useNature=='重点单位'}}"><view class="tag">{{''+item.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.company.useNature+''}}</view></block></view></view><view class="namebox"><view class="name"><view style="width:12rpx;height:34rpx;margin-top:14rpx;background-color:#9D80FF;color:#9D80FF;"></view><view class="type">{{''+item.taskType+''}}</view></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>申请人:</view><view class="zhu">{{item.organization.name}}</view></view><block wx:if="{{item.approvalStatus!='已检查'}}"><view class="jiancha" style="color:#FFBA19;display:flex;margin-top:-10rpx;"><button data-event-opts="{{[['tap',[['tongguo',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">同意</button><button type="default" data-event-opts="{{[['tap',[['bohui',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">驳回</button></view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>申请时间:</view><view>{{item.creationTime}}</view><view data-event-opts="{{[['tap',[['chakan',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">查看</view></view><block wx:if="{{item.approvalStatus=='通过'||item.approvalStatus=='驳回'}}"><view class="{{['jiancha',(item.approvalStatus=='通过')?'jiancha_color':'']}}">{{'已'+item.approvalStatus+''}}</view></block></view></view><view class="implement"></view></view></view></block></view><block wx:if="{{index}}"><view class="taskadd"><view class="itembox"><view class="item_top"><view>任务申领</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index}}"><view class="item_content"><task-add bind:apply="__e" vue-id="e720980e-2" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-add></view></block><block wx:if="{{index2}}"><view class="item_content"><task-det bind:apply="__e" vue-id="e720980e-3" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-det></view></block></view></view></block><block wx:if="{{index2}}"><view class="taskadd"><view class="itembox2"><view class="item_top"><view>详情</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index2}}"><view class="item_content"><task-det vue-id="e720980e-4" cid="{{Cid}}" bind:__l="__l"></task-det></view></block></view></view></block></view>

22
unpackage/dist/build/mp-weixin/project.config.json vendored

@ -1,13 +1,11 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"coverView": false,
"postcss": false,
"minified": false,
"enhance": false,
"showShadowRootInWxmlPanel": false,
"packNpmRelationList": [],
"ignoreUploadUnusedFiles": true,
"babelSetting": {
"ignore": [],
@ -16,16 +14,12 @@
}
},
"compileType": "miniprogram",
"libVersion": "2.25.4",
"appid": "wx762e3ccf09854482",
"projectname": "Jinan_app",
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "2.25.4",
"packOptions": {
"ignore": [],
"include": []
},
"appid": "wx762e3ccf09854482",
"projectname": "Jinan_app"
}
}

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/task/add.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/index/index.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/jiancha/jiancha.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/demo/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/task/taskapply.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/task/taskreceive.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/changePassword/changePassword.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/user.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-weixin/app.json vendored

@ -1,12 +1,12 @@
{
"pages": [
"pages/login/login",
"pages/task/implement",
"pages/user/changePassword/changePassword",
"pages/demo/demo",
"pages/task/details",
"pages/task/taskreceive",
"pages/index/index",
"pages/dadui/index/index",
"pages/user/user",
"pages/dadui/jiancha/jiancha",
"pages/dadui/jiuyuan/jiuyuan",

2
unpackage/dist/dev/mp-weixin/common/main.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],[function(t,e,n){"use strict";(function(t,e){n(5);var r=s(n(6)),o=s(n(12)),u=s(n(20)),a=s(n(15)),c=s(n(19)),f=s(n(13)),i=s(n(21)),l=n(26),p=s(n(4));function s(t){return t&&t.__esModule?t:{default:t}}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){v(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}wx.__webpack_require_UNI_MP_PLUGIN__=n,t.$http=l.$http,l.$http.baseUrl="https://121.36.37.70:8204",p.default.config.productionTip=!1,r.default.mpType="app",p.default.prototype.$auth=o.default,p.default.prototype.$alert=u.default,p.default.prototype.$request=a.default,p.default.prototype.$config=c.default;var y=new p.default(b(b({},r.default),{},{store:f.default}));t.addInterceptor("request",{invoke:function(t){var e=t.data,n=t.method;if("GET"===n){var r=i.default.stringify(e,{arrayFormat:"repeat"});console.log(r,7777),delete t.data,t.url="".concat(t.url,"?").concat(r)}},success:function(t){},fail:function(t){},complete:function(t){}}),e(y).$mount()}).call(this,n(1)["default"],n(1)["createApp"])},,,,,,function(t,e,n){"use strict";n.r(e);var r=n(7);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n(9);var u,a,c,f,i=n(11),l=Object(i["default"])(r["default"],u,a,!1,null,null,null,!1,c,f);l.options.__file="App.vue",e["default"]=l.exports},function(t,e,n){"use strict";n.r(e);var r=n(8),o=n.n(r);for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=o.a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={onLaunch:function(t){this.$auth.getLocalUserInfo(),this.$store.commit("savePath",t.path)},onShow:function(){console.log("-------------- 小程序显示 --------------")},onHide:function(){console.log("-------------- bye bye --------------")}};e.default=r},function(t,e,n){"use strict";n.r(e);var r=n(10),o=n.n(r);for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=o.a},function(t,e,n){}],[[0,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],[function(t,e,n){"use strict";(function(t,e){n(5);var o=d(n(6)),r=d(n(12)),u=d(n(20)),a=d(n(15)),c=d(n(19)),f=d(n(13)),i=d(n(21)),l=n(26),p=d(n(4));function d(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){v(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}wx.__webpack_require_UNI_MP_PLUGIN__=n,t.$http=l.$http,l.$http.baseUrl="https://121.36.37.70:8204",p.default.config.productionTip=!1,o.default.mpType="app",p.default.prototype.$auth=r.default,p.default.prototype.$alert=u.default,p.default.prototype.$request=a.default,p.default.prototype.$config=c.default;var y=new p.default(b(b({},o.default),{},{store:f.default}));t.addInterceptor("request",{invoke:function(e){var n=e.data,o=e.method;if("GET"===o){t.getStorageSync("token")&&a.default.getToken();var r=i.default.stringify(n,{arrayFormat:"repeat"});console.log(r,7777),delete e.data,e.url="".concat(e.url,"?").concat(r)}},success:function(t){},fail:function(t){},complete:function(t){}}),e(y).$mount()}).call(this,n(1)["default"],n(1)["createApp"])},,,,,,function(t,e,n){"use strict";n.r(e);var o=n(7);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n(9);var u,a,c,f,i=n(11),l=Object(i["default"])(o["default"],u,a,!1,null,null,null,!1,c,f);l.options.__file="App.vue",e["default"]=l.exports},function(t,e,n){"use strict";n.r(e);var o=n(8),r=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=r.a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={onLaunch:function(t){this.$auth.getLocalUserInfo(),this.$store.commit("savePath",t.path)},onShow:function(){console.log("-------------- 小程序显示 --------------")},onHide:function(){console.log("-------------- bye bye --------------")}};e.default=o},function(t,e,n){"use strict";n.r(e);var o=n(10),r=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=r.a},function(t,e,n){}],[[0,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/main.js.map

2
unpackage/dist/dev/mp-weixin/common/runtime.js vendored

File diff suppressed because one or more lines are too long

6
unpackage/dist/dev/mp-weixin/common/vendor.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/mp-weixin/components/task/add.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/task/add"],{137:function(e,t,n){"use strict";n.r(t);var s=n(138),r=n(140);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n(142);var i,a=n(11),u=Object(a["default"])(r["default"],s["render"],s["staticRenderFns"],!1,null,null,null,!1,s["components"],i);u.options.__file="components/task/add.vue",t["default"]=u.exports},138:function(e,t,n){"use strict";n.r(t);var s=n(139);n.d(t,"render",(function(){return s["render"]})),n.d(t,"staticRenderFns",(function(){return s["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return s["recyclableRender"]})),n.d(t,"components",(function(){return s["components"]}))},139:function(e,t,n){"use strict";var s;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return s}));try{s={superweiCombox:function(){return n.e("uni_modules/superwei-combox/components/superwei-combox/superwei-combox").then(n.bind(null,163))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,t=e.$createElement;e._self._c},o=!1,i=[];r._withStripped=!0},140:function(e,t,n){"use strict";n.r(t);var s=n(141),r=n.n(s);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o);t["default"]=r.a},141:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{rightAction:{type:Function,default:function(){return function(){}}}},data:function(){return{dataSource:[{label:"选项1",id:"1"},{label:"选项2",id:"2"}],data1:[{name:"熟悉演练",value:1}],data2:[{name:"双随机",value:1},{name:"联络指导",value:0}],users:[],supervisorList:[],og:[],companies:[],curry:0,prams:{task:"",company:"",supervisor:[]},companyName:"",selectedYear:2022,selectedMonth:0,OrganizationId:"",isSupervisor:!1}},created:function(){var t=e.getStorageSync("user").roles;console.log(e.getStorageSync("user"));var n=t.find((function(e){return-1!=e.name.indexOf("检查")}));this.isSupervisor=!!n,this.OrganizationId=e.getStorageSync("user").organizationId,this.getSupervisor(),this.getOg(),this.getUsers(),this.selectedMonth=(new Date).getMonth()+1,this.selectedYear=(new Date).getFullYear()},methods:{getSupervisor:function(){var e=this;this.$request.get("/api/Users/Inspectors",{},(function(t,n){e.supervisorList=n,console.log(e.supervisorList)}))},getOg:function(){var e=this,t={PageNumber:1,PageSize:9999};this.$request.get("/api/Organizations",t,(function(t,n){e.og=[];for(var s=0;s<n.items.length;s++)"squadron"==n.items[s].level&&e.og.push(n.items[s])}))},aaa:function(e){console.log(e),this.prams.supervisor=e.detail.value},task:function(e){console.log(e),this.prams.task=e.detail.value},getCompanies:function(e){var t=this,n={companyName:e,OrganizationId:this.OrganizationId,PageNumber:1,PageSize:50};this.$request.get("/api/Companies",n,(function(e,n){console.log(n),t.companies=n.items}))},getUsers:function(){var e=this,t={OrganizationId:this.OrganizationId,OrganizationLevel:"squadron",ContainsChildren:!0,PageNumber:1,PageSize:9999};this.$request.get("/api/Users",t,(function(t,n){console.log(n),e.users=n.items}))},companyname:function(e){console.log(e),this.companyName=this.companies[e.detail.value].companyName},bbb:function(e){console.log(e,7800),this.prams.company=e.id},apply:function(){var e=this;if(!this.prams.task||!this.prams.company||!this.prams.supervisor.length)return this.$alert.showError("请填写完整");var t=this.selectedMonth<10?"0"+this.selectedMonth:this.selectedMonth,n=this.selectedYear+"-"+t+"-01";console.log(this.prams,444);var s={month:n,taskName:this.prams.task,taskType:this.prams.task,companyId:this.prams.company,organizationId:this.OrganizationId,supervisorIds:this.isSupervisor?[]:this.prams.supervisor,assitantOrganizationIds:this.isSupervisor?this.prams.supervisor:[],creationType:"申领任务",approvalStatus:"待处理"};this.$request.post("/api/PlanTasks",s,(function(t,n){console.log(n),500==n.status?e.$alert.showError("该单位已创建任务"):e.$alert.showError("创建成功"),e.$parent.apply()}))}}};t.default=n}).call(this,n(1)["default"])},142:function(e,t,n){"use strict";n.r(t);var s=n(143),r=n.n(s);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o);t["default"]=r.a},143:function(e,t,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/task/add"],{139:function(e,t,n){"use strict";n.r(t);var s=n(140),r=n(142);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n(144);var i,a=n(11),u=Object(a["default"])(r["default"],s["render"],s["staticRenderFns"],!1,null,null,null,!1,s["components"],i);u.options.__file="components/task/add.vue",t["default"]=u.exports},140:function(e,t,n){"use strict";n.r(t);var s=n(141);n.d(t,"render",(function(){return s["render"]})),n.d(t,"staticRenderFns",(function(){return s["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return s["recyclableRender"]})),n.d(t,"components",(function(){return s["components"]}))},141:function(e,t,n){"use strict";var s;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return s}));try{s={superweiCombox:function(){return n.e("uni_modules/superwei-combox/components/superwei-combox/superwei-combox").then(n.bind(null,186))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,t=e.$createElement;e._self._c},o=!1,i=[];r._withStripped=!0},142:function(e,t,n){"use strict";n.r(t);var s=n(143),r=n.n(s);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o);t["default"]=r.a},143:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{rightAction:{type:Function,default:function(){return function(){}}}},data:function(){return{dataSource:[{label:"选项1",id:"1"},{label:"选项2",id:"2"}],data1:[{name:"熟悉演练",value:1}],data2:[{name:"双随机",value:1},{name:"联络指导",value:0}],users:[],supervisorList:[],og:[],companies:[],curry:0,prams:{task:"",company:"",supervisor:[]},companyName:"",selectedYear:2022,selectedMonth:0,OrganizationId:"",isSupervisor:!1}},created:function(){var t=e.getStorageSync("user").roles;console.log(e.getStorageSync("user"));var n=t.find((function(e){return-1!=e.name.indexOf("检查")}));this.isSupervisor=!!n,this.OrganizationId=e.getStorageSync("user").organizationId,this.getSupervisor(),this.getOg(),this.getUsers(),this.getCompanies(),this.selectedMonth=(new Date).getMonth()+1,this.selectedYear=(new Date).getFullYear()},methods:{getSupervisor:function(){var e=this;this.$request.get("/api/Users/Inspectors",{},(function(t,n){e.supervisorList=n,console.log(e.supervisorList)}))},getOg:function(){var e=this,t={PageNumber:1,PageSize:9999};this.$request.get("/api/Organizations",t,(function(t,n){e.og=[];for(var s=0;s<n.items.length;s++)"squadron"==n.items[s].level&&e.og.push(n.items[s])}))},aaa:function(e){console.log(e),this.prams.supervisor=e.detail.value},task:function(e){console.log(e),this.prams.task=e.detail.value},getCompanies:function(e){var t=this,n={companyName:e,OrganizationId:this.OrganizationId,PageNumber:1,PageSize:50};this.$request.get("/api/Companies",n,(function(e,n){console.log(n),t.companies=n.items}))},getUsers:function(){var e=this,t={OrganizationId:this.OrganizationId,OrganizationLevel:"squadron",ContainsChildren:!0,PageNumber:1,PageSize:9999};this.$request.get("/api/Users",t,(function(t,n){console.log(n),e.users=n.items}))},companyname:function(e){console.log(e),this.companyName=this.companies[e.detail.value].companyName},bbb:function(e){console.log(e,7800),this.prams.company=e.id},apply:function(){var e=this;if(!this.prams.task||!this.prams.company||!this.prams.supervisor.length)return this.$alert.showError("请填写完整");var t=this.selectedMonth<10?"0"+this.selectedMonth:this.selectedMonth,n=this.selectedYear+"-"+t+"-01";console.log(this.prams,444);var s={month:n,taskName:this.prams.task,taskType:this.prams.task,companyId:this.prams.company,organizationId:this.OrganizationId,supervisorIds:this.isSupervisor?[]:this.prams.supervisor,assitantOrganizationIds:this.isSupervisor?this.prams.supervisor:[],creationType:"申领任务",approvalStatus:"待处理"};this.$request.post("/api/PlanTasks",s,(function(t,n){console.log(n),500==n.status?e.$alert.showError("该单位已创建任务"):e.$alert.showError("创建成功"),e.$parent.apply()}))}}};t.default=n}).call(this,n(1)["default"])},144:function(e,t,n){"use strict";n.r(t);var s=n(145),r=n.n(s);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o);t["default"]=r.a},145:function(e,t,n){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/task/add.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/task/add-create-component',
{
'components/task/add-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(137))
__webpack_require__('1')['createComponent'](__webpack_require__(139))
})
},
[['components/task/add-create-component']]

4
unpackage/dist/dev/mp-weixin/components/task/details.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/task/details"],{144:function(n,t,e){"use strict";e.r(t);var r=e(145),u=e(147);for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e(149);var i,o=e(11),s=Object(o["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);s.options.__file="components/task/details.vue",t["default"]=s.exports},145:function(n,t,e){"use strict";e.r(t);var r=e(146);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},146:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return i})),e.d(t,"recyclableRender",(function(){return c})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement;n._self._c},c=!1,i=[];u._withStripped=!0},147:function(n,t,e){"use strict";e.r(t);var r=e(148),u=e.n(r);for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},148:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:["cid"],data:function(){return{list:{}}},created:function(){console.log(this.cid),this.list=this.cid},methods:{}};t.default=r},149:function(n,t,e){"use strict";e.r(t);var r=e(150),u=e.n(r);for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},150:function(n,t,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/task/details"],{146:function(n,t,e){"use strict";e.r(t);var r=e(147),u=e(149);for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e(151);var i,o=e(11),s=Object(o["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);s.options.__file="components/task/details.vue",t["default"]=s.exports},147:function(n,t,e){"use strict";e.r(t);var r=e(148);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},148:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return i})),e.d(t,"recyclableRender",(function(){return c})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement;n._self._c},c=!1,i=[];u._withStripped=!0},149:function(n,t,e){"use strict";e.r(t);var r=e(150),u=e.n(r);for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},150:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:["cid"],data:function(){return{list:{}}},created:function(){console.log(this.cid),this.list=this.cid},methods:{}};t.default=r},151:function(n,t,e){"use strict";e.r(t);var r=e(152),u=e.n(r);for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},152:function(n,t,e){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/task/details.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/task/details-create-component',
{
'components/task/details-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(144))
__webpack_require__('1')['createComponent'](__webpack_require__(146))
})
},
[['components/task/details-create-component']]

2
unpackage/dist/dev/mp-weixin/pages/dadui/index/index.js vendored

File diff suppressed because one or more lines are too long

9
unpackage/dist/dev/mp-weixin/pages/dadui/index/index.json vendored

@ -1,9 +0,0 @@
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {
"qiun-data-charts": "/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts"
}
}

1
unpackage/dist/dev/mp-weixin/pages/dadui/index/index.wxml vendored

@ -1 +0,0 @@
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name+"任务总数"}}</text><text>{{nub}}</text></view></view><view class="right"><block wx:if="{{nub}}"><view style="margin-right:10rpx;">完成</view></block><view><block wx:if="{{nub}}"><text>{{item.tasknub+'/'+nub+"件"}}</text></block><block wx:else><text>暂无任务</text></block></view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'12cd2a0e-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view></view>

297
unpackage/dist/dev/mp-weixin/pages/dadui/index/index.wxss vendored

@ -1,297 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: absolute;
z-index: 0;
overflow: hidden;
}
.pure_top::after {
content: "";
width: 100%;
height: 220rpx;
position: absolute;
left: 0;
top: 0;
z-index: -1;
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
height: 120rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
}
.calendar view {
height: 60rpx;
}
.calendar .date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.calendar .monthbox {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
}
.calendar .monthbox .month_class {
width: 48rpx;
height: 48rpx;
text-align: center;
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: relative;
left: 0;
z-index: 10;
}
.taskbox .itembox .top {
margin-top: 30rpx;
height: 60rpx;
display: flex;
}
.taskbox .itembox .top .left {
display: flex;
flex: 1;
}
.taskbox .itembox .top .left ._img {
width: 50rpx;
height: 50rpx;
}
.taskbox .itembox .top .left text {
margin-right: 10rpx;
}
.taskbox .itembox .top .right {
color: #909090;
display: flex;
}
.taskbox .itembox .top .right .progress {
margin-top: 6rpx;
margin-right: 10rpx;
height: 34rpx;
flex: 1;
background: #E4E7EC;
}
.taskbox .itembox .top .right .progress .color {
height: 100%;
background-color: #14B389;
}
.charts-box {
height: 250rpx;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.charts-box ._img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.charts-box .tagbox {
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
}
.charts-box .tagbox .tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
.login-box {
display: flex;
background: #8f8f94;
width: 100%;
height: 120rpx;
position: fixed;
bottom: 0;
left: 0;
}
.login-box .login-text {
color: #fff;
width: 60%;
display: flex;
font-size: 36rpx;
padding-left: 40rpx;
align-items: center;
}
.login-box .login-button {
flex: 1;
text-align: center;
margin-top: 20rpx;
}
.listbox {
width: 90%;
margin: -10rpx auto 0 auto;
}
.listbox .item {
background-color: #fff;
margin: 20rpx 0;
padding: 20rpx;
}
.listbox .item .namebox {
display: flex;
margin-bottom: 10rpx;
}
.listbox .item .namebox .name {
font-weight: 600;
font-size: 36rpx;
width: 70%;
height: 60rpx;
line-height: 60rpx;
}
.listbox .item .namebox .tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.listbox .item .namebox .tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.typebox {
display: flex;
margin: 14rpx 0;
}
.typebox .type {
width: 50%;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
.typebox .result {
width: 50%;
text-align: right;
color: #FF6F51;
}
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
}
.staffbox .staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
}
.staffbox .staff .zhu {
color: #100F19;
}
.staffbox .staff view {
margin-right: 20rpx;
}
.staffbox .staff ._img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
.staffbox .jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
.implement {
margin-bottom: 10rpx;
}
.implement .button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
.implement ._img {
width: 100rpx;
height: 100rpx;
}

2
unpackage/dist/dev/mp-weixin/pages/dadui/jiancha/jiancha.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiancha/jiancha"],{101:function(e,t,n){"use strict";(function(e){n(5);r(n(4));var t=r(n(102));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n(1)["createPage"])},102:function(e,t,n){"use strict";n.r(t);var r=n(103),a=n(107);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n(109);var i,c=n(11),u=Object(c["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);u.options.__file="pages/dadui/jiancha/jiancha.vue",t["default"]=u.exports},103:function(e,t,n){"use strict";n.r(t);var r=n(104);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},104:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return a})),n.d(t,"staticRenderFns",(function(){return i})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return r}));try{r={qiunDataCharts:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(n.bind(null,125))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var a=function(){var e=this,t=e.$createElement,r=(e._self._c,n(66)),a=n(67),o=n(66),i=n(105),c=n(66),u=n(106);e.$mp.data=Object.assign({},{$root:{m0:r,m1:a,m2:o,m3:i,m4:c,m5:u}})},o=!1,i=[];a._withStripped=!0},107:function(e,t,n){"use strict";n.r(t);var r=n(108),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},108:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{title:"Hello",identity:0,progressNub:60,chartData:{},year:2022,opts:{rotate:!1,rotateLock:!1,color:["#FACE15","#04F1C9","#3990F1"],padding:[5,5,5,5],dataLabel:!1,legend:{show:!1,fontColor:"#fff",position:"right",lineHeight:20},title:{name:"任务总数",fontSize:15,color:"#fff"},subtitle:{name:"20",fontSize:25,color:"#fff"},extra:{ring:{width:50,height:50,ringWidth:10,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,customRadius:60,borderWidth:3,borderColor:"#FFFFFF",centerColor:"#57B5FF",linearType:"none"}}},list:[{name:"上海雅特有限公司",tag:{class:"",text:"重点单位"},type:"双随机",result:"责令限期整改"}],month:[1,2,3,4,5,6,7,8,9,10,11,12]}},onLoad:function(){var t=e.getStorageSync("user");t&&(this.identity=1)},onReady:function(){this.getServerData()},methods:{getServerData:function(){var e=this;setTimeout((function(){var t={series:[{data:[{name:"一班",value:50},{name:"二班",value:30},{name:"三班",value:20}]}]};e.chartData=JSON.parse(JSON.stringify(t))}),500)},date:function(e){console.log(e)}}};t.default=n}).call(this,n(1)["default"])},109:function(e,t,n){"use strict";n.r(t);var r=n(110),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},110:function(e,t,n){}},[[101,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiancha/jiancha"],{100:function(t,e,n){"use strict";n.r(e);var o=n(101),r=n(107);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n(109);var i,s=n(11),u=Object(s["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);u.options.__file="pages/dadui/jiancha/jiancha.vue",e["default"]=u.exports},101:function(t,e,n){"use strict";n.r(e);var o=n(102);n.d(e,"render",(function(){return o["render"]})),n.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(e,"components",(function(){return o["components"]}))},102:function(t,e,n){"use strict";var o;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return i})),n.d(e,"recyclableRender",(function(){return a})),n.d(e,"components",(function(){return o}));try{o={qiunDataCharts:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(n.bind(null,127))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var t=this,e=t.$createElement,o=(t._self._c,n(75)),r=n(76),a=n(77),i=t.__map(t.list,(function(e,o){var r=t.__get_orig(e),a=t.__map(e.supervisors,(function(e,o){var r=t.__get_orig(e),a=e.posts&&"主查人员"==e.posts[0]?n(103):null,i=e.posts&&"协查人员"==e.posts[0]?n(104):null;return{$orig:r,m3:a,m4:i}})),i="待检查"!=e.approvalStatus&&"未发现违法违规情况"==e.inspectionResult?n(105):null,s="待检查"!=e.approvalStatus&&"未发现违法违规情况"!=e.inspectionResult&&"责令限期改正"==e.inspectionResult?n(106):null;return{$orig:r,l0:a,m5:i,m6:s}}));t.$mp.data=Object.assign({},{$root:{m0:o,m1:r,m2:a,l1:i}})},a=!1,i=[];r._withStripped=!0},107:function(t,e,n){"use strict";n.r(e);var o=n(108),r=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},108:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{title:"Hello",identity:0,progressNub:60,chartData:[],dates:{year:2022,month:8,day:0},today:{month:8},opts:[],user:[{tasknub:0}],isSupervisor:!1,list:[],month:0,nub:0,months:[1,2,3,4,5,6,7,8,9,10,11,12]}},onLoad:function(){t.getStorageSync("user");var e=new Date;this.dates.month=e.getMonth()+1,this.today.month=e.getMonth()+1,this.month=e.getMonth()+1,this.dates.year=e.getFullYear(),this.dates.day=e.getDate(),this.getSupervisorCount()},onReady:function(){this.identity=1},methods:{getSupervisorCount:function(){var e=this,n=this.dates.year+"-"+this.dates.month+"-01",o={month:n,organizationId:t.getStorageSync("user").organizationId};this.list=[],this.$request.get("/api/PlanTasks/GetSupervisorCount/",o,(function(t,n){console.log(n),e.user=n,e.chartData=[],e.opts=[];for(var o=0;o<e.user.length;o++)e.chartData.push({series:[{data:[{name:"自主任务",value:e.user[o]["自主任务"]},{name:"申领任务",value:e.user[o]["申领任务"]}]}]}),e.opts.push({rotate:!1,rotateLock:!1,color:["#FACE15","#04F1C9","#3990F1"],padding:[5,5,5,5],dataLabel:!1,legend:{show:!1,fontColor:"#fff",position:"right",lineHeight:20},title:{name:"任务总数",fontSize:15,color:"#fff"},subtitle:{name:JSON.stringify(e.user[o]["任务总数"]),fontSize:25,color:"#fff"},extra:{ring:{width:50,height:50,ringWidth:10,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,customRadius:60,borderWidth:3,borderColor:"#FFFFFF",centerColor:"#57B5FF",linearType:"none"}}}),console.log(e.opts)}))}}};e.default=n}).call(this,n(1)["default"])},109:function(t,e,n){"use strict";n.r(e);var o=n(110),r=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},110:function(t,e,n){},99:function(t,e,n){"use strict";(function(t){n(5);o(n(4));var e=o(n(100));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n(1)["createPage"])}},[[99,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/dadui/jiancha/jiancha.js.map

2
unpackage/dist/dev/mp-weixin/pages/dadui/jiancha/jiancha.wxml vendored

@ -1 +1 @@
<view class="page"><view><view class="pure_top"></view><view class="calendar"><view class="dates"><picker mode="date" fields="year" data-event-opts="{{[['change',[['date',['$event']]]]]}}" bindchange="__e"><view>{{year}}</view></picker><text>|</text><view>8.25</view></view><view class="monthbox"><block wx:for="{{month}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="month">{{''+item+''}}</view></block></view></view></view><view class="taskbox"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m0}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m1}}" alt class="_img"></image><view style="width:50%;"><qiun-data-charts vue-id="7ccd3292-1" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m2}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m3}}" alt class="_img"></image><view style="width:50%;"><qiun-data-charts vue-id="7ccd3292-2" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m4}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m5}}" alt class="_img"></image><view style="width:40%;"><qiun-data-charts vue-id="7ccd3292-3" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view></view></view>
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.user.name+"任务总数"}}</text><text>{{item['任务总数']}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'7ccd3292-1-'+key}}" type="ring" opts="{{opts[key]}}" chartData="{{chartData[key]}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData[key].series[0].data}}" wx:for-item="item" wx:for-index="k" wx:key="k"><view class="tagbox"><view class="tag" style="{{('background:'+opts[key].color[k]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:12rpx;height:34rpx;margin-top:6rpx;background-color:#9D80FF;color:#9D80FF;">1</view><view class="type">{{''+item.$orig.taskType+''}}</view></view><view class="namebox"><view class="name">{{''+item.$orig.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.$orig.company.useNature=='重点单位'}}"><view class="tag">{{''+item.$orig.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.$orig.company.useNature+''}}</view></block></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>主负责人:</view><view class="zhu">{{item.$orig.organization.name}}</view></view><view class="jiancha">{{''+item.$orig.approvalStatus+''}}</view></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>协助人员:</view><block wx:for="{{item.l0}}" wx:for-item="i" wx:for-index="k" wx:key="k"><view style="display:flex;justify-content:center;align-items:center;"><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='主查人员'}}"><image src="{{i.m3}}" alt class="_img"></image></block><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='协查人员'}}"><image src="{{i.m4}}" alt class="_img"></image></block>{{''+i.$orig.name+''}}</view></block></view></view><view class="staffbox"><view class="staff"><view>检查时间:</view><view>{{item.$orig.checkTime}}</view></view></view></view><view class="implement"><block wx:if="{{item.$orig.approvalStatus=='待检查'}}"><view class="button"><button data-event-opts="{{[['tap',[['start',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">执行</button></view></block><block wx:else><block wx:if="{{item.$orig.inspectionResult=='未发现违法违规情况'}}"><image src="{{item.m5}}" alt class="_img"></image></block><block wx:else><block wx:if="{{item.$orig.inspectionResult=='责令限期改正'}}"><image src="{{item.m6}}" alt class="_img"></image></block><block wx:else><view>{{''+item.$orig.inspectionResult+''}}</view></block></block></block></view></view></view></block></view></view>

104
unpackage/dist/dev/mp-weixin/pages/dadui/jiancha/jiancha.wxss vendored

@ -24,10 +24,15 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.top {
position: relative;
top: 0;
left: 0;
}
.pure_top {
width: 100%;
height: 220rpx;
position: relative;
position: absolute;
z-index: 0;
overflow: hidden;
}
@ -42,9 +47,17 @@
border-radius: 0 0 100% 100%;
background: linear-gradient(180deg, #57B5FF 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: absolute;
position: relative;
left: 74rpx;
top: 20rpx;
width: 80%;
@ -56,8 +69,11 @@
.calendar view {
height: 60rpx;
}
.calendar .dates {
display: flex;
.calendar .date_year {
box-sizing: border-box;
display: flex;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
}
.calendar .monthbox {
display: flex;
@ -65,33 +81,30 @@
align-items: center;
flex-direction: row;
}
.calendar .month {
.calendar .monthbox .month_class {
width: 48rpx;
height: 48rpx;
border-radius: 48rpx;
text-align: center;
}
button {
width: 200rpx;
height: 80rpx;
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 40rpx;
line-height: 80rpx;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
margin: -60rpx auto 0 auto;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
padding: 20rpx;
position: absolute;
left: 16rpx;
position: relative;
left: 0;
z-index: 10;
}
.taskbox .itembox {
margin-top: 30rpx;
}
.taskbox .itembox .top {
margin-top: 30rpx;
height: 60rpx;
@ -190,7 +203,8 @@ button {
margin-top: 20rpx;
}
.listbox {
width: 100%;
width: 90%;
margin: -10rpx auto 0 auto;
}
.listbox .item {
background-color: #fff;
@ -199,7 +213,7 @@ button {
}
.listbox .item .namebox {
display: flex;
margin-bottom: 30rpx;
margin-bottom: 10rpx;
}
.listbox .item .namebox .name {
font-weight: 600;
@ -210,7 +224,7 @@ button {
}
.listbox .item .namebox .tag {
text-align: center;
width: 200rpx;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #FF6F51;
@ -218,14 +232,23 @@ button {
background: rgba(255, 111, 81, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.listbox .item .namebox .tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.typebox {
display: flex;
margin: 30rpx 0;
margin: 14rpx 0;
}
.typebox .type {
width: 50%;
border-left: #327AFE 6rpx solid;
font-size: 30rpx;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
@ -235,23 +258,40 @@ button {
color: #FF6F51;
}
.staffbox {
display: flex;
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
}
.staffbox .staff {
display: flex;
display: flex;
color: rgba(16, 15, 25, 0.48);
}
.staffbox .staff .zhu {
color: #100F19;
}
.staffbox .staff view {
margin-right: 20rpx;
}
.staffbox .implement {
flex: 1;
.staffbox .staff ._img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
.staffbox .jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
.implement {
margin-bottom: 10rpx;
}
.staffbox .implement button {
float: right;
width: 120rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 32rpx;
.implement .button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
.implement ._img {
width: 100rpx;
height: 100rpx;
}

2
unpackage/dist/dev/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/mp-weixin/pages/dadui/jiuyuan/jiuyuan.json vendored

@ -3,5 +3,7 @@
"navigationBarBackgroundColor": "#57B5FF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {}
"usingComponents": {
"qiun-data-charts": "/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts"
}
}

2
unpackage/dist/dev/mp-weixin/pages/dadui/jiuyuan/jiuyuan.wxml vendored

@ -1 +1 @@
<view class="_div"></view>
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name+"任务总数"}}</text><text>{{nub}}</text></view></view><view class="right"><block wx:if="{{nub}}"><view style="margin-right:10rpx;">完成</view></block><view><block wx:if="{{nub}}"><text>{{item.tasknub+'/'+nub+"件"}}</text></block><block wx:else><text>暂无任务</text></block></view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'d52b0b18-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view></view>

2
unpackage/dist/dev/mp-weixin/pages/demo/demo.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demo/demo"],{45:function(e,n,t){"use strict";(function(e){t(5);o(t(4));var n=o(t(46));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},46:function(e,n,t){"use strict";t.r(n);var o=t(47),c=t(49);for(var i in c)"default"!==i&&function(e){t.d(n,e,(function(){return c[e]}))}(i);t(51);var r,u=t(11),a=Object(u["default"])(c["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);a.options.__file="pages/demo/demo.vue",n["default"]=a.exports},47:function(e,n,t){"use strict";t.r(n);var o=t(48);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},48:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return c})),t.d(n,"staticRenderFns",(function(){return r})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));var c=function(){var e=this,n=e.$createElement;e._self._c},i=!1,r=[];c._withStripped=!0},49:function(e,n,t){"use strict";t.r(n);var o=t(50),c=t.n(o);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=c.a},50:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{api:this.$config.api+"/api/Objects/integration/",isAuth:!1,imgShow:"",age:{imgShow:"",text:""},fi:"",imageStyles:{width:64,height:64,border:{radius:"50%"}},listStyles:{border:!0,dividline:!0,borderStyle:{width:1,color:"blue",style:"dashed",radius:2}},fileLists:[{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"uniapp-logo.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"}]}},onLoad:function(){console.log(this.api),e.getStorageSync("aabb")&&(this.age=e.getStorageSync("aabb"),console.log(this.age))},methods:{chooseImage:function(){var n=this;e.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){n.age.imgShow=e.tempFilePaths[0]}})},aaa:function(){e.setStorageSync("aabb",this.age)},bbb:function(){var e=this;this.$request.uploadFile(this.age.imgShow,(function(n,t){console.log(n,t),e.fi=t.objectName}))},select:function(e){console.log("选择文件:",e)},progress:function(e){console.log("上传进度:",e)},success:function(e){console.log("上传成功")},fail:function(e){console.log("上传失败:",e)}}};n.default=t}).call(this,t(1)["default"])},51:function(e,n,t){"use strict";t.r(n);var o=t(52),c=t.n(o);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=c.a},52:function(e,n,t){}},[[45,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demo/demo"],{55:function(e,n,t){"use strict";(function(e){t(5);o(t(4));var n=o(t(56));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},56:function(e,n,t){"use strict";t.r(n);var o=t(57),c=t(59);for(var i in c)"default"!==i&&function(e){t.d(n,e,(function(){return c[e]}))}(i);t(61);var r,u=t(11),a=Object(u["default"])(c["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);a.options.__file="pages/demo/demo.vue",n["default"]=a.exports},57:function(e,n,t){"use strict";t.r(n);var o=t(58);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},58:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return c})),t.d(n,"staticRenderFns",(function(){return r})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));var c=function(){var e=this,n=e.$createElement;e._self._c},i=!1,r=[];c._withStripped=!0},59:function(e,n,t){"use strict";t.r(n);var o=t(60),c=t.n(o);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=c.a},60:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{api:this.$config.api+"/api/Objects/integration/",isAuth:!1,imgShow:"",age:{imgShow:"",text:""},fi:"",imageStyles:{width:64,height:64,border:{radius:"50%"}},listStyles:{border:!0,dividline:!0,borderStyle:{width:1,color:"blue",style:"dashed",radius:2}},fileLists:[{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"uniapp-logo.png"},{url:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg",extname:"png",name:"shuijiao.png"}]}},onLoad:function(){console.log(this.api),e.getStorageSync("aabb")&&(this.age=e.getStorageSync("aabb"),console.log(this.age))},methods:{chooseImage:function(){var n=this;e.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){n.age.imgShow=e.tempFilePaths[0]}})},aaa:function(){e.navigateBack(1)},bbb:function(){var e=this;this.$request.uploadFile(this.age.imgShow,(function(n,t){console.log(n,t),e.fi=t.objectName}))},select:function(e){console.log("选择文件:",e)},progress:function(e){console.log("上传进度:",e)},success:function(e){console.log("上传成功")},fail:function(e){console.log("上传失败:",e)}}};n.default=t}).call(this,t(1)["default"])},61:function(e,n,t){"use strict";t.r(n);var o=t(62),c=t.n(o);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=c.a},62:function(e,n,t){}},[[55,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/demo/demo.js.map

2
unpackage/dist/dev/mp-weixin/pages/index/index.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/mp-weixin/pages/index/index.json vendored

@ -4,6 +4,8 @@
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {
"qiun-data-charts": "/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts"
"dindex": "/components/index/dadui",
"jindex": "/components/index/jiuyuanzhan",
"zindex": "/components/index/zhidui"
}
}

2
unpackage/dist/dev/mp-weixin/pages/index/index.wxml vendored

@ -1 +1 @@
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name+"任务总数"}}</text><text>{{nub}}</text></view></view><view class="right"><block wx:if="{{nub}}"><view style="margin-right:10rpx;">完成</view></block><view><block wx:if="{{nub}}"><text>{{item.tasknub+'/'+nub+"件"}}</text></block><block wx:else><text>暂无任务</text></block></view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'8dd740cc-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:12rpx;height:34rpx;margin-top:6rpx;background-color:#9D80FF;color:#9D80FF;">1</view><view class="type">{{''+item.$orig.taskType+''}}</view></view><view class="namebox"><view class="name">{{''+item.$orig.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.$orig.company.useNature=='重点单位'}}"><view class="tag">{{''+item.$orig.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.$orig.company.useNature+''}}</view></block></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>主负责人:</view><view class="zhu">{{item.$orig.organization.name}}</view></view><view class="jiancha">{{''+item.$orig.approvalStatus+''}}</view></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>协助人员:</view><block wx:for="{{item.l0}}" wx:for-item="i" wx:for-index="k" wx:key="k"><view style="display:flex;justify-content:center;align-items:center;"><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='主查人员'}}"><image src="{{i.m3}}" alt class="_img"></image></block><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='协查人员'}}"><image src="{{i.m4}}" alt class="_img"></image></block>{{''+i.$orig.name+''}}</view></block></view></view><view class="staffbox"><view class="staff"><view>检查时间:</view><view>{{item.$orig.checkTime}}</view></view></view></view><view class="implement"><block wx:if="{{item.$orig.approvalStatus=='待检查'}}"><view class="button"><button data-event-opts="{{[['tap',[['start',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">执行</button></view></block><block wx:else><block wx:if="{{item.$orig.inspectionResult=='未发现违法违规情况'}}"><image src="{{item.m5}}" alt class="_img"></image></block><block wx:else><block wx:if="{{item.$orig.inspectionResult=='责令限期改正'}}"><image src="{{item.m6}}" alt class="_img"></image></block><block wx:else><view>{{''+item.$orig.inspectionResult+''}}</view></block></block></block></view></view></view></block></view></view>
<block wx:if="{{shenfen=='battalion'&&!isSupervisor}}"><dindex vue-id="8dd740cc-1" bind:__l="__l"></dindex></block><block wx:else><block wx:if="{{shenfen=='brigade'}}"><zindex vue-id="8dd740cc-2" bind:__l="__l"></zindex></block><block wx:else><jindex vue-id="8dd740cc-3" bind:__l="__l"></jindex></block></block>

2
unpackage/dist/dev/mp-weixin/pages/login/login.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{27:function(e,n,t){"use strict";(function(e){t(5);r(t(4));var n=r(t(28));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},28:function(e,n,t){"use strict";t.r(n);var r=t(29),o=t(33);for(var u in o)"default"!==u&&function(e){t.d(n,e,(function(){return o[e]}))}(u);t(35);var s,i=t(11),a=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],s);a.options.__file="pages/login/login.vue",n["default"]=a.exports},29:function(e,n,t){"use strict";t.r(n);var r=t(30);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},30:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return s})),t.d(n,"recyclableRender",(function(){return u})),t.d(n,"components",(function(){return r}));var o=function(){var e=this,n=e.$createElement,r=(e._self._c,t(31)),o=t(32);e.$mp.data=Object.assign({},{$root:{m0:r,m1:o}})},u=!1,s=[];o._withStripped=!0},33:function(e,n,t){"use strict";t.r(n);var r=t(34),o=t.n(r);for(var u in r)"default"!==u&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},34:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(13));function o(e){return e&&e.__esModule?e:{default:e}}var u={data:function(){return{title:"Hello",form:{name:"",password:"",auto:!1}}},onLoad:function(){r.default.state.token&&(console.log(r.default.state.token),e.reLaunch({url:"/pages/index/index",success:function(e){},fail:function(){},complete:function(){}}))},methods:{getUserInfo:function(){var n=this;if(!this.form.name)return this.$alert.showError("请输入用户账号");if(!this.form.password)return this.$alert.showError("请输入密码");e.showLoading({title:"登录中"});var t=this;this.$request.post("/api/Accounts/SignIn",{username:this.form.name,password:this.form.password},(function(o,u){if(e.hideLoading(),500==u.status)return n.$alert.showError("用户名或密码错误");e.setStorageSync("token",u),n.$store.commit("saveToken",u),console.log(r.default.state.token),t.$request.get("/api/Accounts/Profile",{},(function(n,t){console.log(t),e.setStorageSync("user",t),e.reLaunch({url:"/pages/dadui/index/index"})}))}))},getToken:function(){var e=r.default.state.token;this.$request.post("/api/Accounts/RefreshToken",{token:e.token,refreshToken:e.refreshToken},(function(e,n){console.log(n)}))}}};n.default=u}).call(this,t(1)["default"])},35:function(e,n,t){"use strict";t.r(n);var r=t(36),o=t.n(r);for(var u in r)"default"!==u&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},36:function(e,n,t){}},[[27,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{27:function(n,t,e){"use strict";(function(n){e(5);r(e(4));var t=r(e(28));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e(1)["createPage"])},28:function(n,t,e){"use strict";e.r(t);var r=e(29),o=e(33);for(var u in o)"default"!==u&&function(n){e.d(t,n,(function(){return o[n]}))}(u);e(35);var i,c=e(11),a=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);a.options.__file="pages/login/login.vue",t["default"]=a.exports},29:function(n,t,e){"use strict";e.r(t);var r=e(30);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},30:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return o})),e.d(t,"staticRenderFns",(function(){return i})),e.d(t,"recyclableRender",(function(){return u})),e.d(t,"components",(function(){return r}));var o=function(){var n=this,t=n.$createElement,r=(n._self._c,e(31)),o=e(32);n.$mp.data=Object.assign({},{$root:{m0:r,m1:o}})},u=!1,i=[];o._withStripped=!0},33:function(n,t,e){"use strict";e.r(t);var r=e(34),o=e.n(r);for(var u in r)"default"!==u&&function(n){e.d(t,n,(function(){return r[n]}))}(u);t["default"]=o.a},34:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(e(13));function o(n){return n&&n.__esModule?n:{default:n}}var u={data:function(){return{title:"Hello",form:{name:"",password:"",auto:!1}}},onLoad:function(){r.default.state.token&&(console.log(r.default.state.token),n.reLaunch({url:"/pages/index/index",success:function(n){},fail:function(){},complete:function(){}}))},methods:{getUserInfo:function(){return this.form.name?this.form.password?void this.$auth.login(this.form):this.$alert.showError("请输入密码"):this.$alert.showError("请输入用户账号")}}};t.default=u}).call(this,e(1)["default"])},35:function(n,t,e){"use strict";e.r(t);var r=e(36),o=e.n(r);for(var u in r)"default"!==u&&function(n){e.d(t,n,(function(){return r[n]}))}(u);t["default"]=o.a},36:function(n,t,e){}},[[27,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/login.js.map

2
unpackage/dist/dev/mp-weixin/pages/task/details.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/task/details"],{53:function(t,e,n){"use strict";(function(t){n(5);r(n(4));var e=r(n(54));function r(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n(1)["createPage"])},54:function(t,e,n){"use strict";n.r(e);var r=n(55),a=n(57);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n(59);var o,s=n(11),u=Object(s["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);u.options.__file="pages/task/details.vue",e["default"]=u.exports},55:function(t,e,n){"use strict";n.r(e);var r=n(56);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},56:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return a})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return i})),n.d(e,"components",(function(){return r}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=!1,o=[];a._withStripped=!0},57:function(t,e,n){"use strict";n.r(e);var r=n(58),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},58:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{id:"",list:{},danwei:["一般单位","重点单位"],datas:{basicInfo:{name:"",addr:"",phone:"",total:"",height:"",layer:"",structure:"",coveredArea:"",builtUpArea:"",nature:"",east:"",south:"",west:"",north:"",routeAndTime:"",positionCoordinates:{x:0,y:0}},facilities:{controlPosition:"",poolNumbe:"",poolPosition:"",poolCapacity:"",supplyMode:"",waterSources:"",waterSourcesPosition:"",system:{alarm:!1,spray:!1,broadcast:!1,smoke:!1},hydrantsNumber:"",hydrantsPosition:"",pumpNumber:"",pumpRange:"",pumpFlow:"",pumpAdapter:"",SprayPumpNumber:"",SprayPumpRange:"",SprayPumpFlow:"",SprayPumpAdapter:"",elevator:"",stairs:"",Export:"",indoorHydrant:"",standardIndoorHydrant:"",fireFightingFacilities:""},KeyParts:[{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""},{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""}],datasIndex:0,tips:"",uid:""}}},onLoad:function(t){console.log(t),this.id=t.id,this.uid=t.uid,this.getCompanies()},onReady:function(){},methods:{getCompanies:function(){var t=this;this.$request.get("/api/Companies/"+this.id,{},(function(e,n){console.log(n),t.list=n,t.list.data&&(t.datas=JSON.parse(t.list.data),"重点单位"==t.datas.basicInfo.nature&&(t.datasIndex=1))}))},bbb:function(){var t={approvalStatus:"已检查",inspectionResult:"未发现违法违规情况"};this.$request.patch("/api/PlanTasks/"+this.uid,t,(function(t,e){console.log(e)}))},danweif:function(t){console.log(t),this.datas.basicInfo.nature=this.danwei[t.detail.value]}}};e.default=r},59:function(t,e,n){"use strict";n.r(e);var r=n(60),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},60:function(t,e,n){}},[[53,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/task/details"],{63:function(t,e,n){"use strict";(function(t){n(5);r(n(4));var e=r(n(64));function r(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n(1)["createPage"])},64:function(t,e,n){"use strict";n.r(e);var r=n(65),a=n(67);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n(69);var o,s=n(11),u=Object(s["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);u.options.__file="pages/task/details.vue",e["default"]=u.exports},65:function(t,e,n){"use strict";n.r(e);var r=n(66);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},66:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return a})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return i})),n.d(e,"components",(function(){return r}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=!1,o=[];a._withStripped=!0},67:function(t,e,n){"use strict";n.r(e);var r=n(68),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},68:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{id:"",list:{},danwei:["一般单位","重点单位"],datas:{basicInfo:{name:"",addr:"",phone:"",total:"",height:"",layer:"",structure:"",coveredArea:"",builtUpArea:"",nature:"",east:"",south:"",west:"",north:"",routeAndTime:"",positionCoordinates:{x:0,y:0}},facilities:{controlPosition:"",poolNumbe:"",poolPosition:"",poolCapacity:"",supplyMode:"",waterSources:"",waterSourcesPosition:"",system:{alarm:!1,spray:!1,broadcast:!1,smoke:!1},hydrantsNumber:"",hydrantsPosition:"",pumpNumber:"",pumpRange:"",pumpFlow:"",pumpAdapter:"",SprayPumpNumber:"",SprayPumpRange:"",SprayPumpFlow:"",SprayPumpAdapter:"",elevator:"",stairs:"",Export:"",indoorHydrant:"",standardIndoorHydrant:"",fireFightingFacilities:""},KeyParts:[{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""},{keyparts:"",keypartsposition:"",buildingstructure:"",useNature:"",danger:""}],datasIndex:0,tips:"",uid:""}}},onLoad:function(t){console.log(t),this.id=t.id,this.uid=t.uid,this.getCompanies()},onReady:function(){},methods:{getCompanies:function(){var t=this;this.$request.get("/api/Companies/"+this.id,{},(function(e,n){console.log(n),t.list=n,t.list.data&&(t.datas=JSON.parse(t.list.data),"重点单位"==t.datas.basicInfo.nature&&(t.datasIndex=1))}))},bbb:function(){var t={approvalStatus:"已检查",inspectionResult:"未发现违法违规情况"};this.$request.patch("/api/PlanTasks/"+this.uid,t,(function(t,e){console.log(e)}))},danweif:function(t){console.log(t),this.datas.basicInfo.nature=this.danwei[t.detail.value]}}};e.default=r},69:function(t,e,n){"use strict";n.r(e);var r=n(70),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},70:function(t,e,n){}},[[63,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/task/details.js.map

2
unpackage/dist/dev/mp-weixin/pages/task/taskapply.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-weixin/pages/task/taskapply.wxss vendored

@ -43,7 +43,7 @@
bottom: 0;
left: 0;
width: 100%;
height: 600rpx;
height: 800rpx;
}
.taskadd .itembox .item_top {
height: 60rpx;

2
unpackage/dist/dev/mp-weixin/pages/task/taskreceive.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-weixin/pages/task/taskreceive.wxml vendored

@ -1 +1 @@
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'e720980e-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:80rpx;height:40rpx;line-height:40rpx;border-radius:4rpx;font-size:26rpx;text-align:center;margin-top:6rpx;background:#E63434;color:#fff;">派发</view><view class="type">{{''+item.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.company.useNature=='重点单位'}}"><view class="tag">{{''+item.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.company.useNature+''}}</view></block></view></view><view class="namebox"><view class="name"><view style="width:12rpx;height:34rpx;margin-top:14rpx;background-color:#9D80FF;color:#9D80FF;"></view><view class="type">{{''+item.taskType+''}}</view></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>申请人:</view><view class="zhu">{{item.organization.name}}</view></view><block wx:if="{{item.approvalStatus!='已检查'}}"><view class="jiancha" style="color:#FFBA19;display:flex;margin-top:-10rpx;"><button data-event-opts="{{[['tap',[['tongguo',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">同意</button><button type="default" data-event-opts="{{[['tap',[['bohui',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">驳回</button></view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>申请时间:</view><view>{{item.creationTime}}</view><view data-event-opts="{{[['tap',[['chakan',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">查看</view></view><block wx:if="{{item.approvalStatus=='通过'||item.approvalStatus=='驳回'}}"><view class="{{['jiancha',(item.approvalStatus=='通过')?'jiancha_color':'']}}">{{'已'+item.approvalStatus+''}}</view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view></view><view class="implement"></view></view></view></block></view><block wx:if="{{index}}"><view class="taskadd"><view class="itembox"><view class="item_top"><view>任务申领</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index}}"><view class="item_content"><task-add bind:apply="__e" vue-id="e720980e-2" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-add></view></block><block wx:if="{{index2}}"><view class="item_content"><task-det bind:apply="__e" vue-id="e720980e-3" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-det></view></block></view></view></block><block wx:if="{{index2}}"><view class="taskadd"><view class="itembox2"><view class="item_top"><view>详情</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index2}}"><view class="item_content"><task-det vue-id="e720980e-4" cid="{{Cid}}" bind:__l="__l"></task-det></view></block></view></view></block></view>
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'e720980e-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:80rpx;height:40rpx;line-height:40rpx;border-radius:4rpx;font-size:26rpx;text-align:center;margin-top:6rpx;background:#E63434;color:#fff;">派发</view><view class="type">{{''+item.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.company.useNature=='重点单位'}}"><view class="tag">{{''+item.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.company.useNature+''}}</view></block></view></view><view class="namebox"><view class="name"><view style="width:12rpx;height:34rpx;margin-top:14rpx;background-color:#9D80FF;color:#9D80FF;"></view><view class="type">{{''+item.taskType+''}}</view></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>申请人:</view><view class="zhu">{{item.organization.name}}</view></view><block wx:if="{{item.approvalStatus!='已检查'}}"><view class="jiancha" style="color:#FFBA19;display:flex;margin-top:-10rpx;"><button data-event-opts="{{[['tap',[['tongguo',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">同意</button><button type="default" data-event-opts="{{[['tap',[['bohui',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">驳回</button></view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>申请时间:</view><view>{{item.creationTime}}</view><view data-event-opts="{{[['tap',[['chakan',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">查看</view></view><block wx:if="{{item.approvalStatus=='通过'||item.approvalStatus=='驳回'}}"><view class="{{['jiancha',(item.approvalStatus=='通过')?'jiancha_color':'']}}">{{'已'+item.approvalStatus+''}}</view></block></view></view><view class="implement"></view></view></view></block></view><block wx:if="{{index}}"><view class="taskadd"><view class="itembox"><view class="item_top"><view>任务申领</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index}}"><view class="item_content"><task-add bind:apply="__e" vue-id="e720980e-2" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-add></view></block><block wx:if="{{index2}}"><view class="item_content"><task-det bind:apply="__e" vue-id="e720980e-3" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-det></view></block></view></view></block><block wx:if="{{index2}}"><view class="taskadd"><view class="itembox2"><view class="item_top"><view>详情</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index2}}"><view class="item_content"><task-det vue-id="e720980e-4" cid="{{Cid}}" bind:__l="__l"></task-det></view></block></view></view></block></view>

2
unpackage/dist/dev/mp-weixin/pages/user/changePassword/changePassword.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/changePassword/changePassword"],{37:function(n,t,e){"use strict";(function(n){e(5);r(e(4));var t=r(e(38));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e(1)["createPage"])},38:function(n,t,e){"use strict";e.r(t);var r=e(39),s=e(41);for(var u in s)"default"!==u&&function(n){e.d(t,n,(function(){return s[n]}))}(u);e(43);var o,a=e(11),c=Object(a["default"])(s["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);c.options.__file="pages/user/changePassword/changePassword.vue",t["default"]=c.exports},39:function(n,t,e){"use strict";e.r(t);var r=e(40);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},40:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return s})),e.d(t,"staticRenderFns",(function(){return o})),e.d(t,"recyclableRender",(function(){return u})),e.d(t,"components",(function(){return r}));var s=function(){var n=this,t=n.$createElement;n._self._c},u=!1,o=[];s._withStripped=!0},41:function(n,t,e){"use strict";e.r(t);var r=e(42),s=e.n(r);for(var u in r)"default"!==u&&function(n){e.d(t,n,(function(){return r[n]}))}(u);t["default"]=s.a},42:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{list:{newpassword:"",oldpassword:"",truepassword:""}}},onLoad:function(){},methods:{tuichu:function(){if(this.list.truepassword!=this.list.newpassword)return this.$alert.showError("两次输入不一致");var n={oldPassword:this.list.oldpassword,newPassword:this.list.newpassword};this.$request.patch("/api/Accounts/ChangePassword",n,(function(n,t){}))}}};t.default=r},43:function(n,t,e){"use strict";e.r(t);var r=e(44),s=e.n(r);for(var u in r)"default"!==u&&function(n){e.d(t,n,(function(){return r[n]}))}(u);t["default"]=s.a},44:function(n,t,e){}},[[37,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/changePassword/changePassword"],{47:function(n,t,e){"use strict";(function(n){e(5);r(e(4));var t=r(e(48));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e(1)["createPage"])},48:function(n,t,e){"use strict";e.r(t);var r=e(49),o=e(51);for(var s in o)"default"!==s&&function(n){e.d(t,n,(function(){return o[n]}))}(s);e(53);var u,a=e(11),i=Object(a["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);i.options.__file="pages/user/changePassword/changePassword.vue",t["default"]=i.exports},49:function(n,t,e){"use strict";e.r(t);var r=e(50);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},50:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return o})),e.d(t,"staticRenderFns",(function(){return u})),e.d(t,"recyclableRender",(function(){return s})),e.d(t,"components",(function(){return r}));var o=function(){var n=this,t=n.$createElement;n._self._c},s=!1,u=[];o._withStripped=!0},51:function(n,t,e){"use strict";e.r(t);var r=e(52),o=e.n(r);for(var s in r)"default"!==s&&function(n){e.d(t,n,(function(){return r[n]}))}(s);t["default"]=o.a},52:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{list:{newpassword:"",oldpassword:"",truepassword:""}}},onLoad:function(){},methods:{xiugai:function(){var n=this;if(this.list.truepassword!=this.list.newpassword)return this.$alert.showError("两次输入不一致");var t={oldPassword:this.list.oldpassword,newPassword:this.list.newpassword};this.$request.patch("/api/Accounts/ChangePassword",t,(function(t,e){if(console.log(e),e)return n.$alert.showError(e);n.$auth.logout()}))}}};t.default=r},53:function(n,t,e){"use strict";e.r(t);var r=e(54),o=e.n(r);for(var s in r)"default"!==s&&function(n){e.d(t,n,(function(){return r[n]}))}(s);t["default"]=o.a},54:function(n,t,e){}},[[47,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/user/changePassword/changePassword.js.map

2
unpackage/dist/dev/mp-weixin/pages/user/changePassword/changePassword.wxml vendored

@ -1 +1 @@
<view class="page"><view class="items"><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" bindtap="__e">旧密码</view><view class="input"><input type="password" placeholder="请输入旧密码" data-event-opts="{{[['input',[['__set_model',['$0','oldpassword','$event',[]],['list']]]]]}}" value="{{list.oldpassword}}" bindinput="__e"/></view></view><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" bindtap="__e">新密码</view><view class="input"><input type="password" placeholder="请输入新密码" data-event-opts="{{[['input',[['__set_model',['$0','newpassword','$event',[]],['list']]]]]}}" value="{{list.newpassword}}" bindinput="__e"/></view></view><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" bindtap="__e">确认密码</view><view class="input"><input type="password" placeholder="请确认密码" data-event-opts="{{[['input',[['__set_model',['$0','truepassword','$event',[]],['list']]]]]}}" value="{{list.truepassword}}" bindinput="__e"/></view></view></view><view class="button"><button>确定</button></view></view>
<view class="page"><view class="items"><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" bindtap="__e">旧密码</view><view class="input"><input type="password" placeholder="请输入旧密码" data-event-opts="{{[['input',[['__set_model',['$0','oldpassword','$event',[]],['list']]]]]}}" value="{{list.oldpassword}}" bindinput="__e"/></view></view><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" bindtap="__e">新密码</view><view class="input"><input type="password" placeholder="请输入新密码" data-event-opts="{{[['input',[['__set_model',['$0','newpassword','$event',[]],['list']]]]]}}" value="{{list.newpassword}}" bindinput="__e"/></view></view><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" bindtap="__e">确认密码</view><view class="input"><input type="password" placeholder="请确认密码" data-event-opts="{{[['input',[['__set_model',['$0','truepassword','$event',[]],['list']]]]]}}" value="{{list.truepassword}}" bindinput="__e"/></view></view></view><view class="button"><button data-event-opts="{{[['tap',[['xiugai']]]]}}" bindtap="__e">确定</button></view></view>

2
unpackage/dist/dev/mp-weixin/pages/user/user.js vendored

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/user"],{100:function(n,t,e){},91:function(n,t,e){"use strict";(function(n){e(5);r(e(4));var t=r(e(92));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e(1)["createPage"])},92:function(n,t,e){"use strict";e.r(t);var r=e(93),u=e(97);for(var o in u)"default"!==o&&function(n){e.d(t,n,(function(){return u[n]}))}(o);e(99);var c,a=e(11),i=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);i.options.__file="pages/user/user.vue",t["default"]=i.exports},93:function(n,t,e){"use strict";e.r(t);var r=e(94);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},94:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return c})),e.d(t,"recyclableRender",(function(){return o})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement,r=(n._self._c,e(95)),u=e(96);n.$mp.data=Object.assign({},{$root:{m0:r,m1:u}})},o=!1,c=[];u._withStripped=!0},97:function(n,t,e){"use strict";e.r(t);var r=e(98),u=e.n(r);for(var o in r)"default"!==o&&function(n){e.d(t,n,(function(){return r[n]}))}(o);t["default"]=u.a},98:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{list:{}}},onLoad:function(){this.list=n.getStorageSync("user"),console.log(this.list)},methods:{changePassword:function(){n.navigateTo({url:"/pages/user/changePassword/changePassword"})},tuichu:function(){this.$auth.logout()}}};t.default=e}).call(this,e(1)["default"])},99:function(n,t,e){"use strict";e.r(t);var r=e(100),u=e.n(r);for(var o in r)"default"!==o&&function(n){e.d(t,n,(function(){return r[n]}))}(o);t["default"]=u.a}},[[91,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/user"],{90:function(n,t,e){"use strict";(function(n){e(5);r(e(4));var t=r(e(91));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=e,n(t.default)}).call(this,e(1)["createPage"])},91:function(n,t,e){"use strict";e.r(t);var r=e(92),u=e(95);for(var o in u)"default"!==o&&function(n){e.d(t,n,(function(){return u[n]}))}(o);e(97);var c,a=e(11),i=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);i.options.__file="pages/user/user.vue",t["default"]=i.exports},92:function(n,t,e){"use strict";e.r(t);var r=e(93);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},93:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return c})),e.d(t,"recyclableRender",(function(){return o})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement,r=(n._self._c,e(94)),u=e(42);n.$mp.data=Object.assign({},{$root:{m0:r,m1:u}})},o=!1,c=[];u._withStripped=!0},95:function(n,t,e){"use strict";e.r(t);var r=e(96),u=e.n(r);for(var o in r)"default"!==o&&function(n){e.d(t,n,(function(){return r[n]}))}(o);t["default"]=u.a},96:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{list:{}}},onLoad:function(){this.list=n.getStorageSync("user"),console.log(this.list)},methods:{changePassword:function(){n.navigateTo({url:"/pages/user/changePassword/changePassword"})},tuichu:function(){this.$auth.logout()}}};t.default=e}).call(this,e(1)["default"])},97:function(n,t,e){"use strict";e.r(t);var r=e(98),u=e.n(r);for(var o in r)"default"!==o&&function(n){e.d(t,n,(function(){return r[n]}))}(o);t["default"]=u.a},98:function(n,t,e){}},[[90,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/user/user.js.map

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-error/qiun-error"],{156:function(n,r,e){"use strict";e.r(r);var t=e(157),u=e(159);for(var o in u)"default"!==o&&function(n){e.d(r,n,(function(){return u[n]}))}(o);e(161);var c,i=e(11),a=Object(i["default"])(u["default"],t["render"],t["staticRenderFns"],!1,null,null,null,!1,t["components"],c);a.options.__file="uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue",r["default"]=a.exports},157:function(n,r,e){"use strict";e.r(r);var t=e(158);e.d(r,"render",(function(){return t["render"]})),e.d(r,"staticRenderFns",(function(){return t["staticRenderFns"]})),e.d(r,"recyclableRender",(function(){return t["recyclableRender"]})),e.d(r,"components",(function(){return t["components"]}))},158:function(n,r,e){"use strict";var t;e.r(r),e.d(r,"render",(function(){return u})),e.d(r,"staticRenderFns",(function(){return c})),e.d(r,"recyclableRender",(function(){return o})),e.d(r,"components",(function(){return t}));var u=function(){var n=this,r=n.$createElement;n._self._c},o=!1,c=[];u._withStripped=!0},159:function(n,r,e){"use strict";e.r(r);var t=e(160),u=e.n(t);for(var o in t)"default"!==o&&function(n){e.d(r,n,(function(){return t[n]}))}(o);r["default"]=u.a},160:function(n,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var t={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data:function(){return{}}};r.default=t},161:function(n,r,e){"use strict";e.r(r);var t=e(162),u=e.n(t);for(var o in t)"default"!==o&&function(n){e.d(r,n,(function(){return t[n]}))}(o);r["default"]=u.a},162:function(n,r,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-error/qiun-error"],{179:function(n,r,e){"use strict";e.r(r);var t=e(180),u=e(182);for(var o in u)"default"!==o&&function(n){e.d(r,n,(function(){return u[n]}))}(o);e(184);var c,i=e(11),a=Object(i["default"])(u["default"],t["render"],t["staticRenderFns"],!1,null,null,null,!1,t["components"],c);a.options.__file="uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue",r["default"]=a.exports},180:function(n,r,e){"use strict";e.r(r);var t=e(181);e.d(r,"render",(function(){return t["render"]})),e.d(r,"staticRenderFns",(function(){return t["staticRenderFns"]})),e.d(r,"recyclableRender",(function(){return t["recyclableRender"]})),e.d(r,"components",(function(){return t["components"]}))},181:function(n,r,e){"use strict";var t;e.r(r),e.d(r,"render",(function(){return u})),e.d(r,"staticRenderFns",(function(){return c})),e.d(r,"recyclableRender",(function(){return o})),e.d(r,"components",(function(){return t}));var u=function(){var n=this,r=n.$createElement;n._self._c},o=!1,c=[];u._withStripped=!0},182:function(n,r,e){"use strict";e.r(r);var t=e(183),u=e.n(t);for(var o in t)"default"!==o&&function(n){e.d(r,n,(function(){return t[n]}))}(o);r["default"]=u.a},183:function(n,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var t={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data:function(){return{}}};r.default=t},184:function(n,r,e){"use strict";e.r(r);var t=e(185),u=e.n(t);for(var o in t)"default"!==o&&function(n){e.d(r,n,(function(){return t[n]}))}(o);r["default"]=u.a},185:function(n,r,e){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-error/qiun-error-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-error/qiun-error-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(156))
__webpack_require__('1')['createComponent'](__webpack_require__(179))
})
},
[['uni_modules/qiun-data-charts/components/qiun-error/qiun-error-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading1.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading1"],{170:function(n,e,t){"use strict";t.r(e);var r=t(171),u=t(173);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(175);var i,c=t(11),a=Object(c["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e4e769ee",null,!1,r["components"],i);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue",e["default"]=a.exports},171:function(n,e,t){"use strict";t.r(e);var r=t(172);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},172:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},173:function(n,e,t){"use strict";t.r(e);var r=t(174),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},174:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading1",data:function(){return{}}};e.default=r},175:function(n,e,t){"use strict";t.r(e);var r=t(176),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},176:function(n,e,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading1"],{193:function(n,e,t){"use strict";t.r(e);var r=t(194),u=t(196);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(198);var i,c=t(11),a=Object(c["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e4e769ee",null,!1,r["components"],i);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue",e["default"]=a.exports},194:function(n,e,t){"use strict";t.r(e);var r=t(195);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},195:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},196:function(n,e,t){"use strict";t.r(e);var r=t(197),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},197:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading1",data:function(){return{}}};e.default=r},198:function(n,e,t){"use strict";t.r(e);var r=t(199),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},199:function(n,e,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading1.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-loading/loading1-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-loading/loading1-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(170))
__webpack_require__('1')['createComponent'](__webpack_require__(193))
})
},
[['uni_modules/qiun-data-charts/components/qiun-loading/loading1-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading2.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading2"],{177:function(n,e,t){"use strict";t.r(e);var r=t(178),u=t(180);for(var c in u)"default"!==c&&function(n){t.d(e,n,(function(){return u[n]}))}(c);t(182);var o,i=t(11),a=Object(i["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e4cb3aec",null,!1,r["components"],o);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue",e["default"]=a.exports},178:function(n,e,t){"use strict";t.r(e);var r=t(179);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},179:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return c})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},c=!1,o=[];u._withStripped=!0},180:function(n,e,t){"use strict";t.r(e);var r=t(181),u=t.n(r);for(var c in r)"default"!==c&&function(n){t.d(e,n,(function(){return r[n]}))}(c);e["default"]=u.a},181:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading2",data:function(){return{}}};e.default=r},182:function(n,e,t){"use strict";t.r(e);var r=t(183),u=t.n(r);for(var c in r)"default"!==c&&function(n){t.d(e,n,(function(){return r[n]}))}(c);e["default"]=u.a},183:function(n,e,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading2"],{200:function(n,e,t){"use strict";t.r(e);var r=t(201),u=t(203);for(var c in u)"default"!==c&&function(n){t.d(e,n,(function(){return u[n]}))}(c);t(205);var o,i=t(11),a=Object(i["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e4cb3aec",null,!1,r["components"],o);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue",e["default"]=a.exports},201:function(n,e,t){"use strict";t.r(e);var r=t(202);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},202:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return c})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},c=!1,o=[];u._withStripped=!0},203:function(n,e,t){"use strict";t.r(e);var r=t(204),u=t.n(r);for(var c in r)"default"!==c&&function(n){t.d(e,n,(function(){return r[n]}))}(c);e["default"]=u.a},204:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading2",data:function(){return{}}};e.default=r},205:function(n,e,t){"use strict";t.r(e);var r=t(206),u=t.n(r);for(var c in r)"default"!==c&&function(n){t.d(e,n,(function(){return r[n]}))}(c);e["default"]=u.a},206:function(n,e,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading2.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-loading/loading2-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-loading/loading2-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(177))
__webpack_require__('1')['createComponent'](__webpack_require__(200))
})
},
[['uni_modules/qiun-data-charts/components/qiun-loading/loading2-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading3.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading3"],{184:function(n,e,t){"use strict";t.r(e);var r=t(185),u=t(187);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(189);var i,a=t(11),c=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e4af0bea",null,!1,r["components"],i);c.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue",e["default"]=c.exports},185:function(n,e,t){"use strict";t.r(e);var r=t(186);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},186:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},187:function(n,e,t){"use strict";t.r(e);var r=t(188),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},188:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading3",data:function(){return{}}};e.default=r},189:function(n,e,t){"use strict";t.r(e);var r=t(190),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},190:function(n,e,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading3"],{207:function(n,e,t){"use strict";t.r(e);var r=t(208),u=t(210);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(212);var i,a=t(11),c=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e4af0bea",null,!1,r["components"],i);c.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue",e["default"]=c.exports},208:function(n,e,t){"use strict";t.r(e);var r=t(209);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},209:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},210:function(n,e,t){"use strict";t.r(e);var r=t(211),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},211:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading3",data:function(){return{}}};e.default=r},212:function(n,e,t){"use strict";t.r(e);var r=t(213),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},213:function(n,e,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading3.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-loading/loading3-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-loading/loading3-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(184))
__webpack_require__('1')['createComponent'](__webpack_require__(207))
})
},
[['uni_modules/qiun-data-charts/components/qiun-loading/loading3-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading4.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading4"],{191:function(n,e,t){"use strict";t.r(e);var r=t(192),u=t(194);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(196);var c,i=t(11),a=Object(i["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e492dce8",null,!1,r["components"],c);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue",e["default"]=a.exports},192:function(n,e,t){"use strict";t.r(e);var r=t(193);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},193:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return c})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,c=[];u._withStripped=!0},194:function(n,e,t){"use strict";t.r(e);var r=t(195),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},195:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading5",data:function(){return{}}};e.default=r},196:function(n,e,t){"use strict";t.r(e);var r=t(197),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},197:function(n,e,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading4"],{214:function(n,e,t){"use strict";t.r(e);var r=t(215),u=t(217);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(219);var c,i=t(11),a=Object(i["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e492dce8",null,!1,r["components"],c);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue",e["default"]=a.exports},215:function(n,e,t){"use strict";t.r(e);var r=t(216);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},216:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return c})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,c=[];u._withStripped=!0},217:function(n,e,t){"use strict";t.r(e);var r=t(218),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},218:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading5",data:function(){return{}}};e.default=r},219:function(n,e,t){"use strict";t.r(e);var r=t(220),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},220:function(n,e,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading4.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-loading/loading4-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-loading/loading4-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(191))
__webpack_require__('1')['createComponent'](__webpack_require__(214))
})
},
[['uni_modules/qiun-data-charts/components/qiun-loading/loading4-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading5.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading5"],{198:function(n,e,t){"use strict";t.r(e);var r=t(199),u=t(201);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(203);var i,c=t(11),a=Object(c["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e476ade6",null,!1,r["components"],i);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue",e["default"]=a.exports},199:function(n,e,t){"use strict";t.r(e);var r=t(200);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},200:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},201:function(n,e,t){"use strict";t.r(e);var r=t(202),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},202:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading6",data:function(){return{}}};e.default=r},203:function(n,e,t){"use strict";t.r(e);var r=t(204),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},204:function(n,e,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/loading5"],{221:function(n,e,t){"use strict";t.r(e);var r=t(222),u=t(224);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(226);var i,c=t(11),a=Object(c["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"e476ade6",null,!1,r["components"],i);a.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue",e["default"]=a.exports},222:function(n,e,t){"use strict";t.r(e);var r=t(223);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},223:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},224:function(n,e,t){"use strict";t.r(e);var r=t(225),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},225:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"loading6",data:function(){return{}}};e.default=r},226:function(n,e,t){"use strict";t.r(e);var r=t(227),u=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},227:function(n,e,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading5.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-loading/loading5-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-loading/loading5-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(198))
__webpack_require__('1')['createComponent'](__webpack_require__(221))
})
},
[['uni_modules/qiun-data-charts/components/qiun-loading/loading5-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading"],{151:function(n,e,t){"use strict";t.r(e);var o=t(152),u=t(154);for(var i in u)"default"!==i&&function(n){t.d(e,n,(function(){return u[n]}))}(i);var r,a=t(11),c=Object(a["default"])(u["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);c.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue",e["default"]=c.exports},152:function(n,e,t){"use strict";t.r(e);var o=t(153);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},153:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return r})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return o}));var u=function(){var n=this,e=n.$createElement;n._self._c},i=!1,r=[];u._withStripped=!0},154:function(n,e,t){"use strict";t.r(e);var o=t(155),u=t.n(o);for(var i in o)"default"!==i&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=u.a},155:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading1").then(function(){return resolve(t(170))}.bind(null,t)).catch(t.oe)},u=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading2").then(function(){return resolve(t(177))}.bind(null,t)).catch(t.oe)},i=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading3").then(function(){return resolve(t(184))}.bind(null,t)).catch(t.oe)},r=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading4").then(function(){return resolve(t(191))}.bind(null,t)).catch(t.oe)},a=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading5").then(function(){return resolve(t(198))}.bind(null,t)).catch(t.oe)},c={components:{Loading1:o,Loading2:u,Loading3:i,Loading4:r,Loading5:a},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data:function(){return{}}};e.default=c}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading"],{174:function(n,e,t){"use strict";t.r(e);var o=t(175),u=t(177);for(var i in u)"default"!==i&&function(n){t.d(e,n,(function(){return u[n]}))}(i);var r,a=t(11),c=Object(a["default"])(u["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);c.options.__file="uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue",e["default"]=c.exports},175:function(n,e,t){"use strict";t.r(e);var o=t(176);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},176:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return r})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return o}));var u=function(){var n=this,e=n.$createElement;n._self._c},i=!1,r=[];u._withStripped=!0},177:function(n,e,t){"use strict";t.r(e);var o=t(178),u=t.n(o);for(var i in o)"default"!==i&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=u.a},178:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading1").then(function(){return resolve(t(193))}.bind(null,t)).catch(t.oe)},u=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading2").then(function(){return resolve(t(200))}.bind(null,t)).catch(t.oe)},i=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading3").then(function(){return resolve(t(207))}.bind(null,t)).catch(t.oe)},r=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading4").then(function(){return resolve(t(214))}.bind(null,t)).catch(t.oe)},a=function(){t.e("uni_modules/qiun-data-charts/components/qiun-loading/loading5").then(function(){return resolve(t(221))}.bind(null,t)).catch(t.oe)},c={components:{Loading1:o,Loading2:u,Loading3:i,Loading4:r,Loading5:a},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data:function(){return{}}};e.default=c}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading-create-component',
{
'uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(151))
__webpack_require__('1')['createComponent'](__webpack_require__(174))
})
},
[['uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/superwei-combox/components/superwei-combox/superwei-combox"],{163:function(t,e,n){"use strict";n.r(e);var i=n(164),o=n(166);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n(168);var r,s=n(11),a=Object(s["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"08b9123a",null,!1,i["components"],r);a.options.__file="uni_modules/superwei-combox/components/superwei-combox/superwei-combox.vue",e["default"]=a.exports},164:function(t,e,n){"use strict";n.r(e);var i=n(165);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},165:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return o})),n.d(e,"staticRenderFns",(function(){return r})),n.d(e,"recyclableRender",(function(){return u})),n.d(e,"components",(function(){return i}));try{i={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,205))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var t=this,e=t.$createElement;t._self._c},u=!1,r=[];o._withStripped=!0},166:function(t,e,n){"use strict";n.r(e);var i=n(167),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},167:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"superweiCombox",emits:["input","update:modelValue","select"],props:{isAllowCreate:{type:Boolean,default:!0},disabledColor:{type:String,default:"#ababac"},isJSON:{type:Boolean,default:!1},keyName:{type:String,default:""},selectedBackground:{type:String,default:"#f5f7fa"},selectedColor:{type:String,default:"#409eff"},border:{type:Boolean,default:!0},label:{type:String,default:""},labelWidth:{type:String,default:"auto"},placeholder:{type:String,default:""},candidates:{type:Array,default:function(){return[]}},emptyTips:{type:String,default:"无匹配项"},value:{type:[String,Number],default:""}},data:function(){return{isInput:!1,showSelector:!1,isSelector:!1,inputVal:""}},computed:{labelStyle:function(){return"auto"===this.labelWidth?"":"width: ".concat(this.labelWidth)},filterCandidates:function(){var t=this;return this.isInput?this.isJSON?this.candidates.filter((function(e){return e[t.keyName].toString().indexOf(t.inputVal)>-1})):this.candidates.filter((function(e){return e.toString().indexOf(t.inputVal)>-1})):this.candidates},filterCandidatesLength:function(){return this.filterCandidates.length}},watch:{value:{handler:function(t){this.inputVal=t,this.isInput=!0},immediate:!0}},methods:{toggleSelector:function(){this.showSelector=!this.showSelector,this.isInput=!1},onFocus:function(){this.showSelector=!0,this.isInput=!1},onChange:function(){var t=this;setTimeout((function(){t.isInput=!1}),200)},onBlur:function(){var t=this;if(this.isInput)if(this.inputVal&&!this.isAllowCreate){var e=this.candidates.findIndex((function(e){return t.isJSON?e[t.keyName].toString()==t.inputVal&&!e.disabled:e.toString()==t.inputVal}));-1==e?this.filterCandidatesLength>0?(setTimeout((function(){t.showSelector=!1,t.isInput=!1,t.isSelector||(t.inputVal="",t.$emit("input",t.inputVal),t.$emit("update:modelValue",t.inputVal))}),200),this.isSelector=!1):(this.showSelector=!1,this.isInput=!1,this.inputVal="",this.$emit("input",this.inputVal),this.$emit("update:modelValue",this.inputVal)):this.onChange()}else this.onChange();else this.onChange()},onSelectorClick:function(t){var e=this.filterCandidates[t];this.isJSON?this.inputVal=e[this.keyName]:this.inputVal=e,this.showSelector=!1,this.isSelector=!0,this.$emit("input",this.inputVal),this.$emit("update:modelValue",this.inputVal),this.$emit("select",e)},onInput:function(){var t=this;setTimeout((function(){t.$emit("input",t.inputVal),t.$emit("update:modelValue",t.inputVal)}))}}};e.default=i},168:function(t,e,n){"use strict";n.r(e);var i=n(169),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},169:function(t,e,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/superwei-combox/components/superwei-combox/superwei-combox"],{186:function(t,e,n){"use strict";n.r(e);var i=n(187),o=n(189);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n(191);var r,s=n(11),a=Object(s["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"08b9123a",null,!1,i["components"],r);a.options.__file="uni_modules/superwei-combox/components/superwei-combox/superwei-combox.vue",e["default"]=a.exports},187:function(t,e,n){"use strict";n.r(e);var i=n(188);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},188:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return o})),n.d(e,"staticRenderFns",(function(){return r})),n.d(e,"recyclableRender",(function(){return u})),n.d(e,"components",(function(){return i}));try{i={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,228))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var t=this,e=t.$createElement;t._self._c},u=!1,r=[];o._withStripped=!0},189:function(t,e,n){"use strict";n.r(e);var i=n(190),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},190:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"superweiCombox",emits:["input","update:modelValue","select"],props:{isAllowCreate:{type:Boolean,default:!0},disabledColor:{type:String,default:"#ababac"},isJSON:{type:Boolean,default:!1},keyName:{type:String,default:""},selectedBackground:{type:String,default:"#f5f7fa"},selectedColor:{type:String,default:"#409eff"},border:{type:Boolean,default:!0},label:{type:String,default:""},labelWidth:{type:String,default:"auto"},placeholder:{type:String,default:""},candidates:{type:Array,default:function(){return[]}},emptyTips:{type:String,default:"无匹配项"},value:{type:[String,Number],default:""}},data:function(){return{isInput:!1,showSelector:!1,isSelector:!1,inputVal:""}},computed:{labelStyle:function(){return"auto"===this.labelWidth?"":"width: ".concat(this.labelWidth)},filterCandidates:function(){var t=this;return this.isInput?this.isJSON?this.candidates.filter((function(e){return e[t.keyName].toString().indexOf(t.inputVal)>-1})):this.candidates.filter((function(e){return e.toString().indexOf(t.inputVal)>-1})):this.candidates},filterCandidatesLength:function(){return this.filterCandidates.length}},watch:{value:{handler:function(t){this.inputVal=t,this.isInput=!0},immediate:!0}},methods:{toggleSelector:function(){this.showSelector=!this.showSelector,this.isInput=!1},onFocus:function(){this.showSelector=!0,this.isInput=!1},onChange:function(){var t=this;setTimeout((function(){t.isInput=!1}),200)},onBlur:function(){var t=this;if(this.isInput)if(this.inputVal&&!this.isAllowCreate){var e=this.candidates.findIndex((function(e){return t.isJSON?e[t.keyName].toString()==t.inputVal&&!e.disabled:e.toString()==t.inputVal}));-1==e?this.filterCandidatesLength>0?(setTimeout((function(){t.showSelector=!1,t.isInput=!1,t.isSelector||(t.inputVal="",t.$emit("input",t.inputVal),t.$emit("update:modelValue",t.inputVal))}),200),this.isSelector=!1):(this.showSelector=!1,this.isInput=!1,this.inputVal="",this.$emit("input",this.inputVal),this.$emit("update:modelValue",this.inputVal)):this.onChange()}else this.onChange();else this.onChange()},onSelectorClick:function(t){var e=this.filterCandidates[t];this.isJSON?this.inputVal=e[this.keyName]:this.inputVal=e,this.showSelector=!1,this.isSelector=!0,this.$emit("input",this.inputVal),this.$emit("update:modelValue",this.inputVal),this.$emit("select",e)},onInput:function(){var t=this;setTimeout((function(){t.$emit("input",t.inputVal),t.$emit("update:modelValue",t.inputVal)}))}}};e.default=i},191:function(t,e,n){"use strict";n.r(e);var i=n(192),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},192:function(t,e,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/superwei-combox/components/superwei-combox/superwei-combox-create-component',
{
'uni_modules/superwei-combox/components/superwei-combox/superwei-combox-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(163))
__webpack_require__('1')['createComponent'](__webpack_require__(186))
})
},
[['uni_modules/superwei-combox/components/superwei-combox/superwei-combox-create-component']]

4
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js vendored

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-icons/components/uni-icons/uni-icons"],{205:function(n,t,e){"use strict";e.r(t);var r=e(206),u=e(208);for(var i in u)"default"!==i&&function(n){e.d(t,n,(function(){return u[n]}))}(i);e(211);var c,o=e(11),s=Object(o["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);s.options.__file="uni_modules/uni-icons/components/uni-icons/uni-icons.vue",t["default"]=s.exports},206:function(n,t,e){"use strict";e.r(t);var r=e(207);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},207:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return c})),e.d(t,"recyclableRender",(function(){return i})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement;n._self._c},i=!1,c=[];u._withStripped=!0},208:function(n,t,e){"use strict";e.r(t);var r=e(209),u=e.n(r);for(var i in r)"default"!==i&&function(n){e.d(t,n,(function(){return r[n]}))}(i);t["default"]=u.a},209:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(e(210));function u(n){return n&&n.__esModule?n:{default:n}}var i=function(n){var t=/^[0-9]*$/g;return"number"===typeof n||t.test(n)?n+"px":n},c={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""}},data:function(){return{icons:r.default.glyphs}},computed:{unicode:function(){var n=this,t=this.icons.find((function(t){return t.font_class===n.type}));return t?unescape("%u".concat(t.unicode)):""},iconSize:function(){return i(this.size)}},methods:{_onClick:function(){this.$emit("click")}}};t.default=c},211:function(n,t,e){"use strict";e.r(t);var r=e(212),u=e.n(r);for(var i in r)"default"!==i&&function(n){e.d(t,n,(function(){return r[n]}))}(i);t["default"]=u.a},212:function(n,t,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-icons/components/uni-icons/uni-icons"],{228:function(n,t,e){"use strict";e.r(t);var r=e(229),u=e(231);for(var i in u)"default"!==i&&function(n){e.d(t,n,(function(){return u[n]}))}(i);e(234);var c,o=e(11),s=Object(o["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],c);s.options.__file="uni_modules/uni-icons/components/uni-icons/uni-icons.vue",t["default"]=s.exports},229:function(n,t,e){"use strict";e.r(t);var r=e(230);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},230:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return c})),e.d(t,"recyclableRender",(function(){return i})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement;n._self._c},i=!1,c=[];u._withStripped=!0},231:function(n,t,e){"use strict";e.r(t);var r=e(232),u=e.n(r);for(var i in r)"default"!==i&&function(n){e.d(t,n,(function(){return r[n]}))}(i);t["default"]=u.a},232:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(e(233));function u(n){return n&&n.__esModule?n:{default:n}}var i=function(n){var t=/^[0-9]*$/g;return"number"===typeof n||t.test(n)?n+"px":n},c={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""}},data:function(){return{icons:r.default.glyphs}},computed:{unicode:function(){var n=this,t=this.icons.find((function(t){return t.font_class===n.type}));return t?unescape("%u".concat(t.unicode)):""},iconSize:function(){return i(this.size)}},methods:{_onClick:function(){this.$emit("click")}}};t.default=c},234:function(n,t,e){"use strict";e.r(t);var r=e(235),u=e.n(r);for(var i in r)"default"!==i&&function(n){e.d(t,n,(function(){return r[n]}))}(i);t["default"]=u.a},235:function(n,t,e){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uni-icons/components/uni-icons/uni-icons-create-component',
{
'uni_modules/uni-icons/components/uni-icons/uni-icons-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('1')['createComponent'](__webpack_require__(205))
__webpack_require__('1')['createComponent'](__webpack_require__(228))
})
},
[['uni_modules/uni-icons/components/uni-icons/uni-icons-create-component']]

Loading…
Cancel
Save