Browse Source

推送

master
jingbowen 2 years ago
parent
commit
acc9d4caa5
  1. 30
      components/task/add.vue
  2. 8
      libs/auth.js
  3. 44
      libs/request.js
  4. 2
      manifest.json
  5. 9
      pages.json
  6. 6
      pages/index/index.vue
  7. 3
      pages/login/login.vue
  8. 848
      pages/task/new_file.vue
  9. 37
      pages/task/taskapply.vue
  10. 308
      pages/task/taskreceive.vue
  11. 143
      pages/user/changePassword/changePassword.vue
  12. 29
      pages/user/user.vue
  13. BIN
      static/arrow.png
  14. 0
      unpackage/dist/build/.automator/mp-weixin/.automator.json
  15. 4
      unpackage/dist/build/mp-weixin/app.js
  16. 53
      unpackage/dist/build/mp-weixin/app.json
  17. 3
      unpackage/dist/build/mp-weixin/app.wxss
  18. 1
      unpackage/dist/build/mp-weixin/common/main.js
  19. 1
      unpackage/dist/build/mp-weixin/common/main.wxss
  20. 4
      unpackage/dist/build/mp-weixin/common/runtime.js
  21. 13
      unpackage/dist/build/mp-weixin/common/vendor.js
  22. 10
      unpackage/dist/build/mp-weixin/components/task/add.js
  23. 6
      unpackage/dist/build/mp-weixin/components/task/add.json
  24. 1
      unpackage/dist/build/mp-weixin/components/task/add.wxml
  25. 8
      unpackage/dist/build/mp-weixin/components/task/add.wxss
  26. 10
      unpackage/dist/build/mp-weixin/components/task/details.js
  27. 4
      unpackage/dist/build/mp-weixin/components/task/details.json
  28. 1
      unpackage/dist/build/mp-weixin/components/task/details.wxml
  29. 8
      unpackage/dist/build/mp-weixin/components/task/details.wxss
  30. 1
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.js
  31. 9
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.json
  32. 1
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxml
  33. 1
      unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.wxss
  34. 1
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.js
  35. 7
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.json
  36. 1
      unpackage/dist/build/mp-weixin/pages/dadui/jiuyuan/jiuyuan.wxml
  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. 9
      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. 1
      unpackage/dist/build/mp-weixin/pages/login/login.js
  46. 7
      unpackage/dist/build/mp-weixin/pages/login/login.json
  47. 1
      unpackage/dist/build/mp-weixin/pages/login/login.wxml
  48. 1
      unpackage/dist/build/mp-weixin/pages/login/login.wxss
  49. 1
      unpackage/dist/build/mp-weixin/pages/task/details.js
  50. 7
      unpackage/dist/build/mp-weixin/pages/task/details.json
  51. 1
      unpackage/dist/build/mp-weixin/pages/task/details.wxml
  52. 1
      unpackage/dist/build/mp-weixin/pages/task/details.wxss
  53. 1
      unpackage/dist/build/mp-weixin/pages/task/taskapply.js
  54. 11
      unpackage/dist/build/mp-weixin/pages/task/taskapply.json
  55. 1
      unpackage/dist/build/mp-weixin/pages/task/taskapply.wxml
  56. 1
      unpackage/dist/build/mp-weixin/pages/task/taskapply.wxss
  57. 1
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.js
  58. 11
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.json
  59. 1
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxml
  60. 1
      unpackage/dist/build/mp-weixin/pages/task/taskreceive.wxss
  61. 1
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.js
  62. 7
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.json
  63. 1
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.wxml
  64. 1
      unpackage/dist/build/mp-weixin/pages/user/changePassword/changePassword.wxss
  65. 1
      unpackage/dist/build/mp-weixin/pages/user/user.js
  66. 7
      unpackage/dist/build/mp-weixin/pages/user/user.json
  67. 1
      unpackage/dist/build/mp-weixin/pages/user/user.wxml
  68. 1
      unpackage/dist/build/mp-weixin/pages/user/user.wxss
  69. 24
      unpackage/dist/build/mp-weixin/project.config.json
  70. 7
      unpackage/dist/build/mp-weixin/sitemap.json
  71. BIN
      unpackage/dist/build/mp-weixin/static/4412.png
  72. BIN
      unpackage/dist/build/mp-weixin/static/446.png
  73. BIN
      unpackage/dist/build/mp-weixin/static/447.png
  74. BIN
      unpackage/dist/build/mp-weixin/static/arrow.png
  75. BIN
      unpackage/dist/build/mp-weixin/static/dadui/10.png
  76. BIN
      unpackage/dist/build/mp-weixin/static/dadui/11.png
  77. BIN
      unpackage/dist/build/mp-weixin/static/dadui/9.png
  78. BIN
      unpackage/dist/build/mp-weixin/static/down.png
  79. BIN
      unpackage/dist/build/mp-weixin/static/home.png
  80. BIN
      unpackage/dist/build/mp-weixin/static/login/1.jpg
  81. BIN
      unpackage/dist/build/mp-weixin/static/login/1.webp
  82. BIN
      unpackage/dist/build/mp-weixin/static/login/banner.jpg
  83. BIN
      unpackage/dist/build/mp-weixin/static/login/bottom.png
  84. BIN
      unpackage/dist/build/mp-weixin/static/login/title.png
  85. BIN
      unpackage/dist/build/mp-weixin/static/logo.png
  86. BIN
      unpackage/dist/build/mp-weixin/static/tab/4325.png
  87. BIN
      unpackage/dist/build/mp-weixin/static/tab/43251.png
  88. BIN
      unpackage/dist/build/mp-weixin/static/tab/4328.png
  89. BIN
      unpackage/dist/build/mp-weixin/static/tab/43281.png
  90. BIN
      unpackage/dist/build/mp-weixin/static/tab/home.png
  91. BIN
      unpackage/dist/build/mp-weixin/static/tab/jiancha.png
  92. BIN
      unpackage/dist/build/mp-weixin/static/tab/jiuyuan.png
  93. BIN
      unpackage/dist/build/mp-weixin/static/tab/user.png
  94. BIN
      unpackage/dist/build/mp-weixin/static/tab/user1.png
  95. BIN
      unpackage/dist/build/mp-weixin/static/zeren/4508.png
  96. BIN
      unpackage/dist/build/mp-weixin/static/zeren/4511.png
  97. 10
      unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js
  98. 7
      unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.json
  99. 1
      unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.wxml
  100. 1
      unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.wxss
  101. Some files were not shown because too many files have changed in this diff Show More

