Browse Source

检查时间

master
jingbowen 2 years ago
parent
commit
a899ae042d
  1. 16
      App.vue
  2. 10
      components/tabbar.vue
  3. 42
      components/task/add.vue
  4. 2
      libs/auth.js
  5. 9
      libs/request.js
  6. 26
      pages.json
  7. 18
      pages/dadui/index/index.vue
  8. 18
      pages/dadui/jiancha/jiancha.vue
  9. 18
      pages/dadui/jiuyuan/jiuyuan.vue
  10. 148
      pages/demo/demo.vue
  11. 386
      pages/index/index.vue
  12. 6
      pages/login/login.vue
  13. 292
      pages/rescue/index.vue
  14. 324
      pages/rescue/taskapply.vue
  15. 302
      pages/rescue/taskreceive.vue
  16. 51
      pages/tabbar/index.vue
  17. 43
      pages/tabbar/three.vue
  18. 2
      pages/tabbar/tow.vue
  19. 0
      pages/tabbar/user.vue
  20. 894
      pages/task/taskapply.vue
  21. 926
      pages/task/taskreceive.vue
  22. 12
      pages/zhidui/index.vue
  23. BIN
      static/jia.png
  24. BIN
      static/jian.png
  25. 2
      uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
  26. 39
      unpackage/dist/build/mp-weixin/app.json
  27. 2
      unpackage/dist/build/mp-weixin/common/main.wxss
  28. 2
      unpackage/dist/build/mp-weixin/common/runtime.js
  29. 6
      unpackage/dist/build/mp-weixin/common/vendor.js
  30. 2
      unpackage/dist/build/mp-weixin/components/task/add.js
  31. 7
      unpackage/dist/build/mp-weixin/components/task/add.json
  32. 2
      unpackage/dist/build/mp-weixin/components/task/add.wxml
  33. 4
      unpackage/dist/build/mp-weixin/components/task/add.wxss
  34. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.js
  35. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxss
  36. 2
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js
  37. 1
      unpackage/dist/build/mp-weixin/pages/demo/demo.js
  38. 7
      unpackage/dist/build/mp-weixin/pages/demo/demo.json
  39. 1
      unpackage/dist/build/mp-weixin/pages/demo/demo.wxml
  40. 1
      unpackage/dist/build/mp-weixin/pages/demo/demo.wxss
  41. 1
      unpackage/dist/build/mp-weixin/pages/index/index.js
  42. 10
      unpackage/dist/build/mp-weixin/pages/index/index.json
  43. 1
      unpackage/dist/build/mp-weixin/pages/index/index.wxml
  44. 1
      unpackage/dist/build/mp-weixin/pages/index/index.wxss
  45. 2
      unpackage/dist/build/mp-weixin/pages/login/login.js
  46. 2
      unpackage/dist/build/mp-weixin/pages/login/login.wxml
  47. 2
      unpackage/dist/build/mp-weixin/pages/login/login.wxss
  48. 1
      unpackage/dist/build/mp-weixin/pages/task/details.js
  49. 7
      unpackage/dist/build/mp-weixin/pages/task/details.json
  50. 1
      unpackage/dist/build/mp-weixin/pages/task/details.wxml
  51. 1
      unpackage/dist/build/mp-weixin/pages/task/details.wxss
  52. 1
      unpackage/dist/build/mp-weixin/pages/task/taskapply.js
  53. 11
      unpackage/dist/build/mp-weixin/pages/task/taskapply.json
  54. 1
      unpackage/dist/build/mp-weixin/pages/task/taskapply.wxml
  55. 1
      unpackage/dist/build/mp-weixin/pages/task/taskapply.wxss
  56. 1
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.js
  57. 11
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.json
  58. 1
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxml
  59. 1
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxss
  60. 1
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.js
  61. 7
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.json
  62. 1
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.wxml
  63. 1
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.wxss
  64. 1
      unpackage/dist/build/mp-weixin/pages/user/user.js
  65. 7
      unpackage/dist/build/mp-weixin/pages/user/user.json
  66. 1
      unpackage/dist/build/mp-weixin/pages/user/user.wxml
  67. 1
      unpackage/dist/build/mp-weixin/pages/user/user.wxss
  68. BIN
      unpackage/dist/build/mp-weixin/static/logo.png
  69. 10
      unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.js
  70. 6
      unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.json
  71. 1
      unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.wxml
  72. 5
      unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.wxss
  73. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  74. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  75. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  76. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/task/add.js.map
  77. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/task/details.js.map
  78. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/index/index.js.map
  79. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/jiancha/jiancha.js.map
  80. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js.map
  81. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/demo/demo.js.map
  82. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  83. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  84. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/task/taskapply.js.map
  85. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/task/taskreceive.js.map
  86. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/user.js.map
  87. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js.map
  88. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.js.map
  89. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading1.js.map
  90. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading2.js.map
  91. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading3.js.map
  92. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading4.js.map
  93. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/loading5.js.map
  94. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.js.map
  95. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
  96. 17
      unpackage/dist/dev/mp-weixin/app.json
  97. 182
      unpackage/dist/dev/mp-weixin/common/main.js
  98. 15
      unpackage/dist/dev/mp-weixin/common/main.wxss
  99. 270
      unpackage/dist/dev/mp-weixin/common/runtime.js
  100. 22428
      unpackage/dist/dev/mp-weixin/common/vendor.js
  101. Some files were not shown because too many files have changed in this diff Show More

16
App.vue

@ -28,4 +28,20 @@
checkbox{
border: #4963F4;
}
button[type='primary'] {
background-color: #327AFE;
color: #fff;
}
button[type='default'] {
background-color: #FFFFFF;
border: 1px solid rgba(0,0,0,0.15);
color: rgba(0,0,0,0.65);
}
.buttons{
display: flex;
}
.button button{
margin: 0 6rpx;
}
</style>

10
components/tabbar.vue

@ -40,25 +40,25 @@
//
if (this.shenfen == 'squadron' || (this.shenfen == 'battalion' && this.isSupervisor)) {
this.list = [{
"pagePath": "/pages/index/index",
"pagePath": "/pages/tabbar/index",
"iconPath": "/static/tab/43251.png",
"selectedIconPath": "/static/tab/4325.png",
"text": "工作任务"
},
{
"pagePath": "/pages/task/taskapply",
"pagePath": "/pages/tabbar/tow",
"iconPath": "/static/tab/43281.png",
"selectedIconPath": "/static/tab/4328.png",
"text": "申请"
},
{
"pagePath": "/pages/task/taskreceive",
"pagePath": "/pages/tabbar/three",
"iconPath": "/static/tab/43281.png",
"selectedIconPath": "/static/tab/4328.png",
"text": "领取"
},
{
"pagePath": "/pages/user/user",
"pagePath": "/pages/tabbar/user",
"iconPath": "/static/tab/user.png",
"selectedIconPath": "/static/tab/user1.png",
"text": "我的"
@ -71,7 +71,7 @@
console.log("item", item)
console.log("index", index)
let url = item.pagePath;
uni.switchTab({
uni.redirectTo({
url
})

42
components/task/add.vue

@ -51,12 +51,11 @@
v-model="item.id" @change="onchange" @nodeclick="onnodeclick" @popupopened="onpopupopened"
@popupclosed="onpopupclosed">
</uni-data-picker>
<view style="margin-top: 6rpx;" v-if="index == 0" class="" @tap="add()">
+
</view>
<view v-else class="" @tap="del(index,item)">
-
</view>
<image v-if="index == 0" class="icon2" src="@/static/jia.png"
style="padding: 10rpx; margin-left: 10rpx;" @tap="add()" />
<image v-else class="icon3" src="@/static/jian.png"
style="padding: 10rpx; margin-left: 10rpx;" @tap="del(index,item)" />
</view>
</view>
</view>
@ -204,6 +203,25 @@
}
}
}
if(this.isSupervisor){
for (let i = 0; i < this.dataTree[0].children.length; i++) {
for (let k = 0; k < this.og.length; k++) {
if (this.dataTree[0].children[i].value == this.og[k].parentId) {
this.dataTree[0].children[i].children.push({
text: this.og[k].name,
value: this.og[k].id
})
}
}
}
for (let i = 0; i < this.dataTree[0].children.length; i++) {
if (this.dataTree[0].children[i].children.length == 0) {
this.dataTree[0].children[i].disable = true
}
}
}
// for(let i=0;i<this.dataTree[0].children.length;i++){
// for (let k=0;i<this.og.length;k++){
@ -296,7 +314,7 @@
supervisorIds: this.isSupervisor ? [uni.getStorageSync("user").id] : [],
assitantOrganizationIds: this.isSupervisor ? [] : [uni.getStorageSync("user").organizationId],
creationType: '自主任务',
approvalStatus: '通过'
approvalStatus: '待检查'
}
if(this.cid=="首页"){
b=body2
@ -484,5 +502,15 @@
}
}
}
.icon2 {
height: 40rpx;
width: 40rpx;
}
.icon3 {
height: 34rpx;
width: 34rpx;
}
}
</style>

2
libs/auth.js

@ -93,7 +93,7 @@ const login = {
console.log(res);
uni.setStorageSync("user", res)
uni.reLaunch({
url: "/pages/index/index",
url: "/pages/tabbar/index",
})
})

9
libs/request.js

@ -94,7 +94,10 @@ const request = {
} else {
callback(data.data, data)
}
}
},
fail: err => {
common.showError("网络链接不畅,请稍后重试")
}
})
},
post(url, data, callback) {
@ -127,7 +130,7 @@ const request = {
}
},
fail: err => {
console.error(err, 8877897)
common.showError("网络链接不畅,请稍后重试")
}
})
} catch (e) {
@ -165,7 +168,7 @@ const request = {
}
},
fail: err => {
console.error(err, 8877897)
common.showError("网络链接不畅,请稍后重试")
}
})
} catch (e) {

26
pages.json

@ -28,15 +28,7 @@
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/demo/demo",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/rescue/task_implement/details",
"style": {
@ -47,7 +39,7 @@
}
},
{
"path": "pages/task/taskreceive",
"path": "pages/tabbar/three",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
@ -56,7 +48,7 @@
}
},
{
"path": "pages/index/index",
"path": "pages/tabbar/index",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
@ -74,7 +66,7 @@
// }
// },
{
"path": "pages/user/user",
"path": "pages/tabbar/user",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
@ -101,7 +93,7 @@
}
},
{
"path": "pages/task/taskapply",
"path": "pages/tabbar/tow",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
@ -121,16 +113,16 @@
"color": "#353535",
"selectedColor": "#5187FF",
"list": [{
"pagePath": "pages/index/index"
"pagePath": "pages/tabbar/index"
},
{
"pagePath": "pages/task/taskapply"
"pagePath": "pages/tabbar/tow"
},
{
"pagePath": "pages/task/taskreceive"
"pagePath": "pages/tabbar/three"
},
{
"pagePath": "pages/user/user"
"pagePath": "pages/tabbar/user"
}
]
}

18
pages/dadui/index/index.vue