30
components/task/add.vue

@ -6,13 +6,18 @@
<text style="color: red;">*</text>任务名称
</view>
<view class="">
<radio-group class="radio-group" name="" @change="task($event)">
<radio-group v-if="!isSupervisor" class="radio-group" name="" @change="task($event)">
<label class="radio" style="margin-right: 20rpx" v-for="(item,key) in data1" :key="item.name">
<radio color="#317AFF" :value="item.name" />
<text>{{item.name}}</text>
</label>
</radio-group>
<radio-group v-else class="radio-group" name="" @change="task($event)">
<label class="radio" style="margin-right: 20rpx" v-for="(item,key) in data2" :key="item.name">
<radio color="#317AFF" :value="item.name" />
<text>{{item.name}}</text>
</label>
</radio-group>
</view>
</view>
<view class="content_item">
@ -28,7 +33,7 @@
<text style="color: red;">*</text>协助机构
</view>
<checkbox-group v-if="isSupervisor" class="checkbox-group" @change="aaa($event)">
<checkbox-group v-if="!isSupervisor" class="checkbox-group" @change="aaa($event)">
<label v-for="(item,key) in supervisorList " :key="key" class="checkbox">
<checkbox color="#317AFF" style="transform: scale(0.7);" :value="item.id" />
<text>{{item.name}}</text>
@ -133,8 +138,13 @@
PageSize: 9999
}
this.$request.get('/api/Organizations', p, (data, res) => {
console.log(res);
this.og = res.items
this.og=[]
for(let i=0;i<res.items.length;i++){
if(res.items[i].level=="squadron"){
this.og.push(res.items[i])
}
}
// this.og = res.items
})
},
aaa(e) {
@ -176,7 +186,8 @@
this.companyName = this.companies[e.detail.value].companyName
},
bbb(e) {
console.log(e);
console.log(e,7800);
this.prams.company=e.id
},
apply() {
if (!this.prams.task || !this.prams.company || !this.prams.supervisor.length) {
@ -184,18 +195,19 @@
}
let selectedMonth = this.selectedMonth < 10 ? "0" + this.selectedMonth : this.selectedMonth;
let selectedTime = this.selectedYear + '-' + selectedMonth + '-' + '01'
console.log(this.prams,444);
let body = {
month: selectedTime,
taskName: this.prams.task,
taskType: this.prams.task,
companyId: this.prams.company,
organizationId: this.OrganizationId,
supervisorIds: this.prams.supervisor,
// assitantOrganizationIds: this.isSupervisor ? this.prams.supervisor : [],
supervisorIds: this.isSupervisor ? [] : this.prams.supervisor,
assitantOrganizationIds: this.isSupervisor ? this.prams.supervisor : [],
creationType: '申领任务',
approvalStatus: '待处理'
}
// return
this.$request.post('/api/PlanTasks', body, (data, res) => {
console.log(res);
if (res.status == 500) {

8
libs/auth.js

@ -129,13 +129,13 @@ const login = {
logout() {
store.state.user = {
user: null,
path: '/pages/index/index'
path: '/pages/login/login'
}
store.commit('saveUser', null);
store.commit('saveToken', null)
// uni.setStorageSync("token",null);
uni.clearStorage();
uni.reLaunch({
url: '/pages/index/index'
url: '/pages/login/login'
})
console.log('退出登录。。。', this.user)

44
libs/request.js

@ -71,12 +71,11 @@ const request = {
})
},
get(url, data, callback) {
async get(url, data, callback) {
console.log(data,8080);
this.getToken()
const user = store.state.token || {};
uni.request({
await uni.request({
url: config.api + url, // 仅为示例,并非真实的接口地址
method: 'GET',
data: data,
@ -114,7 +113,7 @@ const request = {
},
success(res) {
const data = res.data;
console.log(res, '------------- 请求返回的数据 -------------')
// console.log(res, '------------- 请求返回的数据 -------------')
if (data.status == -100) {
console.log('没有登录');
common.askLogin()
@ -136,7 +135,44 @@ const request = {
//TODO handle the exception
}
},
patch(url, data, callback) {
if(url!="/api/Accounts/RefreshToken"&&user!={}){
this.getToken()
}
const user = store.state.token || {};
try {
uni.request({
url: config.api + url, // 仅为示例,并非真实的接口地址
method: 'PATCH',
data: data,
header: {
'Authorization': "Bearer "+ user.token || '',
},
success(res) {
const data = res.data;
// console.log(res, '------------- 请求返回的数据 -------------')
if (data.status == -100) {
console.log('没有登录');
common.askLogin()
} else if (data.status == -1) {
common.showError(data.msg)
callback(data.data, data)
} else {
// 第一个参数是data,第二个是全部数据,有时候会用到msg之类的数据,
// 默认只要第一个值即可获取数据
callback(data.data, data)
}
},
fail: err => {
console.error(err, 8877897)
}
})
} catch (e) {
console.log(e)
//TODO handle the exception
}
},
get2(url, data, callback) {
const user = store.state.user || {};
uni.request({

2
manifest.json

@ -52,7 +52,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wxe28c7af6841ee5db",
"appid" : "wx762e3ccf09854482",
"setting" : {
"urlCheck" : false
},

9
pages.json

@ -11,6 +11,15 @@
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/user/changePassword/changePassword",
"style": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#317AFF",
"navigationBarTitleText": "消防一体化综合治理平台",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/demo/demo",
"style": {

6
pages/index/index.vue

@ -277,11 +277,11 @@
},
getSupervisor(){
this.$request.get("/api/Users/Inspectors",{}, (data, res) => {
console.log(78908);
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);

3
pages/login/login.vue

@ -87,7 +87,7 @@
password: this.form.password
}, (data, res) => {
uni.hideLoading();
if (res.status == "401") {
if(res.status==500){
return this.$alert.showError("用户名或密码错误")
}
uni.setStorageSync("token", res)
@ -95,6 +95,7 @@
console.log(store.state.token);
that.$request.get("/api/Accounts/Profile", {}, (data, res) => {
console.log(res);
uni.setStorageSync("user", res)
uni.reLaunch({
url: "/pages/index/index",

848
pages/task/new_file.vue

@ -0,0 +1,848 @@
<template>
<view class="page">
<view class="top">
<view class="pure_top">
</view>
<view class="calendar">
<view class="date_year">
<view style="display: flex;">
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;"
alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
{{today.month}}.{{dates.day}}
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month}" 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>
</view>
</template>
<script>
import TaskAdd from "../../components/task/add.vue"
import TaskDet from "../../components/task/details.vue"
export default {
components: {
TaskAdd,
TaskDet
},
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">
.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: 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: 94%;
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>

37
pages/task/taskapply.vue

@ -10,7 +10,8 @@
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;"
alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
@ -92,7 +93,8 @@
<view class="zhu">{{item.organization.name}}</view>
</view>
<view v-if="item.approvalStatus=='通过'||item.approvalStatus=='驳回'" class="jiancha" :class="{jiancha_color:item.approvalStatus=='通过'}">
<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;">
@ -254,11 +256,9 @@
}
}
},
user: [
{
user: [{
tasknub: 0
}
],
}],
isSupervisor: false,
list: [],
nub: 0,
@ -324,7 +324,7 @@
if (res[i].userName = 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
@ -443,6 +443,7 @@
top: 0;
left: 0;
}
.taskadd {
width: 100vw;
height: 100vh;
@ -451,28 +452,33 @@
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;
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;
@ -480,22 +486,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: 220rpx;
@ -724,6 +734,14 @@
width: 70%;
height: 60rpx;
line-height: 60rpx;
white-space: nowrap;
/*内容超宽后禁止换行显示*/
overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
/*文字超出部分以省略号显示*/
}
.tag {
@ -735,6 +753,7 @@
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
@ -746,6 +765,7 @@
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;
}
}
}
@ -801,6 +821,7 @@
margin-right: 10rpx;
}
.jiancha_color {
color: #14B488;
}

308
pages/task/taskreceive.vue

@ -10,7 +10,8 @@
<picker :value="dates.year" mode="date" fields="year" @change="dateYear($event)">
<view>{{dates.year}}</view>
</picker>
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;" alt="">
<img src="../../static/down.png" style="width: 30rpx;height: 30rpx; margin:10rpx 0 0 10rpx;"
alt="">
</view>
<view style="margin: 0 10rpx;">|</view>
<view class="">
@ -18,7 +19,7 @@
</view>
</view>
<view class="monthbox">
<view :class="{month_color : item==dates.month,month_color2 : item>month}" class="month_class" v-for="(item,key) in months"
<view :class="{month_color : item==dates.month}" class="month_class" v-for="(item,key) in months"
:key="key" @tap="dateMonth(item)">
<text>{{item}}</text>
</view>
@ -31,7 +32,7 @@
<view class="left">
<img src="@/static/4412.png" alt="">
<view class="">
<text>{{item.name}}</text>
</view>
</view>
<view class="right">
@ -54,6 +55,9 @@
</view>
</view>
<!-- <view style="width: 100rpx; margin-top: 10rpx;">
<button @tap="index=true">新增</button>
</view> -->
</view>
</view>
@ -61,17 +65,12 @@
<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
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.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="">
@ -82,6 +81,17 @@
</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;">
@ -89,13 +99,18 @@
<view class="zhu">{{item.organization.name}}</view>
</view>
<view class="jiancha">
待检查
<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;">
<button>同意</button>
<button>驳回</button>
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
<view class="staffbox">
<!-- <view class="staffbox">
<view class="staff">
<view>协助人员:</view>
<view v-for="(i,k) in item.supervisors" :key="k"
@ -106,42 +121,77 @@
</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" >
<!-- <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 class="login-box" v-if="!identity">
<view class="login-text">
登录平台,在线处理业务
</view>
<view class="login-button" >
<button @tap="login()">登录</button>
<view class="item_content" v-if="index2">
<TaskDet :cid="Cid"></TaskDet>
</view>
</view>
</view> -->
</view>
</view>
</template>
<script>
import TaskAdd from "../../components/task/add.vue"
import TaskDet from "../../components/task/details.vue"
export default {
components: {
TaskAdd,
TaskDet
},
data() {
return {
title: 'Hello',
@ -150,13 +200,13 @@
chartData: {
series: [{
data: [{
name: "上级指派",
name: "已接任务",
value: 0
}, {
name: "自主任务",
name: "未接任务",
value: 0
}, {
name: "申领任务",
name: "拒绝任务",
value: 0
}, ]
}]
@ -211,15 +261,18 @@
}
}
},
user: [
{
user: [{
tasknub: 0
}
],
}],
isSupervisor: false,
list: [],
month:0,
nub: 0,
index: false,
index2: false,
OrganizationId:"",
userId:"",
Cid: "",
xuanchuan: false,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
@ -228,17 +281,18 @@
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month = date.getMonth() + 1
this.month=date.getMonth() + 1
this.dates.year = date.getFullYear()
this.dates.day = date.getDate()
this.getOrganizations()
// this.getOrganizations()
},
onReady() {
// this.getOrganizations()
this.getOrganizations()
this.OrganizationId = uni.getStorageSync("user").organizationId
this.userId = uni.getStorageSync("user").id
},
methods: {
getOrganizations() {
@ -246,6 +300,7 @@
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
@ -272,14 +327,14 @@
},
getSupervisor() {
this.$request.get("/api/Users/Inspectors", {}, (data, res) => {
console.log(78908);
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);
// console.log(this.user,8070);
for (let i = 0; i < this.user.length; i++) {
this.user[i]["tasknub"] = 0
this.user[i]["rate"] = 0
@ -291,31 +346,26 @@
},
getTaskListOfStation(item) {
console.log(item);
let organizationId = uni.getStorageSync("user").organizationId
const that = this
let OrganizationId=uni.getStorageSync("user").organizationId
let selectedTime = this.dates.year + '-' + this.dates.month + '-' + '01'
let params = {
Month: selectedTime,
SupervisorId: this.isSupervisor ? item : null,
AssitantOrganizationId: this.isSupervisor ? null : OrganizationId,
SupervisorId: this.isSupervisor ? this.userId : null,
AssitantOrganizationId: this.isSupervisor ? null : this.OrganizationId,
CreatorId: item,
PageNumber: 1,
approvalStatuses:['待检查','通过','已检查'],
// approvalStatuses:'',
approvalStatus: ['待处理', '通过', '驳回', '待检查', '已检查'],
PageSize: 9999
}
// const { data: res } = uni.$http.get('/api/PlanTasks',params)
// // if (res.meta.status !== 200) return uni.$showMsg()
// console.log(res);
this.$request.get("/api/PlanTasks", params, (data, res) => {
console.log(res);
this.list = res.items
this.list["tasknub"] = 0
for (let e = 0; e < this.user.length; e++) {
for (let i = 0; i < that.list.length; i++) {
if(that.list[i].company.companyName.length>9){
let text = that.list[i].company.companyName.substring(0, 9)
that.list[i].company.companyName=text+"..."
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)
@ -337,29 +387,31 @@
this.chartData = {
series: [{
data: [{
name: "上级指派",
name: "已接任务",
value: 0
}, {
name: "自主任务",
name: "未接任务",
value: 0
}, {
name: "申领任务",
name: "拒绝任务",
value: 0
}, ]
}]
}
for (let i = 0; i < this.list.length; i++) {
for (let e = 0; e < this.chartData.series[0].data.length; e++) {
if (this.chartData.series[0].data[e].name == this.list[i].creationType) {
this.chartData.series[0].data[e].value += 1
this.nub = this.nub + 1
this.opts.subtitle.name = JSON.stringify(this.nub)
}
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) {
@ -368,12 +420,22 @@
this.getOrganizations()
},
dateMonth(e) {
if(e>this.month){
return
}
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({
@ -392,6 +454,68 @@
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;
@ -419,9 +543,7 @@
background-color: #317AFF;
color: #fff;
}
.month_color2{
color: #B5B5B5;
}
.calendar {
z-index: 1;
position: relative;
@ -604,7 +726,7 @@
}
.listbox {
width: 90%;
width: 94%;
margin: -10rpx auto 0 auto;
.item {
@ -622,7 +744,33 @@
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;
@ -633,6 +781,7 @@
border: 1px solid #FF6F51;
background: rgba(255, 111, 81, 0.2400);
border-radius: 40rpx 40rpx 40rpx 40rpx;
}
.tag2 {
@ -643,19 +792,12 @@
color: #14B488;
border: 1px solid rgba(30, 232, 177, 0.8);
background: rgba(30, 232, 177, 0.24);
font-size: 22rpx;
border-radius: 40rpx 40rpx 40rpx 40rpx;
font-size: 18rpx;
}
}
}
}
.typebox {
display: flex;
margin: 14rpx 0;
.type {
width: 50%;
flex: 1;
// border-left: #327AFE 6rpx solid;
font-size: 32rpx;
font-weight: 600;
@ -696,11 +838,14 @@
}
.jiancha {
color: #FFBA19;
margin-right: 10rpx;
}
.jiancha_color {
color: #14B488;
}
}
.implement {
@ -712,10 +857,7 @@
height: 100%;
padding-top: 20rpx;
}
img{
width: 100rpx;
height: 100rpx;
}
// button {
// float: right;
// width: 80rpx;

143
pages/user/changePassword/changePassword.vue

@ -0,0 +1,143 @@
<template>
<view class="page">
<view class="items">
<view class="item">
<view class="text" @tap="changePassword()">
旧密码
</view>
<view class="input">
<input type="password" placeholder="请输入旧密码" v-model="list.oldpassword">
</view>
</view>
<view class="item">
<view class="text" @tap="changePassword()">
新密码
</view>
<view class="input">
<input type="password" placeholder="请输入新密码" v-model="list.newpassword">
</view>
</view>
<view class="item">
<view class="text" @tap="changePassword()">
确认密码
</view>
<view class="input">
<input type="password" placeholder="请确认密码" v-model="list.truepassword">
</view>
</view>
</view>
<view class="button">
<button>确定</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list:{
newpassword:"",
oldpassword:"",
truepassword:""
}
}
},
onLoad() {
},
methods: {
tuichu(){
if(this.list.truepassword!=this.list.newpassword){
return this.$alert.showError("两次输入不一致")
}
let bady={
oldPassword: this.list.oldpassword,
newPassword: this.list.newpassword
}
this.$request.patch('/api/Accounts/ChangePassword',bady,(data,res)=>{
})
}
}
}
</script>
<style lang="scss">
.page {
.top{
background: linear-gradient(180deg, #317AFF 0%, #ACD1FF 100%);
height: 300rpx;
padding: 20rpx 40rpx;
.box{
display: flex;
.portrait{
width: 150rpx;
height: 150rpx;
border-radius: 150rpx;
border: 6rpx solid #fff;
img{
width: 100%;
height: 100%;
border-radius: 150rpx;
}
}
.information{
color: #fff;
margin: 30rpx 20rpx;
font-size: 36rpx;
.name{
margin-bottom: 20rpx;
}
}
}
}
.items{
width: 100%;
// margin-top: -40rpx;
.item{
margin-top: 20rpx;
display: flex;
background-color: #fff;
// width: 90%;
margin: 0 auto;
height: 80rpx;
line-height: 80rpx;
// border-radius: 10rpx;
padding-left: 20rpx;
border-bottom: 2rpx solid #E4E7EC;
.text{
width: 180rpx;
}
.input{
margin-left: 20rpx;
flex: 1;
height: 100%;
input{
margin-top: 20rpx;
}
}
}
}
.button{
margin-top: 80rpx;
button {
width: 100%;
// height: 140rpx;
// background: linear-gradient(180deg, #317AFF 0%, #0052E6 100%);
color: #fff;
border-radius: 120rpx;
background: #4963F4;
box-shadow: 2px 6px 8px 1px rgba(73, 99, 244, 0.8);
}
}
}
</style>

29
pages/user/user.vue

@ -3,7 +3,7 @@
<view class="top">
<view class="box">
<view class="portrait">
<!-- <img src="../../static/logo.png" alt=""> -->
<img src="../../static/logo.png" alt="">
</view>
<view class="information">
<view class="name">
@ -17,11 +17,15 @@
</view>
<view class="items">
<view class="item">
<view class="text" @tap="changePassword()">
<view style="flex: 1;" class="text" @tap="changePassword()">
修改密码
</view>
<img src="../../static/arrow.png" alt="">
</view>
</view>
<view @tap="tuichu()" class="tuichudenglu">
退出登录
</view>
</view>
</template>
@ -38,7 +42,12 @@
},
methods: {
changePassword(){
console.log(123);
uni.navigateTo({
url:"/pages/user/changePassword/changePassword"
})
},
tuichu(){
this.$auth.logout()
}
}
}
@ -78,7 +87,9 @@
.items{
width: 100%;
margin-top: -40rpx;
.item{
display: flex;
background-color: #fff;
width: 90%;
margin: 0 auto;
@ -86,8 +97,20 @@
line-height: 80rpx;
border-radius: 10rpx;
padding-left: 20rpx;
img{
height:40rpx ;
margin-top: 20rpx;
width: 40rpx;
}
}
}
.tuichudenglu{
width: 100%;
color: #acacac;
margin-top: 40rpx;
text-align: center;
}
}

BIN
static/arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

0
unpackage/dist/build/.automator/mp-weixin/.automator.json vendored

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

@ -0,0 +1,4 @@
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')

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

@ -0,0 +1,53 @@
{
"pages": [
"pages/login/login",
"pages/user/changePassword/changePassword",
"pages/demo/demo",
"pages/task/details",
"pages/task/taskreceive",
"pages/index/index",
"pages/user/user",
"pages/dadui/jiancha/jiancha",
"pages/dadui/jiuyuan/jiuyuan",
"pages/task/taskapply"
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#353535",
"selectedColor": "#5187FF",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tab/43251.png",
"selectedIconPath": "static/tab/4325.png",
"text": "工作任务"
},
{
"pagePath": "pages/task/taskapply",
"iconPath": "static/tab/43281.png",
"selectedIconPath": "static/tab/4328.png",
"text": "申请"
},
{
"pagePath": "pages/task/taskreceive",
"iconPath": "static/tab/43281.png",
"selectedIconPath": "static/tab/4328.png",
"text": "领取"
},
{
"pagePath": "pages/user/user",
"iconPath": "static/tab/user.png",
"selectedIconPath": "static/tab/user1.png",
"text": "我的"
}
]
},
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}

3
unpackage/dist/build/mp-weixin/app.wxss vendored

@ -0,0 +1,3 @@
@import './common/main.wxss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

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

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

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

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

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

10
unpackage/dist/build/mp-weixin/components/task/add.js vendored

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/task/add"],{"77f8":function(t,e,s){"use strict";s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var n={superweiCombox:function(){return s.e("uni_modules/superwei-combox/components/superwei-combox/superwei-combox").then(s.bind(null,"6ba6"))}},a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},"7b65":function(t,e,s){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s={props:{rightAction:{type:Function,default:function(){return function(){}}}},data:function(){return{dataSource:[{label:"选项1",id:"1"},{label:"选项2",id:"2"}],data1:[{name:"熟悉演练",value:1}],data2:[{name:"双随机",value:1},{name:"联络指导",value:0}],users:[],supervisorList:[],og:[],companies:[],curry:0,prams:{task:"",company:"",supervisor:[]},companyName:"",selectedYear:2022,selectedMonth:0,OrganizationId:"",isSupervisor:!1}},created:function(){var e=t.getStorageSync("user").roles;console.log(t.getStorageSync("user"));var s=e.find((function(t){return-1!=t.name.indexOf("检查")}));this.isSupervisor=!!s,this.OrganizationId=t.getStorageSync("user").organizationId,this.getSupervisor(),this.getOg(),this.getUsers(),this.selectedMonth=(new Date).getMonth()+1,this.selectedYear=(new Date).getFullYear()},methods:{getSupervisor:function(){var t=this;this.$request.get("/api/Users/Inspectors",{},(function(e,s){t.supervisorList=s,console.log(t.supervisorList)}))},getOg:function(){var t=this,e={PageNumber:1,PageSize:9999};this.$request.get("/api/Organizations",e,(function(e,s){t.og=[];for(var n=0;n<s.items.length;n++)"squadron"==s.items[n].level&&t.og.push(s.items[n])}))},aaa:function(t){console.log(t),this.prams.supervisor=t.detail.value},task:function(t){console.log(t),this.prams.task=t.detail.value},getCompanies:function(t){var e=this,s={companyName:t,OrganizationId:this.OrganizationId,PageNumber:1,PageSize:50};this.$request.get("/api/Companies",s,(function(t,s){console.log(s),e.companies=s.items}))},getUsers:function(){var t=this,e={OrganizationId:this.OrganizationId,OrganizationLevel:"squadron",ContainsChildren:!0,PageNumber:1,PageSize:9999};this.$request.get("/api/Users",e,(function(e,s){console.log(s),t.users=s.items}))},companyname:function(t){console.log(t),this.companyName=this.companies[t.detail.value].companyName},bbb:function(t){console.log(t,7800),this.prams.company=t.id},apply:function(){var t=this;if(!this.prams.task||!this.prams.company||!this.prams.supervisor.length)return this.$alert.showError("请填写完整");var e=this.selectedMonth<10?"0"+this.selectedMonth:this.selectedMonth,s=this.selectedYear+"-"+e+"-01";console.log(this.prams,444);var n={month:s,taskName:this.prams.task,taskType:this.prams.task,companyId:this.prams.company,organizationId:this.OrganizationId,supervisorIds:this.isSupervisor?[]:this.prams.supervisor,assitantOrganizationIds:this.isSupervisor?this.prams.supervisor:[],creationType:"申领任务",approvalStatus:"待处理"};this.$request.post("/api/PlanTasks",n,(function(e,s){console.log(s),500==s.status?t.$alert.showError("该单位已创建任务"):t.$alert.showError("创建成功"),t.$parent.apply()}))}}};e.default=s}).call(this,s("543d")["default"])},a539:function(t,e,s){"use strict";var n=s("b685"),a=s.n(n);a.a},b685:function(t,e,s){},cb99:function(t,e,s){"use strict";s.r(e);var n=s("7b65"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},db18:function(t,e,s){"use strict";s.r(e);var n=s("77f8"),a=s("cb99");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("a539");var o,r=s("f0c5"),u=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],o);e["default"]=u.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/task/add-create-component',
{
'components/task/add-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("db18"))
})
},
[['components/task/add-create-component']]
]);

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

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

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

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

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

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

10
unpackage/dist/build/mp-weixin/components/task/details.js vendored

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/task/details"],{"21a6":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return u}));var c=function(){var t=this,n=t.$createElement;t._self._c},r=[]},"2b51":function(t,n,e){},"2d93":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={props:["cid"],data:function(){return{list:{}}},created:function(){console.log(this.cid),this.list=this.cid},methods:{}};n.default=u},"7d61":function(t,n,e){"use strict";e.r(n);var u=e("2d93"),c=e.n(u);for(var r in u)"default"!==r&&function(t){e.d(n,t,(function(){return u[t]}))}(r);n["default"]=c.a},"90a3":function(t,n,e){"use strict";e.r(n);var u=e("21a6"),c=e("7d61");for(var r in c)"default"!==r&&function(t){e.d(n,t,(function(){return c[t]}))}(r);e("e2fc");var a,i=e("f0c5"),o=Object(i["a"])(c["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],a);n["default"]=o.exports},e2fc:function(t,n,e){"use strict";var u=e("2b51"),c=e.n(u);c.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/task/details-create-component',
{
'components/task/details-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("90a3"))
})
},
[['components/task/details-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/task/details.json vendored

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

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

@ -0,0 +1 @@
<view class="content"><view class="content_item_box"><view class="content_item"><view>任务名称:</view><view>{{''+list.taskType+''}}</view></view><view class="content_item"><view>单位名称:</view><view>{{''+list.company.companyName+''}}</view></view><view class="content_item"><view>协助机构:</view><view><block wx:for="{{list.supervisors}}" wx:for-item="item" wx:for-index="k" wx:key="k"><view>{{''+item.name+''}}</view></block></view></view></view></view>

8
unpackage/dist/build/mp-weixin/components/task/details.wxss vendored

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

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

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiancha/jiancha"],{"1b1f":function(t,e,n){"use strict";n.r(e);var a=n("80cd"),o=n("dff2");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("4eb5");var i,u=n("f0c5"),c=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=c.exports},"4eb5":function(t,e,n){"use strict";var a=n("9e48"),o=n.n(a);o.a},"6c1d":function(t,e,n){"use strict";(function(t){n("899b");a(n("66fd"));var e=a(n("1b1f"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"80cd":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={qiunDataCharts:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(n.bind(null,"0394"))}},o=function(){var t=this,e=t.$createElement,a=(t._self._c,n("87b3")),o=n("8a99"),r=n("87b3"),i=n("aa5a"),u=n("87b3"),c=n("3810");t.$mp.data=Object.assign({},{$root:{m0:a,m1:o,m2:r,m3:i,m4:u,m5:c}})},r=[]},"9e48":function(t,e,n){},ac73:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{title:"Hello",identity:0,progressNub:60,chartData:{},year:2022,opts:{rotate:!1,rotateLock:!1,color:["#FACE15","#04F1C9","#3990F1"],padding:[5,5,5,5],dataLabel:!1,legend:{show:!1,fontColor:"#fff",position:"right",lineHeight:20},title:{name:"任务总数",fontSize:15,color:"#fff"},subtitle:{name:"20",fontSize:25,color:"#fff"},extra:{ring:{width:50,height:50,ringWidth:10,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,customRadius:60,borderWidth:3,borderColor:"#FFFFFF",centerColor:"#57B5FF",linearType:"none"}}},list:[{name:"上海雅特有限公司",tag:{class:"",text:"重点单位"},type:"双随机",result:"责令限期整改"}],month:[1,2,3,4,5,6,7,8,9,10,11,12]}},onLoad:function(){var e=t.getStorageSync("user");e&&(this.identity=1)},onReady:function(){this.getServerData()},methods:{getServerData:function(){var t=this;setTimeout((function(){var e={series:[{data:[{name:"一班",value:50},{name:"二班",value:30},{name:"三班",value:20}]}]};t.chartData=JSON.parse(JSON.stringify(e))}),500)},date:function(t){console.log(t)}}};e.default=n}).call(this,n("543d")["default"])},dff2:function(t,e,n){"use strict";n.r(e);var a=n("ac73"),o=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a}},[["6c1d","common/runtime","common/vendor"]]]);

9
unpackage/dist/build/mp-weixin/pages/dadui/jiancha/jiancha.json vendored

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

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

@ -0,0 +1 @@
<view class="page"><view><view class="pure_top"></view><view class="calendar"><view class="dates"><picker mode="date" fields="year" data-event-opts="{{[['change',[['date',['$event']]]]]}}" bindchange="__e"><view>{{year}}</view></picker><text>|</text><view>8.25</view></view><view class="monthbox"><block wx:for="{{month}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="month">{{''+item+''}}</view></block></view></view></view><view class="taskbox"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m0}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m1}}" alt class="_img"></image><view style="width:50%;"><qiun-data-charts vue-id="7ccd3292-1" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m2}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m3}}" alt class="_img"></image><view style="width:50%;"><qiun-data-charts vue-id="7ccd3292-2" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m4}}" alt class="_img"></image><view><text>xx救援站任务总数</text><text>20</text></view></view><view class="right"><view style="margin-right:10rpx;">完成率</view><view>60%</view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m5}}" alt class="_img"></image><view style="width:40%;"><qiun-data-charts vue-id="7ccd3292-3" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[0]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[1]+';')}}"></view><text>上级指派-------9个</text></view><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[2]+';')}}"></view><text>上级指派-------9个</text></view></view></view></view></view></view>

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

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

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

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/dadui/jiuyuan/jiuyuan"],{"51e6":function(n,e,t){"use strict";(function(n){t("899b");u(t("66fd"));var e=u(t("a34c"));function u(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},"8d2b":function(n,e,t){"use strict";t.r(e);var u=t("9ee3"),r=t.n(u);for(var a in u)"default"!==a&&function(n){t.d(e,n,(function(){return u[n]}))}(a);e["default"]=r.a},"9ee3":function(n,e){},a34c:function(n,e,t){"use strict";t.r(e);var u=t("edb9"),r=t("8d2b");for(var a in r)"default"!==a&&function(n){t.d(e,n,(function(){return r[n]}))}(a);var c,i=t("f0c5"),o=Object(i["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);e["default"]=o.exports},edb9:function(n,e,t){"use strict";var u;t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return u}));var r=function(){var n=this,e=n.$createElement;n._self._c},a=[]}},[["51e6","common/runtime","common/vendor"]]]);

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

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

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

@ -0,0 +1 @@
<view class="_div"></view>

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

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

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

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

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

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

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

File diff suppressed because one or more lines are too long

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -0,0 +1 @@
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -0,0 +1,24 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"libVersion": "2.26.0",
"appid": "wx762e3ccf09854482",
"projectname": "Jinan_app",
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}

7
unpackage/dist/build/mp-weixin/sitemap.json vendored

@ -0,0 +1,7 @@
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
unpackage/dist/build/mp-weixin/static/login/1.jpg vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
unpackage/dist/build/mp-weixin/static/login/1.webp vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
unpackage/dist/build/mp-weixin/static/login/banner.jpg vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

10
unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js vendored

File diff suppressed because one or more lines are too long

7
unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.json vendored

@ -0,0 +1,7 @@
{
"usingComponents": {
"qiun-loading": "/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading",
"qiun-error": "/uni_modules/qiun-data-charts/components/qiun-error/qiun-error"
},
"component": true
}

1
unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.wxml vendored

@ -0,0 +1 @@
<view class="chartsview data-v-696ddae3" id="{{'ChartBoxId'+cid}}"><block wx:if="{{mixinDatacomLoading}}"><view class="data-v-696ddae3"><qiun-loading vue-id="d3f9f55c-1" loadingType="{{loadingType}}" class="data-v-696ddae3" bind:__l="__l"></qiun-loading></view></block><block wx:if="{{mixinDatacomErrorMessage&&errorShow}}"><view data-event-opts="{{[['tap',[['reloading',['$event']]]]]}}" bindtap="__e" class="data-v-696ddae3"><qiun-error vue-id="d3f9f55c-2" errorMessage="{{errorMessage}}" class="data-v-696ddae3" bind:__l="__l"></qiun-error></view></block><block wx:if="{{type2d}}"><block class="data-v-696ddae3"><block wx:if="{{ontouch}}"><view data-event-opts="{{[['tap',[['_tap',['$event']]]]]}}" bindtap="__e" class="data-v-696ddae3"><canvas hidden="{{!(showchart)}}" style="{{'width:'+(cWidth+'px')+';'+('height:'+(cHeight+'px')+';')+('background:'+(background)+';')}}" id="{{cid}}" canvasId="{{cid}}" type="2d" disable-scroll="{{disScroll}}" data-event-opts="{{[['touchstart',[['_touchStart',['$event']]]],['touchmove',[['_touchMove',['$event']]]],['touchend',[['_touchEnd',['$event']]]],['error',[['_error',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" binderror="__e" class="data-v-696ddae3"></canvas></view></block><block wx:if="{{!ontouch}}"><view data-event-opts="{{[['tap',[['_tap',['$event']]]]]}}" bindtap="__e" class="data-v-696ddae3"><canvas hidden="{{!(showchart)}}" style="{{'width:'+(cWidth+'px')+';'+('height:'+(cHeight+'px')+';')+('background:'+(background)+';')}}" id="{{cid}}" canvasId="{{cid}}" type="2d" disable-scroll="{{disScroll}}" data-event-opts="{{[['error',[['_error',['$event']]]]]}}" binderror="__e" class="data-v-696ddae3"></canvas></view></block></block></block><block wx:if="{{!type2d}}"><block class="data-v-696ddae3"><block wx:if="{{ontouch}}"><view data-event-opts="{{[['tap',[['_tap',['$event']]]]]}}" bindtap="__e" class="data-v-696ddae3"><block wx:if="{{showchart}}"><canvas style="{{'width:'+(cWidth+'px')+';'+('height:'+(cHeight+'px')+';')+('background:'+(background)+';')}}" id="{{cid}}" canvasId="{{cid}}" disable-scroll="{{disScroll}}" data-event-opts="{{[['touchstart',[['_touchStart',['$event']]]],['touchmove',[['_touchMove',['$event']]]],['touchend',[['_touchEnd',['$event']]]],['error',[['_error',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" binderror="__e" class="data-v-696ddae3"></canvas></block></view></block><block wx:if="{{!ontouch}}"><view class="data-v-696ddae3"><block wx:if="{{showchart}}"><canvas style="{{'width:'+(cWidth+'px')+';'+('height:'+(cHeight+'px')+';')+('background:'+(background)+';')}}" id="{{cid}}" canvasId="{{cid}}" disable-scroll="{{disScroll}}" data-event-opts="{{[['tap',[['_tap',['$event']]]],['error',[['_error',['$event']]]]]}}" bindtap="__e" binderror="__e" class="data-v-696ddae3"></canvas></block></view></block></block></block></view>

1
unpackage/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.wxss vendored

@ -0,0 +1 @@
.chartsview.data-v-696ddae3{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}

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

Loading…
Cancel
Save