@ -723,15 +723,15 @@
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
// button {
// width: 140rpx;
// height: 70rpx;
// color: #fff;
// border-radius: 34rpx;
// line-height: 70rpx;
// font-size: 30rpx;
// background-color: #327AFE;
// }
.taskbox {
width: 90%;

18
pages/dadui/jiancha/jiancha.vue

@ -346,15 +346,15 @@
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
// button {
// width: 140rpx;
// height: 70rpx;
// color: #fff;
// border-radius: 34rpx;
// line-height: 70rpx;
// font-size: 30rpx;
// background-color: #327AFE;
// }
.taskbox {
width: 90%;

18
pages/dadui/jiuyuan/jiuyuan.vue

@ -390,15 +390,15 @@
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
// button {
// width: 140rpx;
// height: 70rpx;
// color: #fff;
// border-radius: 34rpx;
// line-height: 70rpx;
// font-size: 30rpx;
// background-color: #327AFE;
// }
.taskbox {
width: 90%;

148
pages/demo/demo.vue

@ -1,148 +0,0 @@
<template>
<view class="">
<image @click="chooseImage" :src="age.imgShow" class="toux" mode=""></image>
<input v-model="age.text" type="text">
<button @tap="aaa()">aaa</button>
<button @tap="bbb()">bbb</button>
<uni-section title="只选择图片" type="line">
<view class="example-body">
<uni-file-picker limit="9" title="最多选择9张图片"></uni-file-picker>
</view>
</uni-section>
<!-- <uni-file-picker v-model="age.imgShow" fileMediatype="image" mode="grid" @select="select" @progress="progress"
@success="success" @fail="fail" /> -->
<image @click="chooseImage" :src="api+fi" class="toux" mode=""></image>
</view>
</template>
<script>
export default {
data() {
return {
api: this.$config.api+"/api/Objects/integration/",
isAuth: false,
imgShow: '',
age: {
imgShow: '',
text: '',
},
fi:"",
imageStyles: {
width: 64,
height: 64,
border: {
radius: '50%'
}
},
listStyles: {
//
border: true,
// 线
dividline: true,
// 线
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() {
console.log(this.api);
if (uni.getStorageSync('aabb')) {
this.age = uni.getStorageSync('aabb')
console.log(this.age);
}
},
methods: {
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()
},
aaa() {
uni.navigateBack(1)
},
bbb() {
this.$request.uploadFile(this.age.imgShow, (data, res) => {
console.log(data, res);
this.fi=res.objectName
})
},
select(e) {
console.log('选择文件:', e)
},
//
progress(e) {
console.log('上传进度:', e)
},
//
success(e) {
console.log('上传成功')
},
//
fail(e) {
console.log('上传失败:', e)
}
}
}
</script>
<style lang="scss">
.camera {
width: 430rpx;
height: 430rpx;
border-radius: 50%;
margin: 20px auto 0;
position: relative;
}
.camera image {
position: absolute;
width: 100%;
height: 100%;
z-index: 10;
}
.camera camera {
width: 428rpx;
height: 428rpx;
}
button.takePhoto:not([size='mini']) {
position: fixed;
bottom: 0;
left: 0;
width: 100vw;
height: 90rpx;
border-radius: 0;
}
</style>

386
pages/index/index.vue

@ -1,386 +0,0 @@
<template>
<Dindex v-if="shenfen=='battalion'&&!isSupervisor"></Dindex>
<Zindex v-else-if="shenfen=='brigade'"></Zindex>
<Jindex v-else></Jindex>
</template>
<script>
import Dindex from "@/pages/dadui/index/index.vue"
import Jindex from "@/pages/rescue/index.vue"
import Zindex from "@/pages/zhidui/index.vue"
export default {
components: {
Dindex,
Jindex,
Zindex
},
data() {
return {
shenfen: "",
isSupervisor: false
}
},
onLoad() {
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() {
},
methods: {
}
}
</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>

6
pages/login/login.vue

@ -68,7 +68,7 @@
if (store.state.token) {
console.log(store.state.token);
uni.reLaunch({
url: "/pages/index/index",
url: "/pages/tabbar/index",
success: res => {},
fail: () => {},
complete: () => {},
@ -192,8 +192,8 @@
.button {
width: 100%;
button {
button[type="default"] {
margin: 0 auto;
width: 80%;
color: #fff;
border-radius: 100rpx;

292
pages/rescue/index.vue

@ -10,7 +10,8 @@
</view>
<view class="year">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<picker :value="dates.year" mode="date" fields="year" :end="today.year"
@change="dateYear($event)">
<text style="margin-right: 12rpx;">{{dates.year}}</text>
</picker>
<image src="../../static/down.png" mode=""></image>
@ -22,8 +23,8 @@
</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&&today.year<=dates.year}"
class="month_class" v-for="(item,key) in months" :key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
@ -35,8 +36,8 @@
<view class="top">
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}任务总数</text><text>{{nub}}/{{week}}</text>
<view class="" style="display: flex; font-weight: 600;">
<view class="top_name">{{item.name}}</view><view style="flex: 1;">任务总数: {{nub}}/{{week}}</view>
</view>
</view>
<view class="right">
@ -50,21 +51,21 @@
</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 style="width: 40%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" v-if="index2" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
style="width: 60%; 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>
<text>{{item.name}}-----{{item.value}}</text>
</view>
</view>
</view>
<view style="width: 100rpx; margin-top: 10rpx;">
<view style="width: 100rpx; margin-top: 10rpx; margin-left:0">
<button @tap="index=true">新增</button>
</view>
</view>
@ -74,11 +75,16 @@
<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 class="type" v-if="item.creationType=='上级指派'">
派发
</view>
<view v-if="item.creationType=='自主任务'" class="type" style="background: #317AFF;">
自主
</view>
<view class="type">
<view v-if="item.creationType=='申领任务'" class="type" style="background: #14B488;">
申领
</view>
<view class="type_text">
{{item.taskType}}
</view>
@ -87,11 +93,11 @@
<view class="name">
{{item.company.companyName}}
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
<view style="width: 30%; ">
<view v-if="item.company.useNature=='重点单位'" class="tag" style=" float: right;">
{{item.company.useNature}}
</view>
<view v-else class="tag2">
<view v-else class="tag2" style=" float: right;">
{{item.company.useNature}}
</view>
</view>
@ -125,17 +131,27 @@
</view> -->
</view>
<view class="staffbox">
<view class="staff">
<view v-if="item.checkTime" class="staff">
<view>检查时间:</view>
<view>{{item.checkTime}}</view>
<picker :value="tasktiem" mode="date" @change="scheduledTime($event,item)">
<text style="margin-right: 12rpx;">{{item.checkTime}}</text>
</picker>
</view>
<view v-else class="staff">
<view>预定时间:</view>
<picker :value="tasktiem" mode="date" @change="scheduledTime($event,item)">
<text :class="tasktiem=='检查时间'?'tiem':''" style="margin-right: 12rpx;">{{tasktiem}}</text>
</picker>
<image v-if="tasktiem=='检查时间'" src="../../static/down.png" mode=""></image>
</view>
<!-- -->
</view>
</view>
<view class="implement">
<view class="button" v-if="item.approvalStatus=='待检查'">
<button @tap="start(item)">执行</button>
<view class="buttons" v-if="item.approvalStatus=='待检查'">
<button type="default" @tap="bohui(item)">取消</button>
<button type="primary" @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="">
@ -159,7 +175,7 @@
<view class="item_content" v-if="index">
<TaskAdd :cid="title" @apply="apply"></TaskAdd>
</view>
</view>
</view>
<tabbar :selected="0"></tabbar>
@ -200,10 +216,11 @@
day: 0,
},
today: {
year: 2022,
month: 0,
day:0
day: 0
},
week:0,
week: 0,
opts: {
rotate: false,
rotateLock: false,
@ -227,7 +244,7 @@
fontSize: 25,
color: "#fff"
},
extra: {
ring: {
width: 50,
@ -238,7 +255,7 @@
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
customRadius: 50,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
@ -253,31 +270,93 @@
list: [],
month: 0,
nub: 0,
index:false,
index2:0,
tasktiem:"检查时间",
index: false,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
let a = uni.getStorageSync("user");
mounted() {
console.log(123456);
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.today.year = date.getFullYear()
this.dates.day = date.getDate()
for (let i = 0; i < 30; i++) {
var dt2 = new Date(date.getTime() + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week=weekDay[dt2.getDay()]
if(week=="周二"||week=="周四"){
this.week++
let a = this.month % 2
let b = 0
if (this.dates.year % 4 == 0 && year % 100 != 0 || this.dates.year % 400 == 0) {
b = 1
}
if (this.month < 8 && this.month != 2 && a == 0) {
for (let i = 0; i < 30; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month < 8 && this.month != 2 && a != 0) {
for (let i = 0; i < 31; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month >= 8 && a == 0) {
for (let i = 0; i < 31; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month >= 8 && a != 0) {
for (let i = 0; i < 30; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month == 2 && !b) {
for (let i = 0; i < 28; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else {
for (let i = 0; i < 29; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
}
this.getOrganizations()
},
onReady() {
// this.getOrganizations()
this.getOrganizations()
},
methods: {
getOrganizations() {
@ -318,7 +397,7 @@
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
@ -353,7 +432,7 @@
that.list[i].checkTime = text
}
if (that.list[i].inspectionResult != '待检查') {
if (that.list[i].approvalStatus == '已检查') {
this.user[e].tasknub += 1
}
}
@ -391,7 +470,7 @@
}
}
this.identity = 1
this.index2 = 1
},
dateYear(e) {
console.log(e);
@ -399,7 +478,9 @@
this.getOrganizations()
},
dateMonth(e) {
if (e > this.month) {
let date = new Date()
let year = date.getFullYear()
if (e > this.month && this.dates.year >= year) {
return
}
this.dates.month = e
@ -410,11 +491,30 @@
this.index = false
this.getOrganizations()
},
scheduledTime(e,item){
console.log(e);
this.tasktiem=e.detail.value
let body = {
checkTime: this.tasktiem
}
this.$request.patch('/api/PlanTasks/'+item.id,body, (data, res) => {
this.$alert.showError("检查时间修改成功")
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) {
console.log(item);
// return
uni.navigateTo({
url: '/pages/task/details?id=' + item.company.id + '&uid=' + item.id,
url: '/pages/rescue/task_implement/details?id=' + item.company.id + '&uid=' + item.id,
})
}
}
@ -433,6 +533,7 @@
top: 0;
left: 0;
}
.taskadd {
width: 100vw;
height: 100vh;
@ -442,7 +543,7 @@
bottom: 0;
background: rgba(49, 49, 51, 0.2);
z-index: 10;
.itembox {
// background: #fff;
position: absolute;
@ -450,25 +551,25 @@
left: 0;
width: 100%;
height: 500rpx;
.item_top {
height: 60rpx;
background: #F5F7FA;
border-radius: 40rpx 40rpx 0 0;
padding: 10rpx 40rpx 0 40rpx;
display: flex;
view:nth-child(1) {
flex: 1;
}
}
.item_content {
background-color: #fff;
height: 100%;
}
}
.itembox2 {
// background: #fff;
position: absolute;
@ -476,26 +577,26 @@
left: 0;
width: 100%;
height: 400rpx;
.item_top {
height: 60rpx;
background: #F5F7FA;
border-radius: 40rpx 40rpx 0 0;
padding: 10rpx 40rpx 0 40rpx;
display: flex;
view:nth-child(1) {
flex: 1;
}
}
.item_content {
background-color: #fff;
height: 100%;
}
}
}
.pure_top {
width: 100%;
height: 230rpx;
@ -551,6 +652,7 @@
padding: 0 32rpx;
font-weight: 600;
border-radius: 10rpx;
.year {
display: flex;
align-items: center;
@ -583,6 +685,7 @@
flex-direction: row;
box-sizing: border-box;
padding: 0 8rpx;
.month_class {
width: 48rpx;
height: 48rpx;
@ -595,12 +698,14 @@
}
button {
width: 140rpx;
height: 70rpx;
margin-top: 10rpx;
margin-left: 10rpx;
width: 120rpx;
height: 60rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
border-radius: 30rpx;
line-height: 60rpx;
font-size: 24rpx;
background-color: #327AFE;
}
@ -618,10 +723,20 @@
.itembox {
.top {
margin-top: 30rpx;
margin-top: 20rpx;
height: 60rpx;
display: flex;
.top_name{
width: 180rpx;
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
/*文字超出部分以省略号显示*/
}
.left {
display: flex;
flex: 1;
@ -682,12 +797,13 @@
justify-content: center;
align-items: center;
margin: 10rpx 0;
font-size: 32rpx;
font-size: 30rpx;
.tag {
width: 20rpx;
height: 20rpx;
border-radius: 20rpx;
margin-right: 10rpx;
}
}
}
@ -760,30 +876,32 @@
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
width: 120rpx;
height: 50rpx;
line-height: 50rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
width: 120rpx;
height: 50rpx;
line-height: 50rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
@ -794,6 +912,20 @@
margin: 14rpx 0;
.type {
width: 60rpx;
height: 40rpx;
line-height: 40rpx;
border-radius: 4rpx;
font-size: 26rpx;
padding-left: 4rpx;
// text-align: center;
font-weight: 500;
margin-top: 2rpx;
background: #E63434;
color: #fff;
}
.type_text {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
@ -816,12 +948,19 @@
.staff {
display: flex;
color: rgba(16, 15, 25, 0.48);
image {
margin-top: 8rpx;
width: 26rpx;
height: 26rpx;
}
.tiem {
.zhu {
color: #100F19;
color: #317AFF;
}
.zhu {
color: #100109;
}
view {
margin-right: 20rpx;
}
@ -846,7 +985,8 @@
margin-bottom: 10rpx;
.button {
.buttons {
margin-top: 20rpx;
width: 100%;
height: 100%;
padding-top: 20rpx;

324
pages/rescue/taskapply.vue

@ -6,26 +6,31 @@
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<view class="blueblock">
</view>
<view class="year">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
<text style="margin-right: 12rpx;">{{dates.year}}</text>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;"
alt="">
<image src="../../static/down.png" mode=""></image>
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
<view class="blackblock">
</view>
<text>{{today.month}}.{{dates.day}}</text>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.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&&today.year<=dates.year}"
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">
@ -41,16 +46,16 @@
</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 style="width: 40%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" v-if="index3"/>
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
style="width: 60%; 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>
<text>{{item.name}}----{{item.value}}</text>
</view>
</view>
@ -77,11 +82,11 @@
<view class="name">
{{item.company.companyName}}
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
<view style=" width: 40%;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style=" float: right;">
{{item.company.useNature}}
</view>
<view v-else class="tag2">
<view v-else class="tag2" style=" float: right;">
{{item.company.useNature}}
</view>
</view>
@ -101,16 +106,15 @@
{{item.approvalStatus}}
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
<view style="width: 70%;">
<view>
<view class="staffbox">
<view class="staff">
<view class="staff2">
<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 class="staff_namebox">
<text v-for="(i,k) in item.supervisors" :key="k" style="">{{i.name}}</text>
</view>
</view>
@ -122,7 +126,7 @@
<view class="staff">
<view>申请时间:</view>
<view>{{item.creationTime}}</view>
<view class="" @tap="chakan(item)">
<view style="color: #317AFF;" @tap="chakan(item)">
查看
</view>
</view>
@ -183,9 +187,9 @@
</template>
<script>
import TaskAdd from "@/components/task/add.vue"
import TaskDet from "@/components/task/details.vue"
import tabbar from '@/components/tabbar.vue'
import TaskAdd from "../../components/task/add.vue"
import TaskDet from "../../components/task/details.vue"
import tabbar from '../../components/tabbar.vue'
export default {
components: {
TaskAdd,
@ -213,11 +217,11 @@
},
dates: {
year: 2022,
month: 8,
month: 0,
day: 0,
},
today: {
month: 8,
month: 0,
},
opts: {
rotate: false,
@ -253,7 +257,7 @@
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
customRadius: 50,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
@ -269,26 +273,94 @@
nub: 0,
index: false,
index2: false,
index3:false,
Cid: "",
month: 0,
xuanchuan: false,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
onLoad() {
let a = uni.getStorageSync("user");
created() {
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.today.year = date.getFullYear()
this.dates.day = date.getDate()
// this.getOrganizations()
let a = this.month % 2
let b = 0
if (this.dates.year % 4 == 0 && year % 100 != 0 || this.dates.year % 400 == 0) {
b = 1
}
if (this.month < 8 && this.month != 2 && a == 0) {
for (let i = 0; i < 30; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month < 8 && this.month != 2 && a != 0) {
for (let i = 0; i < 31; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month >= 8 && a == 0) {
for (let i = 0; i < 31; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month >= 8 && a != 0) {
for (let i = 0; i < 30; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month == 2 && !b) {
for (let i = 0; i < 28; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else {
for (let i = 0; i < 29; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
}
this.getOrganizations()
},
onReady() {
this.getOrganizations()
},
methods: {
getOrganizations() {
@ -322,18 +394,18 @@
},
getSupervisor() {
this.$request.get("/api/Users/Inspectors", {}, (data, res) => {
console.log(res);
let userName = uni.getStorageSync("user").roles[0].name;
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].userName = userName) {
if (res[i].name = userName) {
this.user = [res[i]]
// console.log(this.user,8070);
console.log(this.user, 8070);
for (let i = 0; i < this.user.length; i++) {
this.user[i]["tasknub"] = 0
this.user[i]["rate"] = 0
}
}
}
@ -407,7 +479,7 @@
}
}
this.opts.subtitle.name = this.nub
this.identity = 1
this.index3 = true
},
dateYear(e) {
console.log(e);
@ -415,6 +487,11 @@
this.getOrganizations()
},
dateMonth(e) {
let date = new Date()
let year = date.getFullYear()
if (e > this.month && this.dates.year >= year) {
return
}
this.dates.month = e
this.getOrganizations()
},
@ -492,7 +569,7 @@
.itembox2 {
// background: #fff;
position: absolute;
bottom: 0;
bottom: 100rpx;
left: 0;
width: 100%;
height: 400rpx;
@ -544,60 +621,97 @@
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
left: 4%;
top: 20rpx;
width: 80%;
height: 120rpx;
width: 92%;
height: 130rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
box-sizing: border-box;
display: flex;
align-items: center;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
box-sizing: border-box;
padding: 0 32rpx;
font-weight: 600;
border-radius: 10rpx;
.year {
display: flex;
align-items: center;
image {
width: 26rpx;
height: 26rpx;
}
}
.blueblock {
width: 6rpx;
height: 30rpx;
margin-right: 12rpx;
background: #50B2FF;
}
.blackblock {
width: 4rpx;
height: 30rpx;
margin: 0 16rpx;
background: #000;
}
}
.monthbox {
display: flex;
justify-content: center;
justify-content: space-around;
align-items: center;
flex-direction: row;
box-sizing: border-box;
padding: 0 8rpx;
.month_class {
width: 48rpx;
height: 48rpx;
line-height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
margin-top: 10rpx;
width: 120rpx;
height: 60rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
border-radius: 30rpx;
line-height: 60rpx;
font-size: 24rpx;
background-color: #327AFE;
}
.taskbox {
width: 90%;
width: 92%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
box-sizing: border-box;
padding: 20rpx;
position: relative;
left: 0;
@ -606,7 +720,7 @@
.itembox {
.top {
margin-top: 30rpx;
margin-top: 20rpx;
height: 60rpx;
display: flex;
@ -620,6 +734,7 @@
}
text {
font-weight: 600;
margin-right: 10rpx;
}
}
@ -726,7 +841,7 @@
}
.listbox {
width: 94%;
width: 92%;
margin: -10rpx auto 0 auto;
.item {
@ -741,7 +856,7 @@
.name {
font-weight: 600;
font-size: 36rpx;
width: 70%;
width: 100%;
height: 60rpx;
line-height: 60rpx;
white-space: nowrap;
@ -756,26 +871,32 @@
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
width: 120rpx;
height: 50rpx;
line-height: 50rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
width: 120rpx;
height: 50rpx;
line-height: 50rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
font-size: 18rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
@ -801,9 +922,17 @@
}
.staffbox {
display: flex;
margin: 6rpx 0;
font-size: 30rpx;
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
.staff {
display: flex;
@ -826,8 +955,47 @@
}
}
.jiancha {
.staff2 {
display: flex;
color: rgba(16, 15, 25, 0.48);
// width: 70%;
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
.staff_namebox {
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
}
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.jiancha {
color: #100F19;
margin-right: 10rpx;
}
@ -841,7 +1009,7 @@
margin-bottom: 10rpx;
.button {
.buttons {
width: 100%;
height: 100%;
padding-top: 20rpx;

302
pages/rescue/taskreceive.vue

@ -6,21 +6,24 @@
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<view class="blueblock">
</view>
<view class="year">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
<text style="margin-right: 12rpx;">{{dates.year}}</text>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;"
alt="">
<image src="../../static/down.png" mode=""></image>
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
<view class="blackblock">
</view>
<text>{{today.month}}.{{dates.day}}</text>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.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&&today.year<=dates.year}"
class="month_class" v-for="(item,key) in months" :key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
</view>
@ -32,7 +35,7 @@
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}</text>
<text style="font-weight: 600;">{{item.name}}</text>
</view>
</view>
<view class="right">
@ -41,16 +44,16 @@
</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 style="width: 40%;">
<qiun-data-charts type="ring" :opts="opts" :chartData="chartData" v-if="index3" />
</view>
<view
style="width: 50%; display: flex;justify-content: center;align-items: center;flex-direction: column;">
style="width: 60%; 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>
<text>{{item.name}}----{{item.value}}</text>
</view>
</view>
@ -64,18 +67,24 @@
<view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<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 class="type" v-if="item.creationType=='上级指派'">
派发
</view>
<view class="type">
<view v-if="item.creationType=='自主任务'" class="type" style="background: #317AFF;">
自主
</view>
<view v-if="item.creationType=='申领任务'" class="type" style="background: #14B488;">
申领
</view>
<view class="type_text">
{{item.company.companyName}}
</view>
<view style=" width: 30%; padding-left:20rpx;">
<view v-if="item.company.useNature=='重点单位'" class="tag" style="">
<view style="width: 40%; ">
<view v-if="item.company.useNature=='重点单位'" class="tag" style=" float: right;">
{{item.company.useNature}}
</view>
<view v-else class="tag2">
<view v-else class="tag2" style=" float: right;">
{{item.company.useNature}}
</view>
</view>
@ -116,7 +125,7 @@
<view class="staff">
<view>申请时间:</view>
<view>{{item.creationTime}}</view>
<view class="" @tap="chakan(item)">
<view style="color: #317AFF;" @tap="chakan(item)">
查看
</view>
</view>
@ -251,7 +260,7 @@
offsetAngle: 0,
labelWidth: 15,
border: false,
customRadius: 60,
customRadius: 50,
borderWidth: 3,
borderColor: "#FFFFFF",
centerColor: "#57B5FF",
@ -267,30 +276,97 @@
nub: 0,
index: false,
index2: false,
index3:false,
OrganizationId: "",
userId: "",
Cid: "",
month: 0,
xuanchuan: false,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
onLoad() {
let a = uni.getStorageSync("user");
created() {
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.today.year = date.getFullYear()
this.dates.day = date.getDate()
// this.getOrganizations()
let a = this.month % 2
let b = 0
if (this.dates.year % 4 == 0 && year % 100 != 0 || this.dates.year % 400 == 0) {
b = 1
}
if (this.month < 8 && this.month != 2 && a == 0) {
for (let i = 0; i < 30; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month < 8 && this.month != 2 && a != 0) {
for (let i = 0; i < 31; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month >= 8 && a == 0) {
for (let i = 0; i < 31; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month >= 8 && a != 0) {
for (let i = 0; i < 30; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else if (this.month == 2 && !b) {
for (let i = 0; i < 28; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
} else {
for (let i = 0; i < 29; i++) {
var dt2 = new Date(Date.parse(JSON.stringify(this.dates.month) + " " + "1 " + JSON.stringify(this.dates
.year)) + i * 24 * 3600 * 1000);
var weekDay = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
var week = weekDay[dt2.getDay()]
if (week == "周二" || week == "周四") {
this.week++
}
}
}
this.getOrganizations()
this.OrganizationId = uni.getStorageSync("user").organizationId
this.userId = uni.getStorageSync("user").id
},
onReady() {
this.getOrganizations()
this.OrganizationId = uni.getStorageSync("user").organizationId
this.userId = uni.getStorageSync("user").id
},
methods: {
getOrganizations() {
@ -320,23 +396,24 @@
} else {
this.getSupervisor()
}
this.index3 =true
this.getTaskListOfStation(userId)
})
},
getSupervisor() {
this.$request.get("/api/Users/Inspectors", {}, (data, res) => {
console.log(res);
let userName = uni.getStorageSync("user").roles[0].name;
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].userName = userName) {
if (res[i].name = userName) {
this.user = [res[i]]
// console.log(this.user,8070);
console.log(this.user, 8070);
for (let i = 0; i < this.user.length; i++) {
this.user[i]["tasknub"] = 0
this.user[i]["rate"] = 0
}
}
}
@ -409,7 +486,7 @@
}
}
this.opts.subtitle.name = this.nub
this.identity = 1
},
dateYear(e) {
console.log(e);
@ -438,14 +515,17 @@
let params = {
approvalStatus: '通过'
}
this.$request.post('/api/PlanTasks/Approval/' + item.id + '?approvalStatus=' + '通过', null, (data, res) => {
console.log(res);
this.$request.post('/api/PlanTasks/Approval/' + item.id + '?approvalStatus=' + '待检查', null, (data, res) => {
// uni.switchTab({
// url:"/pages/tabbar/index"
// })
this.$alert.showError("已通过,可在工作任务中查看")
this.getOrganizations()
})
},
bohui(item) {
this.$request.post('/api/PlanTasks/Approval/' + item.id + '?approvalStatus=' + '驳回', null, (data, res) => {
console.log(res);
this.$alert.showError("已驳回")
this.getOrganizations()
})
},
@ -509,7 +589,7 @@
.itembox2 {
// background: #fff;
position: absolute;
bottom: 0;
bottom: 100rpx;
left: 0;
width: 100%;
height: 400rpx;
@ -560,65 +640,109 @@
background-color: #317AFF;
color: #fff;
}
.month_color2 {
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
left: 74rpx;
left: 4%;
top: 20rpx;
width: 80%;
height: 120rpx;
width: 92%;
height: 130rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
box-sizing: border-box;
display: flex;
align-items: center;
background-color: #fff;
padding: 10rpx 0 0 10rpx;
box-sizing: border-box;
padding: 0 32rpx;
font-weight: 600;
border-radius: 10rpx;
.year {
display: flex;
align-items: center;
image {
width: 26rpx;
height: 26rpx;
}
}
.blueblock {
width: 6rpx;
height: 30rpx;
margin-right: 12rpx;
background: #50B2FF;
}
.blackblock {
width: 4rpx;
height: 30rpx;
margin: 0 16rpx;
background: #000;
}
}
.monthbox {
display: flex;
justify-content: center;
justify-content: space-around;
align-items: center;
flex-direction: row;
box-sizing: border-box;
padding: 0 8rpx;
.month_class {
width: 48rpx;
height: 48rpx;
line-height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
// margin-top: 10rpx;
width: 120rpx;
height: 60rpx;
margin: 10rpx 0 0 10rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
border-radius: 30rpx;
line-height: 60rpx;
font-size: 24rpx;
background-color: #327AFE;
}
button::after {
button[type='default'] {
margin-top: 10rpx;
width: 120rpx;
height: 60rpx;
color: #8f8f94;
border: none;
border-radius: 30rpx;
line-height: 60rpx;
font-size: 24rpx;
background-color: rgba(229,231,235,1);
}
button::after{
border: none;
}
.taskbox {
width: 90%;
width: 92%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
box-sizing: border-box;
padding: 20rpx;
position: relative;
left: 0;
@ -627,7 +751,7 @@
.itembox {
.top {
margin-top: 30rpx;
margin-top: 20rpx;
height: 60rpx;
display: flex;
@ -747,14 +871,15 @@
}
.listbox {
width: 94%;
width: 92%;
margin: -10rpx auto 0 auto;
.item {
background-color: #fff;
margin: 20rpx 0;
padding: 20rpx;
.namebox {
display: flex;
margin-bottom: 10rpx;
@ -795,36 +920,54 @@
.tag {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
width: 120rpx;
height: 50rpx;
line-height: 50rpx;
color: #FF6F51;
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tag2 {
text-align: center;
width: 180rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
width: 120rpx;
height: 50rpx;
line-height: 50rpx;
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
border-radius: 40rpx 40rpx 40rpx 40rpx;
font-size: 18rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.type {
flex: 1;
width: 60rpx;
height: 40rpx;
line-height: 40rpx;
border-radius: 4rpx;
font-size: 26rpx;
padding-left: 4rpx;
// text-align: center;
font-weight: 500;
margin-top: 2rpx;
background: #E63434;
color: #fff;
}
.type_text {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
.result {
width: 50%;
text-align: right;
@ -862,7 +1005,7 @@
.jiancha {
margin-right: 10rpx;
color: #100F19;
}
.jiancha_color {
@ -875,6 +1018,7 @@
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;

51
pages/tabbar/index.vue

@ -0,0 +1,51 @@
<template>
<Dindex v-if="shenfen=='battalion'&&!isSupervisor"></Dindex>
<Zindex v-else-if="shenfen=='brigade'"></Zindex>
<Jindex v-else></Jindex>
</template>
<script>
import Dindex from "@/pages/dadui/index/index.vue"
import Jindex from "@/pages/rescue/index.vue"
import Zindex from "@/pages/zhidui/index.vue"
export default {
components: {
Dindex,
Jindex,
Zindex
},
data() {
return {
shenfen: "",
isSupervisor: false
}
},
onShow() {
this.shenfen= ""
this.$nextTick(()=>{
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
console.log(1111111);
})
},
onReady() {
},
methods: {
}
}
</script>
<style lang="scss">
</style>

43
pages/tabbar/three.vue

@ -0,0 +1,43 @@
<template>
<Dtask v-if="shenfen=='battalion'&&!isSupervisor"></Dtask>
<Ztask v-else-if="shenfen=='brigade'"></Ztask>
<Jtask v-else></Jtask>
</template>
<script>
import Dtask from "@/pages/dadui/jiuyuan/jiuyuan.vue"
import Jtask from "@/pages/rescue/taskreceive.vue"
import Ztask from '@/pages/zhidui/ranks/ranks.vue'
export default {
components: {
Dtask,
Jtask,
Ztask
},
data() {
return {
shenfen: "",
isSupervisor: false
}
},
onShow() {
console.log(555555);
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() {
},
methods: {}
}
</script>
<style lang="scss">
</style>

2
pages/task/new_file.vue → pages/tabbar/tow.vue

@ -7,7 +7,7 @@
<script>
import Dtask from "@/pages/dadui/jiancha/jiancha.vue"
import Jtask from "@/pages/dadui/jiuyuan/jiuyuan.vue"
import Jtask from "@/pages/rescue/taskapply.vue"
import Ztask from '@/pages/zhidui/assign/assign.vue'
export default {
components: {

0
pages/user/user.vue → pages/tabbar/user.vue

894
pages/task/taskapply.vue

@ -1,894 +0,0 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view class="blueblock">
</view>
<view class="year">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<text style="margin-right: 12rpx;">{{dates.year}}</text>
</picker>
<image src="../../static/down.png" mode=""></image>
</view>
<view class="blackblock">
</view>
<text>{{today.month}}.{{dates.day}}</text>
</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>
</view>
</view>
<view class="right">
</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 style="width: 100rpx; margin-top: 10rpx;">
<button @tap="index=true">新增</button>
</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 v-if="item.approvalStatus=='通过'||item.approvalStatus=='驳回'" class="jiancha"
:class="{jiancha_color:item.approvalStatus=='通过'}">
{{item.approvalStatus}}
</view>
<view v-else class="jiancha" style="color: #FFBA19;">
{{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.creationTime}}</view>
<view class="" @tap="chakan(item)">
查看
</view>
</view>
<!-- -->
</view>
</view>
<view class="implement">
<!-- <view class="button">
<button @tap="start(item)">执行</button>
</view> -->
</view>
</view>
</view>
</view>
<view class="taskadd" v-if="index">
<view class="itembox">
<view class="item_top">
<view class="">
任务申领
</view>
<view class="" @tap="indexs()">
x
</view>
</view>
<view class="item_content" v-if="index">
<TaskAdd @apply="apply"></TaskAdd>
</view>
<view class="item_content" v-if="index2">
<TaskDet @apply="apply"></TaskDet>
</view>
</view>
</view>
<view class="taskadd" v-if="index2">
<view class="itembox2">
<view class="item_top">
<view class="">
详情
</view>
<view class="" @tap="indexs()">
x
</view>
</view>
<view class="item_content" v-if="index2">
<TaskDet :cid="Cid"></TaskDet>
</view>
</view>
</view>
<tabbar :selected="1"></tabbar>
</view>
</template>
<script>
import TaskAdd from "../../components/task/add.vue"
import TaskDet from "../../components/task/details.vue"
import tabbar from '../../components/tabbar.vue'
export default {
components: {
TaskAdd,
TaskDet,
tabbar
},
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: [],
nub: 0,
index: false,
index2: false,
Cid: "",
xuanchuan: false,
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.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(res);
let userName = uni.getStorageSync("user").roles[0].name;
// console.log(uni.getStorageSync("user").roles);
for (let i = 0; i < res.length; i++) {
if (res[i].userName = 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);
let organizationId = uni.getStorageSync("user").organizationId
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
// SupervisorId: item,
OrganizationId: organizationId,
CreatorId: item,
PageNumber: 1,
approvalStatus: '通过',
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++) {
for (let k = 0; k < that.list[i].supervisors.length; k++) {
// that.list[i].supervisors[k].name=that.list[i].supervisors[k].name.slice(0,3)+"..."
}
if (that.list[i].creationTime) {
let text = that.list[i].creationTime.substring(0, 10)
that.list[i].creationTime = 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++) {
if (this.list[i].approvalStatus == "待处理") {
this.chartData.series[0].data[1].value += 1
this.nub += 1
} else if (this.list[i].approvalStatus == "驳回") {
this.chartData.series[0].data[2].value += 1
this.nub += 1
} else {
this.chartData.series[0].data[0].value += 1
this.nub += 1
}
}
this.opts.subtitle.name = this.nub
this.identity = 1
},
dateYear(e) {
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
this.dates.month = e
this.getOrganizations()
},
apply() {
let that = this;
this.index = false
this.getOrganizations()
},
indexs() {
this.index = false
this.index2 = false
},
chakan(e) {
this.Cid = e
this.index2 = true
},
start(item) {
uni.navigateTo({
url: '/pages/task/details?id=' + item.company.id,
})
}
}
}
</script>
<style lang="scss">
.page {
box-sizing: border-box;
padding-bottom: 100rpx;
}
.top {
position: relative;
top: 0;
left: 0;
}
.taskadd {
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
background: rgba(49, 49, 51, 0.2);
z-index: 10;
.itembox {
// background: #fff;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 800rpx;
.item_top {
height: 60rpx;
background: #F5F7FA;
border-radius: 40rpx 40rpx 0 0;
padding: 10rpx 40rpx 0 40rpx;
display: flex;
view:nth-child(1) {
flex: 1;
}
}
.item_content {
background-color: #fff;
height: 100%;
}
}
.itembox2 {
// background: #fff;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 400rpx;
.item_top {
height: 60rpx;
background: #F5F7FA;
border-radius: 40rpx 40rpx 0 0;
padding: 10rpx 40rpx 0 40rpx;
display: flex;
view:nth-child(1) {
flex: 1;
}
}
.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 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.calendar {
z-index: 1;
position: relative;
left: 4%;
top: 20rpx;
width: 92%;
height: 130rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
display: flex;
align-items: center;
background-color: #fff;
box-sizing: border-box;
padding: 0 32rpx;
font-weight: 600;
border-radius: 10rpx;
.year {
display: flex;
align-items: center;
image {
width: 26rpx;
height: 26rpx;
}
}
.blueblock {
width: 6rpx;
height: 30rpx;
margin-right: 12rpx;
background: #50B2FF;
}
.blackblock {
width: 4rpx;
height: 30rpx;
margin: 0 16rpx;
background: #000;
}
}
.monthbox {
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: row;
box-sizing: border-box;
padding: 0 8rpx;
.month_class {
width: 48rpx;
height: 48rpx;
line-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: 92%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
box-sizing: border-box;
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: 92%;
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;
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
/*文字超出部分以省略号显示*/
}
.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;
font-size: 18rpx;
}
}
}
}
.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 {
margin-right: 10rpx;
}
.jiancha_color {
color: #14B488;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

926
pages/task/taskreceive.vue

@ -1,926 +0,0 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view class="blueblock">
</view>
<view class="year">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<text style="margin-right: 12rpx;">{{dates.year}}</text>
</picker>
<image src="../../static/down.png" mode=""></image>
</view>
<view class="blackblock">
</view>
<text>{{today.month}}.{{dates.day}}</text>
</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>
</view>
</view>
<view class="right">
</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 style="width: 100rpx; margin-top: 10rpx;">
<button @tap="index=true">新增</button>
</view> -->
</view>
</view>
<view class="listbox">
<view class="item" v-for="(item,key) in list" :key="key">
<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;">
<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="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>
<view v-if="item.approvalStatus!='已检查'" class="jiancha"
style="color: #FFBA19; display: flex; margin-top: -10rpx;">
<button @tap="tongguo(item)">同意</button>
<button type="default" @tap="bohui(item)">驳回</button>
</view>
<view v-else class="jiancha" style="color: #FFBA19;">
{{item.approvalStatus}}
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
<view class="staffbox">
<view class="staff">
<view>申请时间:</view>
<view>{{item.creationTime}}</view>
<view class="" @tap="chakan(item)">
查看
</view>
</view>
<view v-if="item.approvalStatus=='通过'||item.approvalStatus=='驳回'" class="jiancha"
:class="{jiancha_color:item.approvalStatus=='通过'}">
{{item.approvalStatus}}
</view>
<!-- <view v-else class="jiancha"
style="color: #FFBA19;">
{{item.approvalStatus}}
</view> -->
</view>
</view>
<view class="implement">
</view>
</view>
</view>
</view>
<view class="taskadd" v-if="index">
<view class="itembox">
<view class="item_top">
<view class="">
任务申领
</view>
<view class="" @tap="indexs()">
x
</view>
</view>
<view class="item_content" v-if="index">
<TaskAdd @apply="apply"></TaskAdd>
</view>
<view class="item_content" v-if="index2">
<TaskDet @apply="apply"></TaskDet>
</view>
</view>
</view>
<view class="taskadd" v-if="index2">
<view class="itembox2">
<view class="item_top">
<view class="">
详情
</view>
<view class="" @tap="indexs()">
x
</view>
</view>
<view class="item_content" v-if="index2">
<TaskDet :cid="Cid"></TaskDet>
</view>
</view>
</view>
<tabbar :selected="2"></tabbar>
</view>
</template>
<script>
import TaskAdd from "../../components/task/add.vue"
import TaskDet from "../../components/task/details.vue"
import tabbar from '../../components/tabbar.vue'
export default {
components: {
TaskAdd,
TaskDet,
tabbar
},
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: [],
nub: 0,
index: false,
index2: false,
OrganizationId: "",
userId: "",
Cid: "",
xuanchuan: false,
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.dates.year = date.getFullYear()
this.dates.day = date.getDate()
// this.getOrganizations()
},
onReady() {
this.getOrganizations()
this.OrganizationId = uni.getStorageSync("user").organizationId
this.userId = uni.getStorageSync("user").id
},
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(res);
let userName = uni.getStorageSync("user").roles[0].name;
// console.log(uni.getStorageSync("user").roles);
for (let i = 0; i < res.length; i++) {
if (res[i].userName = 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);
let organizationId = uni.getStorageSync("user").organizationId
const that = this
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? this.userId : null,
assistantOrganizationId: this.isSupervisor ? null : this.OrganizationId,
PageNumber: 1,
PageSize: 9999,
approvalStatuses: ['待处理', '通过', '驳回', '待检查', '已检查']
}
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++) {
for (let k = 0; k < that.list[i].supervisors.length; k++) {
// that.list[i].supervisors[k].name=that.list[i].supervisors[k].name.slice(0,3)+"..."
}
if (that.list[i].creationTime) {
let text = that.list[i].creationTime.substring(0, 10)
that.list[i].creationTime = 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++) {
if (this.list[i].approvalStatus == "待处理") {
this.chartData.series[0].data[1].value += 1
this.nub += 1
} else if (this.list[i].approvalStatus == "驳回") {
this.chartData.series[0].data[2].value += 1
this.nub += 1
} else {
this.chartData.series[0].data[0].value += 1
this.nub += 1
}
}
this.opts.subtitle.name = this.nub
this.identity = 1
},
dateYear(e) {
console.log(e);
this.dates.year = e.detail.value
this.getOrganizations()
},
dateMonth(e) {
this.dates.month = e
this.getOrganizations()
},
apply() {
let that = this;
this.index = false
this.getOrganizations()
},
indexs() {
this.index = false
this.index2 = false
},
chakan(e) {
this.Cid = e
this.index2 = true
},
tongguo(item) {
// console.log(item);
let params = {
approvalStatus: '通过'
}
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) {
uni.navigateTo({
url: '/pages/task/details?id=' + item.company.id,
})
}
}
}
</script>
<style lang="scss">
.page {
box-sizing: border-box;
padding-bottom: 100rpx;
}
.top {
position: relative;
top: 0;
left: 0;
}
.taskadd {
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
background: rgba(49, 49, 51, 0.2);
z-index: 10;
.itembox {
// background: #fff;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 600rpx;
.item_top {
height: 60rpx;
background: #F5F7FA;
border-radius: 40rpx 40rpx 0 0;
padding: 10rpx 40rpx 0 40rpx;
display: flex;
view:nth-child(1) {
flex: 1;
}
}
.item_content {
background-color: #fff;
height: 100%;
}
}
.itembox2 {
// background: #fff;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 400rpx;
.item_top {
height: 60rpx;
background: #F5F7FA;
border-radius: 40rpx 40rpx 0 0;
padding: 10rpx 40rpx 0 40rpx;
display: flex;
view:nth-child(1) {
flex: 1;
}
}
.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 0%, #616DFD 100%);
}
.month_color {
border-radius: 48rpx;
background-color: #317AFF;
color: #fff;
}
.calendar {
z-index: 1;
position: relative;
left: 4%;
top: 20rpx;
width: 92%;
height: 130rpx;
border-radius: 10rpx;
box-shadow: 0px 0px 20px 1px #C1D7FF;
background: #fff;
view {
height: 60rpx;
}
.date_year {
display: flex;
align-items: center;
background-color: #fff;
box-sizing: border-box;
padding: 0 32rpx;
font-weight: 600;
border-radius: 10rpx;
.year {
display: flex;
align-items: center;
image {
width: 26rpx;
height: 26rpx;
}
}
.blueblock {
width: 6rpx;
height: 30rpx;
margin-right: 12rpx;
background: #50B2FF;
}
.blackblock {
width: 4rpx;
height: 30rpx;
margin: 0 16rpx;
background: #000;
}
}
.monthbox {
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: row;
box-sizing: border-box;
padding: 0 8rpx;
.month_class {
width: 48rpx;
height: 48rpx;
line-height: 48rpx;
text-align: center;
}
}
}
button {
width: 140rpx;
height: 70rpx;
color: #fff;
border-radius: 34rpx;
line-height: 70rpx;
font-size: 30rpx;
background-color: #327AFE;
}
button::after {
border: none;
}
.taskbox {
width: 92%;
margin: 40rpx auto;
border-radius: 20rpx;
background-color: #fff;
box-sizing: border-box;
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: 92%;
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;
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
/*文字超出部分以省略号显示*/
display: flex;
.type {
width: 50%;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
padding-left: 10rpx;
}
}
}
}
}
.typebox {
display: flex;
margin: 14rpx 0;
.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;
font-size: 18rpx;
}
.type {
flex: 1;
// 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);
flex: 1;
.zhu {
color: #100F19;
}
view {
margin-right: 20rpx;
}
img {
width: 40rpx;
height: 40rpx;
min-width: 40rpx;
min-height: 40rpx;
}
}
.jiancha {
margin-right: 10rpx;
}
.jiancha_color {
color: #14B488;
}
}
.implement {
margin-bottom: 10rpx;
.button {
width: 100%;
height: 100%;
padding-top: 20rpx;
}
// button {
// float: right;
// width: 80rpx;
// height: 40rpx;
// line-height: 40rpx;
// margin-top: 20rpx;
// }
}
</style>

12
pages/zhidui/index.vue

@ -117,7 +117,7 @@
<view class="charts-box">
<view class="title" style="display: flex;">
<view class="">
</view>
<view class="">
救援站主负责发起
@ -132,11 +132,11 @@
style="width: 60%; 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>
@ -183,7 +183,7 @@
</view>
</view>
<tabbar :selected="0"></tabbar>
</view>
</template>
@ -696,8 +696,8 @@
z-index: -1;
}
.tagbox {
color: #100F19;
display: flex;

BIN
static/jia.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

BIN
static/jian.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

2
uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue

@ -313,7 +313,7 @@
align-items: center;
flex-wrap: nowrap;
font-size: 14px;
width: 440rpx;
width: 400rpx;
/* line-height: 35px; */
padding: 0 10px;
padding-right: 5px;

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

@ -1,16 +1,15 @@
{
"pages": [
"pages/login/login",
"pages/task/implement",
"pages/user/changePassword/changePassword",
"pages/demo/demo",
"pages/task/details",
"pages/task/taskreceive",
"pages/index/index",
"pages/user/user",
"pages/rescue/task_implement/implement",
"pages/changePassword/changePassword",
"pages/rescue/task_implement/details",
"pages/tabbar/three",
"pages/tabbar/index",
"pages/tabbar/user",
"pages/dadui/jiancha/jiancha",
"pages/dadui/jiuyuan/jiuyuan",
"pages/task/taskapply"
"pages/tabbar/tow"
],
"subPackages": [],
"window": {
@ -20,35 +19,23 @@
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"custom": true,
"color": "#353535",
"selectedColor": "#5187FF",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tab/43251.png",
"selectedIconPath": "static/tab/4325.png",
"text": "工作任务"
"pagePath": "pages/tabbar/index"
},
{
"pagePath": "pages/task/taskapply",
"iconPath": "static/tab/43281.png",
"selectedIconPath": "static/tab/4328.png",
"text": "申请"
"pagePath": "pages/tabbar/tow"
},
{
"pagePath": "pages/task/taskreceive",
"iconPath": "static/tab/43281.png",
"selectedIconPath": "static/tab/4328.png",
"text": "领取"
"pagePath": "pages/tabbar/three"
},
{
"pagePath": "pages/user/user",
"iconPath": "static/tab/user.png",
"selectedIconPath": "static/tab/user1.png",
"text": "我的"
"pagePath": "pages/tabbar/user"
}
]
},
"usingComponents": {},
"sitemapLocation": "sitemap.json"
"usingComponents": {}
}

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

@ -1 +1 @@
.page{box-sizing:border-box;width:100vw;height:100vh;background:#efefef;overflow:auto;color:#100f19}checkbox{border:#4963f4}page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}}
.page{box-sizing:border-box;width:100vw;height:100vh;background:#efefef;overflow:auto;color:#100f19}checkbox{border:#4963f4}button[type="primary"]{background-color:#327afe;color:#fff}button[type="default"]{background-color:#fff;border:1px solid rgba(0,0,0,.15);color:rgba(0,0,0,.65)}.buttons{display:flex}.button button{margin:0 6rpx}page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}}

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/components/task/add.js vendored

File diff suppressed because one or more lines are too long

7
unpackage/dist/build/mp-weixin/components/task/add.json vendored

@ -1,6 +1,7 @@
{
"component": true,
"usingComponents": {
"superwei-combox": "/uni_modules/superwei-combox/components/superwei-combox/superwei-combox"
},
"component": true
"uni-data-picker": "/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker",
"companies": "/components/task/companies"
}
}

2
unpackage/dist/build/mp-weixin/components/task/add.wxml vendored

@ -1 +1 @@
<view class="content"><view class="content_item_box"><view class="content_item"><view><text style="color:red;">*</text>任务名称</view><view><block wx:if="{{!isSupervisor}}"><radio-group class="radio-group" name data-event-opts="{{[['change',[['task',['$event']]]]]}}" bindchange="__e"><block wx:for="{{data1}}" wx:for-item="item" wx:for-index="key" wx:key="name"><label class="radio" style="margin-right:20rpx;"><radio color="#317AFF" value="{{item.name}}"></radio><text>{{item.name}}</text></label></block></radio-group></block><block wx:else><radio-group class="radio-group" name data-event-opts="{{[['change',[['task',['$event']]]]]}}" bindchange="__e"><block wx:for="{{data2}}" wx:for-item="item" wx:for-index="key" wx:key="name"><label class="radio" style="margin-right:20rpx;"><radio color="#317AFF" value="{{item.name}}"></radio><text>{{item.name}}</text></label></block></radio-group></block></view></view><view class="content_item"><view><text style="color:red;">*</text>单位名称</view><superwei-combox vue-id="4b796974-1" isJSON="{{true}}" candidates="{{companies}}" keyName="companyName" placeholder="请选择或输入" value="{{companyName}}" data-event-opts="{{[['^select',[['bbb',['$event']]]],['^input',[['__set_model',['','companyName','$event',[]]],['getCompanies',['$event']]]]]}}" bind:select="__e" bind:input="__e" bind:__l="__l"></superwei-combox></view><view class="content_item"><view><text style="color:red;">*</text>协助机构</view><block wx:if="{{!isSupervisor}}"><checkbox-group data-event-opts="{{[['change',[['aaa',['$event']]]]]}}" class="checkbox-group" bindchange="__e"><block wx:for="{{supervisorList}}" wx:for-item="item" wx:for-index="key" wx:key="key"><label class="checkbox"><checkbox style="transform:scale(0.7);" color="#317AFF" value="{{item.id}}"></checkbox><text>{{item.name}}</text></label></block></checkbox-group></block><block wx:else><checkbox-group data-event-opts="{{[['change',[['aaa',['$event']]]]]}}" class="checkbox-group" bindchange="__e"><block wx:for="{{og}}" wx:for-item="item" wx:for-index="key" wx:key="key"><label class="checkbox"><checkbox style="transform:scale(0.7);" color="#317AFF" value="{{item.id}}"></checkbox><text>{{item.name}}</text></label></block></checkbox-group></block></view></view><view class="button"><button data-event-opts="{{[['tap',[['apply']]]]}}" bindtap="__e">确定</button></view></view>
<view class="content"><view class="content_item_box"><view class="content_item"><view class="view"><text style="color:red;">*</text>任务名称</view><view class="view"><block wx:if="{{!isSupervisor}}"><radio-group class="radio-group" name data-event-opts="{{[['change',[['task',['$event']]]]]}}" bindchange="__e"><block wx:for="{{data1}}" wx:for-item="item" wx:for-index="key" wx:key="name"><label class="radio" style="margin-right:20rpx;"><radio color="#317AFF" value="{{item.name}}"></radio><text>{{item.name}}</text></label></block></radio-group></block><block wx:else><radio-group class="radio-group" name data-event-opts="{{[['change',[['task',['$event']]]]]}}" bindchange="__e"><block wx:for="{{data2}}" wx:for-item="item" wx:for-index="key" wx:key="name"><label class="radio" style="margin-right:20rpx;"><radio color="#317AFF" value="{{item.name}}"></radio><text>{{item.name}}</text></label></block></radio-group></block></view></view><view class="content_item"><view class="view"><text style="color:red;">*</text>单位名称</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" class="view" style="border:2rpx solid #E4E7EC;height:60rpx;flex:1;line-height:60rpx;display:flex;padding:0 10rpx;margin:0 30rpx 0 20rpx;" bindtap="__e"><block wx:if="{{!prams.company.name}}"><view style="flex:1;color:grey;font-size:24rpx;margin-left:10rpx;">请选择单位</view></block><block wx:else><view style="flex:1;margin-left:10rpx;">{{''+prams.company.name+''}}</view></block><view style="margin-top:6rpx;"><image src="{{$root.m0}}" alt class="_img"></image></view></view></view><block wx:if="{{cid!='首页'}}"><view class="content_item2"><view class="view" style="margin-bottom:20rpx;"><text style="color:red;">*</text><text>协助机构</text></view><view><block wx:for="{{supervisorList}}" wx:for-item="item" wx:for-index="index"><view style="display:flex;margin-bottom:20rpx;"><uni-data-picker class="view" vue-id="{{'4b796974-1-'+index}}" placeholder="请选择协助机构" popup-title="请选择协助机构" localdata="{{dataTree}}" value="{{item.id}}" data-event-opts="{{[['^change',[['onchange']]],['^nodeclick',[['onnodeclick']]],['^popupopened',[['onpopupopened']]],['^popupclosed',[['onpopupclosed']]],['^input',[['__set_model',['$0','id','$event',[]],[[['supervisorList','',index]]]]]]]}}" bind:change="__e" bind:nodeclick="__e" bind:popupopened="__e" bind:popupclosed="__e" bind:input="__e" bind:__l="__l"></uni-data-picker><block wx:if="{{index==0}}"><image class="icon2" style="padding:10rpx;margin-left:10rpx;" src="/static/jia.png" data-event-opts="{{[['tap',[['add']]]]}}" bindtap="__e"></image></block><block wx:else><image class="icon3" style="padding:10rpx;margin-left:10rpx;" src="/static/jian.png" data-event-opts="{{[['tap',[['del',[index,'$0'],[[['supervisorList','',index]]]]]]]}}" bindtap="__e"></image></block></view></block></view></view></block></view><view class="button"><button data-event-opts="{{[['tap',[['apply']]]]}}" bindtap="__e">确定</button></view><block wx:if="{{index}}"><view class="taskadd"><view class="itembox"><view class="item_top"><view>选择单位</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">x</view></view><block wx:if="{{index}}"><view class="item_content"><companies bind:cdata="__e" vue-id="4b796974-2" data-event-opts="{{[['^cdata',[['Company']]]]}}" bind:__l="__l"></companies></view></block></view></view></block></view>

4
unpackage/dist/build/mp-weixin/components/task/add.wxss vendored

@ -1,8 +1,8 @@
.content{height:100%;display:flex;flex-direction:column;padding:0 20rpx}.content .content_item_box{flex:1;overflow:auto}.content .content_item{display:flex;align-items:center;padding:20rpx 0}.content .content_item view{margin:0 20rpx}.content .content_item .input{flex:1;height:60rpx;border:2rpx solid #e4e7ec}.content .button{display:flex;height:150rpx}.content .checkbox-group,
.content{height:100%;display:flex;flex-direction:column;padding:0 20rpx}.content .content_item_box{flex:1;overflow:auto}.content .taskadd{width:100vw;height:100vh;position:fixed;left:0;top:0;bottom:0;background:rgba(49,49,51,.2);z-index:11}.content .taskadd .itembox{position:absolute;top:40%;bottom:180rpx;left:0;width:100%}.content .taskadd .itembox .item_top{height:60rpx;background:#f5f7fa;border-radius:40rpx 40rpx 0 0;padding:10rpx 40rpx 0 40rpx;display:flex}.content .taskadd .itembox .item_top view:nth-child(1){flex:1}.content .taskadd .itembox .item_content{background-color:#fff;height:100%}.content .taskadd .itembox2{position:absolute;bottom:0;left:0;width:100%;height:400rpx}.content .taskadd .itembox2 .item_top{height:60rpx;background:#f5f7fa;border-radius:40rpx 40rpx 0 0;padding:10rpx 40rpx 0 40rpx;display:flex}.content .taskadd .itembox2 .item_top view:nth-child(1){flex:1}.content .taskadd .itembox2 .item_content{background-color:#fff;height:100%}.content .content_item{display:flex;align-items:center;padding:20rpx 0}.content .content_item .view{margin:0 20rpx}.content .content_item .view ._img{width:40rpx;height:40rpx}.content .content_item .input{flex:1;height:60rpx;border:2rpx solid #e4e7ec}.content .content_item2{display:flex;align-items:center;padding:20rpx 0}.content .content_item2 .view{margin:0 20rpx}.content .content_item2 .view ._img{width:40rpx;height:40rpx}.content .content_item2 .input{flex:1;height:60rpx;border:2rpx solid #e4e7ec}.content .button{display:flex;height:150rpx}.content .checkbox-group,
.content .radio-group{flex:1;overflow:auto}.content .checkbox-group .checkbox,
.content .checkbox-group .radio,
.content .radio-group .checkbox,
.content .radio-group .radio{margin-bottom:10rpx;margin-right:10rpx}.content .checkbox-group .checkbox radio,
.content .checkbox-group .radio radio,
.content .radio-group .checkbox radio,
.content .radio-group .radio radio{-webkit-transform:scale(.7);transform:scale(.7)}
.content .radio-group .radio radio{-webkit-transform:scale(.7);transform:scale(.7)}.content .icon2{height:40rpx;width:40rpx}.content .icon3{height:34rpx;width:34rpx}

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("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"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiancha/jiancha"],{"1b1f":function(t,e,n){"use strict";n.r(e);var a=n("ebd9"),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},"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},ebd9: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","common/runtime","common/vendor"]]]);

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

@ -1 +1 @@
.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}
.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}.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"],{"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"]]]);
(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},"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("b524"),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},b524: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=[]}},[["51e6","common/runtime","common/vendor"]]]);

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

@ -1 +0,0 @@
(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"]]]);

7
unpackage/dist/build/mp-weixin/pages/demo/demo.json vendored

@ -1,7 +0,0 @@
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/pages/demo/demo.wxml vendored

@ -1 +0,0 @@
<view><image class="toux" src="{{age.imgShow}}" mode data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" bindtap="__e"></image><input type="text" data-event-opts="{{[['input',[['__set_model',['$0','text','$event',[]],['age']]]]]}}" value="{{age.text}}" bindinput="__e"/><button data-event-opts="{{[['tap',[['aaa']]]]}}" bindtap="__e">aaa</button><button data-event-opts="{{[['tap',[['bbb']]]]}}" bindtap="__e">bbb</button><uni-section vue-id="719c3a40-1" title="只选择图片" type="line" bind:__l="__l" vue-slots="{{['default']}}"><view class="example-body"><uni-file-picker vue-id="{{('719c3a40-2')+','+('719c3a40-1')}}" limit="9" title="最多选择9张图片" bind:__l="__l"></uni-file-picker></view></uni-section><image class="toux" src="{{api+fi}}" mode data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" bindtap="__e"></image></view>

1
unpackage/dist/build/mp-weixin/pages/demo/demo.wxss vendored

@ -1 +0,0 @@
.camera{width:430rpx;height:430rpx;border-radius:50%;margin:20px auto 0;position:relative}.camera image{position:absolute;width:100%;height:100%;z-index:10}.camera camera{width:428rpx;height:428rpx}button.takePhoto:not([size="mini"]){position:fixed;bottom:0;left:0;width:100vw;height:90rpx;border-radius:0}

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

@ -1 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"36ab":function(n,e,t){"use strict";var o;t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return o}));var u=function(){var n=this,e=n.$createElement;n._self._c},r=[]},"387a":function(n,e,t){"use strict";var o=t("a65d"),u=t.n(o);u.a},4850:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/index/dadui")]).then(function(){return resolve(t("ad05"))}.bind(null,t)).catch(t.oe)},u=function(){Promise.all([t.e("common/vendor"),t.e("components/index/jiuyuanzhan")]).then(function(){return resolve(t("afba"))}.bind(null,t)).catch(t.oe)},r={components:{Dindex:o,Jindex:u},data:function(){return{shenfen:"",isSupervisor:!1}},onLoad:function(){var e=n.getStorageSync("user").roles,t=e.find((function(n){return-1!=n.name.indexOf("检查")}));this.isSupervisor=!!t,this.shenfen=n.getStorageSync("user").organizationLevel},onReady:function(){},methods:{}};e.default=r}).call(this,t("543d")["default"])},"502f":function(n,e,t){"use strict";t.r(e);var o=t("36ab"),u=t("5f72");for(var r in u)"default"!==r&&function(n){t.d(e,n,(function(){return u[n]}))}(r);t("387a");var a,i=t("f0c5"),c=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);e["default"]=c.exports},"5f72":function(n,e,t){"use strict";t.r(e);var o=t("4850"),u=t.n(o);for(var r in o)"default"!==r&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=u.a},"8e33":function(n,e,t){"use strict";(function(n){t("899b");o(t("66fd"));var e=o(t("502f"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},a65d:function(n,e,t){}},[["8e33","common/runtime","common/vendor"]]]);

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

@ -1,10 +0,0 @@
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {
"dindex": "/components/index/dadui",
"jindex": "/components/index/jiuyuanzhan"
}
}

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

@ -1 +0,0 @@
<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>

1
unpackage/dist/build/mp-weixin/pages/index/index.wxss vendored

@ -1 +0,0 @@
.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/login/login.js vendored

@ -1 +1 @@
(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"]]]);
(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 r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=o.a},"455e":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return r})),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}})},r=[]},"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 r={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/tabbar/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=r}).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("455e"),o=e("087f");for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);e("84c6");var u,c=e("f0c5"),f=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);n["default"]=f.exports},f553:function(t,n,e){}},[["5ad7","common/runtime","common/vendor"]]]);

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

@ -1 +1 @@
<view class="page"><view class="top"><image src="{{$root.m0}}" alt class="_img"></image><view class="tops"></view></view><view class="items"><view class="title"><image mode="widthFix" src="{{$root.m1}}" alt class="_img"></image><view class="text">欢迎登录防消一体化综合治理平台</view></view><view class="item"><view class="label">账号</view><view class="input"><input type="text" placeholder="请输入账号" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" value="{{form.name}}" bindinput="__e"/></view></view><view class="item"><view class="label">密码</view><view class="input"><input type="password" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" value="{{form.password}}" bindinput="__e"/></view></view><view class="item"></view><view class="button"><button data-event-opts="{{[['tap',[['getUserInfo']]]]}}" bindtap="__e">登录</button></view></view></view>
<view class="page"><view class="top"><image src="{{$root.m0}}" alt class="_img"></image><view class="tops"></view></view><view class="items"><view class="title"><image mode="widthFix" src="{{$root.m1}}" alt class="_img"></image><view class="text">欢迎登录防消一体化综合治理平台</view></view><view class="item username"><view class="label">账号</view><view class="input"><input type="text" placeholder="请输入账号" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" value="{{form.name}}" bindinput="__e"/></view></view><view class="item password"><view class="label">密码</view><view class="input"><input type="password" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" value="{{form.password}}" bindinput="__e"/></view></view><view class="button"><button type="default" data-event-opts="{{[['tap',[['getUserInfo']]]]}}" bindtap="__e">登录</button></view></view><view class="bottom"><image src="../../static/login/bottom.png" mode></image></view></view>

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

@ -1 +1 @@
.page{background-color:#fafbff;color:grey}.top{width:100%;height:200rpx;position:absolute}.top ._img{width:100%;height:200rpx}.tops{height:40rpx;border-radius:20rpx 20rpx 0 0;position:relative;z-index:10;background-color:#fafbff;bottom:30rpx;left:0}.items{margin:0 60rpx}.items .title{margin:240rpx 0 60rpx 0}.items .title .text{margin-top:20rpx;font-size:30rpx;text-align:center;color:#939393}.items button{width:100%;color:#fff;border-radius:120rpx;background:#4963f4;box-shadow:2px 6px 8px 1px rgba(73,99,244,.8)}.items .item{margin:60rpx 0}.items .item .label{font-size:32rpx;margin-bottom:30rpx}.items .item label{color:#4963f4}.items .item label checkbox{border:#4963f4}.items .item .input{height:80rpx;background:#ecf2ff}.items .item .input input{height:100%}
.page{overflow:hidden;background-color:#fafbff;color:grey;display:flex;flex-direction:column;position:relative}.top{width:100%;height:200rpx;position:relative}.top ._img{width:100%;height:200rpx}.top .tops{width:100%;height:40rpx;border-radius:20rpx 20rpx 0 0;position:absolute;z-index:10;background-color:#fafbff;bottom:0rpx;left:0}.items{flex:1;display:flex;flex-direction:column;align-items:center;z-index:999}.items .title{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:58rpx}.items .title .text{margin-top:20rpx;font-size:26rpx;text-align:center;color:#939393}.items .item{width:80%}.items .item .label{font-size:32rpx;margin:26rpx 0}.items .item label{color:#4963f4}.items .item label checkbox{border:#4963f4}.items .item input{box-sizing:border-box;padding:0 16rpx;height:80rpx;background:#ecf2ff;border-radius:3px;font-size:26rpx}.items .item input input{height:100%}.items .username{margin-top:58rpx}.items .password{margin-bottom:76rpx}.button{width:100%}.button button[type="default"]{margin:0 auto;width:80%;color:#fff;border-radius:100rpx;background:#4963f4;box-shadow:2px rgba(73,99,244,.8)}.bottom{width:100%;height:200rpx}.bottom image{width:100%;height:100%}

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

@ -1 +0,0 @@
(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"]]]);

7
unpackage/dist/build/mp-weixin/pages/task/details.json vendored

@ -1,7 +0,0 @@
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#57B5FF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {}
}

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

@ -1 +0,0 @@
<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>

1
unpackage/dist/build/mp-weixin/pages/task/details.wxss vendored

@ -1 +0,0 @@
.button{margin-top:40rpx}.button button{width:200rpx;color:#fff;background:#317aff;border-radius:20rpx}.form .itembox{margin-top:20rpx;background:#fff}.form .itembox .item{display:flex;height:100rpx;border-top:2rpx solid #e4e7ec;box-sizing:border-box;margin:0 20rpx;font-size:32rpx}.form .itembox .item .left{color:#8d8c8f;line-height:100rpx}.form .itembox .item .right{flex:1;color:#100f19;text-align:right;line-height:100rpx}.form .itembox .item .right_inp{flex:1;color:#100f19;text-align:right;margin-top:26rpx}.form .itembox .item:nth-child(1){display:flex;height:100rpx;box-sizing:border-box;margin:0 20rpx;font-size:32rpx}

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

File diff suppressed because one or more lines are too long

11
unpackage/dist/build/mp-weixin/pages/task/taskapply.json vendored

@ -1,11 +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",
"task-add": "/components/task/add",
"task-det": "/components/task/details"
}
}

1
unpackage/dist/build/mp-weixin/pages/task/taskapply.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':'']}}" 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="{{'49b66464-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 style="width:100rpx;margin-top:10rpx;"><button data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">新增</button></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><block wx:if="{{item.$orig.approvalStatus=='通过'||item.$orig.approvalStatus=='驳回'}}"><view class="{{['jiancha',(item.$orig.approvalStatus=='通过')?'jiancha_color':'']}}">{{'已'+item.$orig.approvalStatus+''}}</view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.$orig.approvalStatus+''}}</view></block></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.creationTime}}</view><view data-event-opts="{{[['tap',[['chakan',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">查看</view></view></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="49b66464-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="49b66464-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="49b66464-4" cid="{{Cid}}" bind:__l="__l"></task-det></view></block></view></view></block></view>

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

@ -1 +0,0 @@
.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}

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

File diff suppressed because one or more lines are too long

11
unpackage/dist/build/mp-weixin/pages/task/taskreceive.json vendored

@ -1,11 +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",
"task-add": "/components/task/add",
"task-det": "/components/task/details"
}
}

1
unpackage/dist/build/mp-weixin/pages/task/taskreceive.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':'']}}" 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>

1
unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxss vendored

@ -1 +0,0 @@
.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}button::after{border:none}.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;display:flex}.listbox .item .namebox .name .type{width:50%;font-size:32rpx;font-weight:600;padding-left:10rpx}.typebox{display:flex;margin:14rpx 0}.typebox .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}.typebox .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 .type{flex:1;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);flex:1}.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}

1
unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.js vendored

@ -1 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/changePassword/changePassword"],{"10b7":function(t,n,r){"use strict";var e;r.d(n,"b",(function(){return s})),r.d(n,"c",(function(){return a})),r.d(n,"a",(function(){return e}));var s=function(){var t=this,n=t.$createElement;t._self._c},a=[]},"436c":function(t,n,r){"use strict";var e=r("6d68"),s=r.n(e);s.a},"4bf2":function(t,n,r){"use strict";r.r(n);var e=r("10b7"),s=r("6ae5");for(var a in s)"default"!==a&&function(t){r.d(n,t,(function(){return s[t]}))}(a);r("436c");var u,o=r("f0c5"),c=Object(o["a"])(s["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],u);n["default"]=c.exports},"6ae5":function(t,n,r){"use strict";r.r(n);var e=r("978c"),s=r.n(e);for(var a in e)"default"!==a&&function(t){r.d(n,t,(function(){return e[t]}))}(a);n["default"]=s.a},"6d68":function(t,n,r){},"978c":function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{list:{newpassword:"",oldpassword:"",truepassword:""}}},onLoad:function(){},methods:{tuichu:function(){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,n){}))}}};n.default=e},bd85:function(t,n,r){"use strict";(function(t){r("899b");e(r("66fd"));var n=e(r("4bf2"));function e(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=r,t(n.default)}).call(this,r("543d")["createPage"])}},[["bd85","common/runtime","common/vendor"]]]);

7
unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.json vendored

@ -1,7 +0,0 @@
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white",
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.wxml vendored

@ -1 +0,0 @@
<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>

1
unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.wxss vendored

@ -1 +0,0 @@
.page .top{background:linear-gradient(180deg,#317aff,#acd1ff);height:300rpx;padding:20rpx 40rpx}.page .top .box{display:flex}.page .top .box .portrait{width:150rpx;height:150rpx;border-radius:150rpx;border:6rpx solid #fff}.page .top .box .portrait ._img{width:100%;height:100%;border-radius:150rpx}.page .top .box .information{color:#fff;margin:30rpx 20rpx;font-size:36rpx}.page .top .box .information .name{margin-bottom:20rpx}.page .items{width:100%}.page .items .item{margin-top:20rpx;display:flex;background-color:#fff;margin:0 auto;height:80rpx;line-height:80rpx;padding-left:20rpx;border-bottom:2rpx solid #e4e7ec}.page .items .item .text{width:180rpx}.page .items .item .input{margin-left:20rpx;flex:1;height:100%}.page .items .item .input input{margin-top:20rpx}.page .button{margin-top:80rpx}.page .button button{width:100%;color:#fff;border-radius:120rpx;background:#4963f4;box-shadow:2px 6px 8px 1px rgba(73,99,244,.8)}

1
unpackage/dist/build/mp-weixin/pages/user/user.js vendored

@ -1 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/user"],{"00a3":function(t,n,e){"use strict";e.r(n);var u=e("22c3"),a=e("5a79");for(var c in a)"default"!==c&&function(t){e.d(n,t,(function(){return a[t]}))}(c);e("8d65");var r,o=e("f0c5"),i=Object(o["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);n["default"]=i.exports},"22c3":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement,u=(t._self._c,e("bae0")),a=e("f789");t.$mp.data=Object.assign({},{$root:{m0:u,m1:a}})},c=[]},"5a79":function(t,n,e){"use strict";e.r(n);var u=e("64ae"),a=e.n(u);for(var c in u)"default"!==c&&function(t){e.d(n,t,(function(){return u[t]}))}(c);n["default"]=a.a},"64ae":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{list:{}}},onLoad:function(){this.list=t.getStorageSync("user"),console.log(this.list)},methods:{changePassword:function(){t.navigateTo({url:"/pages/user/changePassword/changePassword"})},tuichu:function(){this.$auth.logout()}}};n.default=e}).call(this,e("543d")["default"])},"8d65":function(t,n,e){"use strict";var u=e("dc5e"),a=e.n(u);a.a},cd51:function(t,n,e){"use strict";(function(t){e("899b");u(e("66fd"));var n=u(e("00a3"));function u(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},dc5e:function(t,n,e){}},[["cd51","common/runtime","common/vendor"]]]);

7
unpackage/dist/build/mp-weixin/pages/user/user.json vendored

@ -1,7 +0,0 @@
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
"navigationBarTitleText": "",
"navigationBarTextStyle": "white",
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/pages/user/user.wxml vendored

@ -1 +0,0 @@
<view class="page"><view class="top"><view class="box"><view class="portrait"><image src="{{$root.m0}}" alt class="_img"></image></view><view class="information"><view class="name">{{''+list.name+''}}</view><view class="organization">{{''+list.organizationName+''}}</view></view></view></view><view class="items"><view class="item"><view data-event-opts="{{[['tap',[['changePassword']]]]}}" class="text" style="flex:1;" bindtap="__e">修改密码</view><image src="{{$root.m1}}" alt class="_img"></image></view></view><view data-event-opts="{{[['tap',[['tuichu']]]]}}" class="tuichudenglu" bindtap="__e">退出登录</view></view>

1
unpackage/dist/build/mp-weixin/pages/user/user.wxss vendored

@ -1 +0,0 @@
.page .top{background:linear-gradient(180deg,#317aff,#acd1ff);height:300rpx;padding:20rpx 40rpx}.page .top .box{display:flex}.page .top .box .portrait{width:150rpx;height:150rpx;border-radius:150rpx;border:6rpx solid #fff}.page .top .box .portrait ._img{width:100%;height:100%;border-radius:150rpx}.page .top .box .information{color:#fff;margin:30rpx 20rpx;font-size:36rpx}.page .top .box .information .name{margin-bottom:20rpx}.page .items{width:100%;margin-top:-40rpx}.page .items .item{display:flex;background-color:#fff;width:90%;margin:0 auto;height:80rpx;line-height:80rpx;border-radius:10rpx;padding-left:20rpx}.page .items .item ._img{height:40rpx;margin-top:20rpx;width:40rpx}.page .tuichudenglu{width:100%;color:#acacac;margin-top:40rpx;text-align:center}

BIN
unpackage/dist/build/mp-weixin/static/logo.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 24 KiB

10
unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/superwei-combox/components/superwei-combox/superwei-combox"],{"3a61":function(t,e,i){"use strict";i.r(e);var n=i("ea6f"),u=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=u.a},"3cb1":function(t,e,i){},"6ba6":function(t,e,i){"use strict";i.r(e);var n=i("e651"),u=i("3a61");for(var a in u)"default"!==a&&function(t){i.d(e,t,(function(){return u[t]}))}(a);i("a47d");var s,o=i("f0c5"),l=Object(o["a"])(u["default"],n["b"],n["c"],!1,null,"063eb96c",null,!1,n["a"],s);e["default"]=l.exports},a47d:function(t,e,i){"use strict";var n=i("3cb1"),u=i.n(n);u.a},e651:function(t,e,i){"use strict";i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uniIcons:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(i.bind(null,"b20b"))}},u=function(){var t=this,e=t.$createElement;t._self._c},a=[]},ea6f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={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=n}}]);
;(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__('543d')['createComponent'](__webpack_require__("6ba6"))
})
},
[['uni_modules/superwei-combox/components/superwei-combox/superwei-combox-create-component']]
]);

6
unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.json vendored

@ -1,6 +0,0 @@
{
"usingComponents": {
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
},
"component": true
}

1
unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.wxml vendored

@ -1 +0,0 @@
<view class="{{['superwei-combox','data-v-063eb96c',border?'':'superwei-combox__no-border']}}"><block wx:if="{{label}}"><view class="superwei-combox__label data-v-063eb96c" style="{{(labelStyle)}}"><text class="data-v-063eb96c">{{label}}</text></view></block><view class="superwei-combox__input-box data-v-063eb96c"><input class="superwei-combox__input data-v-063eb96c" type="text" placeholder="{{placeholder}}" placeholder-class="superwei-combox__input-plac" data-event-opts="{{[['input',[['__set_model',['','inputVal','$event',[]]],['onInput',['$event']]]],['focus',[['onFocus',['$event']]]],['blur',[['onBlur',['$event']]]]]}}" value="{{inputVal}}" bindinput="__e" bindfocus="__e" bindblur="__e"/><uni-icons vue-id="78cbe683-1" type="{{showSelector?'top':'bottom'}}" size="14" color="#999" data-event-opts="{{[['^click',[['toggleSelector']]]]}}" bind:click="__e" class="data-v-063eb96c" bind:__l="__l"></uni-icons></view><block wx:if="{{showSelector}}"><view class="superwei-combox__selector data-v-063eb96c"><view class="uni-popper__arrow data-v-063eb96c"></view><scroll-view class="superwei-combox__selector-scroll data-v-063eb96c" scroll-y="true"><block wx:if="{{filterCandidatesLength===0}}"><view class="superwei-combox__selector-empty data-v-063eb96c"><text class="data-v-063eb96c">{{emptyTips}}</text></view></block><block wx:for="{{filterCandidates}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="superwei-combox__selector-item data-v-063eb96c"><block wx:if="{{isJSON?item.disabled?true:false:false}}"><text style="{{('color:'+disabledColor+';cursor: not-allowed;')}}" class="data-v-063eb96c">{{isJSON?item[keyName]?item[keyName]:'字段'+keyName+'不存在':item}}</text></block><block wx:else><text data-event-opts="{{[['tap',[['onSelectorClick',[index]]]]]}}" style="{{((isJSON?item[keyName]?item[keyName]==inputVal:false:item==inputVal)?'font-weight: bold;background-color: '+selectedBackground+';color: '+selectedColor:'')}}" bindtap="__e" class="data-v-063eb96c">{{isJSON?item[keyName]?item[keyName]:'字段'+keyName+'不存在':item}}</text></block></view></block></scroll-view></view></block></view>

5
unpackage/dist/build/mp-weixin/uni_modules/superwei-combox/components/superwei-combox/superwei-combox.wxss vendored

@ -1,5 +0,0 @@
@media only screen and (max-width:999px){.superwei-combox.data-v-063eb96c{font-size:14px;border:0 solid #12b7f5;border-radius:4px;padding:6px 10px;position:relative;display:flex;flex-direction:row;align-items:center}}@media only screen and (min-width:1000px){.superwei-combox.data-v-063eb96c{font-size:14px;border:2px solid #12b7f5;border-radius:4px;padding:6px 10px;position:relative;display:flex;flex-direction:row;align-items:center}}.superwei-combox__label.data-v-063eb96c{font-size:16px;line-height:22px;padding-right:10px;color:#999}.superwei-combox__input-box.data-v-063eb96c{position:relative;display:flex;flex:1;flex-direction:row;align-items:center;cursor:pointer}.superwei-combox__input.data-v-063eb96c{flex:1;font-size:14px;height:22px;line-height:22px}.superwei-combox__input-plac.data-v-063eb96c{font-size:14px;color:#ccc}.superwei-combox__selector.data-v-063eb96c{box-sizing:border-box;position:absolute;top:calc(100% + 12px);left:0;width:100%;background-color:#fff;border:1px solid #ebeef5;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);z-index:2;padding:4px 0}.superwei-combox__selector-scroll.data-v-063eb96c{max-height:200px;box-sizing:border-box}.superwei-combox__selector-empty.data-v-063eb96c,
.superwei-combox__selector-item.data-v-063eb96c{display:flex;cursor:pointer;line-height:36px;font-size:14px;text-align:center;padding:0 0}.superwei-combox__selector-empty text.data-v-063eb96c,
.superwei-combox__selector-item text.data-v-063eb96c{width:100%}.superwei-combox__selector-item.data-v-063eb96c:hover{background-color:#f9f9f9}.superwei-combox__selector-empty.data-v-063eb96c:last-child,
.superwei-combox__selector-item.data-v-063eb96c:last-child{border-bottom:none}.uni-popper__arrow.data-v-063eb96c,
.uni-popper__arrow.data-v-063eb96c::after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:6px}.uni-popper__arrow.data-v-063eb96c{-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));top:-6px;left:10%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.uni-popper__arrow.data-v-063eb96c::after{content:" ";top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.superwei-combox__no-border.data-v-063eb96c{border:none}

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/components/task/details.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/user.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js.map vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map vendored

File diff suppressed because one or more lines are too long

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

@ -3,14 +3,13 @@
"pages/login/login",
"pages/rescue/task_implement/implement",
"pages/changePassword/changePassword",
"pages/demo/demo",
"pages/rescue/task_implement/details",
"pages/task/taskreceive",
"pages/index/index",
"pages/user/user",
"pages/tabbar/three",
"pages/tabbar/index",
"pages/tabbar/user",
"pages/dadui/jiancha/jiancha",
"pages/dadui/jiuyuan/jiuyuan",
"pages/task/taskapply"
"pages/tabbar/tow"
],
"subPackages": [],
"window": {
@ -25,16 +24,16 @@
"selectedColor": "#5187FF",
"list": [
{
"pagePath": "pages/index/index"
"pagePath": "pages/tabbar/index"
},
{
"pagePath": "pages/task/taskapply"
"pagePath": "pages/tabbar/tow"
},
{
"pagePath": "pages/task/taskreceive"
"pagePath": "pages/tabbar/three"
},
{
"pagePath": "pages/user/user"
"pagePath": "pages/tabbar/user"
}
]
},

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

@ -1,182 +1,2 @@
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/main"],[
/* 0 */
/*!******************************************!*\
!*** F:/2/Jinan_app/Jinan_app/main.js ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni, createApp) {__webpack_require__(/*! uni-pages */ 5);
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 6));
var _auth = _interopRequireDefault(__webpack_require__(/*! ./libs/auth.js */ 12));
var _alert = _interopRequireDefault(__webpack_require__(/*! ./libs/alert.js */ 20));
var _request = _interopRequireDefault(__webpack_require__(/*! ./libs/request.js */ 15));
var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 19));
var _store = _interopRequireDefault(__webpack_require__(/*! ./store.js */ 13));
var _qs = _interopRequireDefault(__webpack_require__(/*! qs */ 21));
var _requestMiniprogram = __webpack_require__(/*! @escook/request-miniprogram */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} // @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;uni.$http = _requestMiniprogram.$http;
_requestMiniprogram.$http.baseUrl = 'https://121.36.37.70:8204';
_vue.default.config.productionTip = false;
_App.default.mpType = 'app';
_vue.default.prototype.$auth = _auth.default;
_vue.default.prototype.$alert = _alert.default;
_vue.default.prototype.$request = _request.default;
_vue.default.prototype.$config = _config.default;
var app = new _vue.default(_objectSpread(_objectSpread({},
_App.default), {}, {
store: _store.default }));
uni.addInterceptor('request', {
invoke: function invoke(args) {
// request 触发前拼接 url
var
data =
args.data,method = args.method;
if (method === "GET") {
if (uni.getStorageSync("token")) {
_request.default.getToken();
}
// 如果是get请求,且params是数组类型如arr=[1,2],则转换成arr=1&arr=2
var newData = _qs.default.stringify(data, {
arrayFormat: "repeat" });
console.log(newData, 7777);
delete args.data;
args.url = "".concat(args.url, "?").concat(newData);
}
},
success: function success(args) {},
fail: function fail(err) {},
complete: function complete(res) {} });
createApp(app).$mount();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createApp"]))
/***/ }),
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */
/*!******************************************!*\
!*** F:/2/Jinan_app/Jinan_app/App.vue ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 7);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=css& */ 9);
/* harmony import */ var _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
var render, staticRenderFns, recyclableRender, components
var renderjs
/* normalize component */
var component = Object(_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"],
render,
staticRenderFns,
false,
null,
null,
null,
false,
components,
renderjs
)
component.options.__file = "App.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/* 7 */
/*!*******************************************************************!*\
!*** F:/2/Jinan_app/Jinan_app/App.vue?vue&type=script&lang=js& ***!
\*******************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js& */ 8);
/* harmony import */ var _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 8 */
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!F:/2/Jinan_app/Jinan_app/App.vue?vue&type=script&lang=js& ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default =
{
onLaunch: function onLaunch(options) {
this.$auth.getLocalUserInfo();
this.$store.commit('savePath', options.path); //打开时访问的链接
},
onShow: function onShow() {
console.log('-------------- 小程序显示 --------------');
},
onHide: function onHide() {
console.log('-------------- bye bye --------------');
} };exports.default = _default;
/***/ }),
/* 9 */
/*!***************************************************************************!*\
!*** F:/2/Jinan_app/Jinan_app/App.vue?vue&type=style&index=0&lang=css& ***!
\***************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css& */ 10);
/* harmony import */ var _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_3_4_7_20220422_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 10 */
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!F:/2/Jinan_app/Jinan_app/App.vue?vue&type=style&index=0&lang=css& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
],[[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

15
unpackage/dist/dev/mp-weixin/common/main.wxss vendored

@ -28,4 +28,19 @@
checkbox{
border: #4963F4;
}
button[type='primary'] {
background-color: #327AFE;
color: #fff;
}
button[type='default'] {
background-color: #FFFFFF;
border: 1px solid rgba(0,0,0,0.15);
color: rgba(0,0,0,0.65);
}
.buttons{
display: flex;
}
.button button{
margin: 0 6rpx;
}

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save