陈鹏铭 1 год назад
Родитель
Сommit
41a40e5b8e
100 измененных файлов с 1619 добавлено и 21376 удалено
  1. 1 111
      README.md
  2. BIN
      common/assets/image/logobig.png
  3. 1 1
      common/style/index.scss
  4. BIN
      components/.DS_Store
  5. BIN
      components/codecook-carnumber/.DS_Store
  6. 195 0
      components/codecook-carnumber/codecook-carnumber.vue
  7. BIN
      components/codecook-keyboard/.DS_Store
  8. 154 0
      components/codecook-keyboard/codecook-keyboard.vue
  9. 7 1
      manifest.json
  10. 70 1509
      pages.json
  11. 181 0
      pages/chooseIdentity/index.vue
  12. BIN
      pages/chooseIdentity/qy.png
  13. BIN
      pages/chooseIdentity/sj.png
  14. 296 220
      pages/index/index.vue
  15. 89 98
      pages/login/login.vue
  16. BIN
      pages/login/topimg.png
  17. 124 108
      pages/mine/mine.vue
  18. 0 43
      pages/subPackages/activity/api_activity.js
  19. 0 233
      pages/subPackages/activity/apply-popup.vue
  20. 0 13
      pages/subPackages/activity/code.vue
  21. 0 397
      pages/subPackages/activity/index.vue
  22. 0 1
      pages/subPackages/activity/pdf.svg
  23. 0 96
      pages/subPackages/activity/wxMap.vue
  24. 0 1477
      pages/subPackages/addCompany/addCompany.vue
  25. 0 161
      pages/subPackages/addCompany/isSelectedTags.vue
  26. 0 530
      pages/subPackages/addCompany/momo-multipleSelect.vue
  27. 0 331
      pages/subPackages/addZaiti/index.vue
  28. 0 161
      pages/subPackages/addZaiti/isSelectedTags.vue
  29. 0 530
      pages/subPackages/addZaiti/momo-multipleSelect.vue
  30. 0 8
      pages/subPackages/addcompanyHouse/addcompanyHouse.vue
  31. 0 1227
      pages/subPackages/addintention/addintention.vue
  32. 0 88
      pages/subPackages/addintention/chooseTime.vue
  33. 0 231
      pages/subPackages/announcement/detail.vue
  34. 0 248
      pages/subPackages/announcement/index.vue
  35. 0 24
      pages/subPackages/bigscreen/bigscreen.vue
  36. 0 40
      pages/subPackages/buildmap/formatWeeks.js
  37. 0 318
      pages/subPackages/buildmap/index.vue
  38. BIN
      pages/subPackages/buildmap/markerone.png
  39. BIN
      pages/subPackages/buildmap/top1.png
  40. BIN
      pages/subPackages/buildmap/top2.png
  41. BIN
      pages/subPackages/buildmap/top3.png
  42. BIN
      pages/subPackages/buildmap/topfirst3.png
  43. 299 0
      pages/subPackages/carmange/add.vue
  44. 88 0
      pages/subPackages/carmange/index.vue
  45. 0 143
      pages/subPackages/chooseCompanyTags/componets/chooseTime.vue
  46. 0 104
      pages/subPackages/chooseCompanyTags/componets/isSelectedTags.vue
  47. 0 338
      pages/subPackages/chooseCompanyTags/index.vue
  48. BIN
      pages/subPackages/choosecar/choosecar/banner.png
  49. BIN
      pages/subPackages/choosecar/choosecar/car1.png
  50. BIN
      pages/subPackages/choosecar/choosecar/car2.png
  51. BIN
      pages/subPackages/choosecar/choosecar/car3.png
  52. BIN
      pages/subPackages/choosecar/choosecar/car4.png
  53. BIN
      pages/subPackages/choosecar/choosecar/car5.png
  54. BIN
      pages/subPackages/choosecar/choosecar/jiantou.png
  55. 114 0
      pages/subPackages/choosecar/index.vue
  56. 0 844
      pages/subPackages/chosseHouse/chosseHouse.vue
  57. 0 1052
      pages/subPackages/companyDetails/companyDetails.vue
  58. 0 1637
      pages/subPackages/companyDetailsEdit/companyDetailsEdit.vue
  59. 0 161
      pages/subPackages/companyDetailsEdit/isSelectedTags.vue
  60. 0 530
      pages/subPackages/companyDetailsEdit/momo-multipleSelect.vue
  61. 0 243
      pages/subPackages/companyHouse/companyHouse.vue
  62. 0 143
      pages/subPackages/companyTagsDelete/componets/chooseTime.vue
  63. 0 98
      pages/subPackages/companyTagsDelete/componets/isSelectedTags.vue
  64. 0 191
      pages/subPackages/companyTagsDelete/index.vue
  65. 0 159
      pages/subPackages/companyreport/companyreport.vue
  66. 0 437
      pages/subPackages/companyreport/components/goReport.vue
  67. 0 162
      pages/subPackages/companyreport/components/handlereport.vue
  68. 0 426
      pages/subPackages/companyreport/components/reportDetails.vue
  69. 0 280
      pages/subPackages/companyreport/components/reportHistory.vue
  70. 0 330
      pages/subPackages/components/momo-multipleSelect/momo-multipleSelect.vue
  71. 0 170
      pages/subPackages/components/selectGenzongDep/style.css
  72. 0 679
      pages/subPackages/components/selectGenzongDep/tkitree.vue
  73. 0 78
      pages/subPackages/components/selectGenzongDep/tools.js
  74. 0 170
      pages/subPackages/components/selectXiangguanDep/style.css
  75. 0 679
      pages/subPackages/components/selectXiangguanDep/tkitree.vue
  76. 0 78
      pages/subPackages/components/selectXiangguanDep/tools.js
  77. 0 170
      pages/subPackages/components/select_dengjiren/style.css
  78. 0 678
      pages/subPackages/components/select_dengjiren/tkitree.vue
  79. 0 78
      pages/subPackages/components/select_dengjiren/tools.js
  80. 0 170
      pages/subPackages/components/select_dengjiyuan/style.css
  81. 0 675
      pages/subPackages/components/select_dengjiyuan/tkitree.vue
  82. 0 78
      pages/subPackages/components/select_dengjiyuan/tools.js
  83. 0 73
      pages/subPackages/components/tel-number/index.vue
  84. 0 170
      pages/subPackages/components/tkitree/style.css
  85. 0 687
      pages/subPackages/components/tkitree/tkitree.vue
  86. 0 78
      pages/subPackages/components/tkitree/tools.js
  87. 0 34
      pages/subPackages/error/404.vue
  88. 0 503
      pages/subPackages/housedetails/housedetails.vue
  89. 0 8
      pages/subPackages/liu-easy-map/changelog.md
  90. 0 425
      pages/subPackages/liu-easy-map/components/liu-easy-map/liu-easy-map.vue
  91. 0 6
      pages/subPackages/liu-easy-map/license.md
  92. 0 85
      pages/subPackages/liu-easy-map/package.json
  93. 0 121
      pages/subPackages/liu-easy-map/readme.md
  94. BIN
      pages/subPackages/liu-easy-map/static/close.png
  95. BIN
      pages/subPackages/liu-easy-map/static/go.png
  96. BIN
      pages/subPackages/liu-easy-map/static/marker.png
  97. BIN
      pages/subPackages/liu-easy-map/static/markerone.png
  98. BIN
      pages/subPackages/liu-easy-map/static/myaddress-on.png
  99. BIN
      pages/subPackages/liu-easy-map/static/myaddress.png
  100. 0 0
      pages/subPackages/liu-easy-map/static/wxmap-on.png

+ 1 - 111
README.md

@@ -1,4 +1,4 @@
-# hello-uniapp
+# 阿斯利康码头
 
 `uni-app`框架示例,一套代码,同时发行到iOS、Android、H5、小程序等多个平台,请使用手机在下方扫码快速体验`uni-app`的强大功能。[官方文档](https://uniapp.dcloud.net.cn/)
 
@@ -16,114 +16,4 @@ HBuilderX是通用的前端开发工具,但为`uni-app`做了特别强化,
 
 由于截图在 github 不便浏览,参见官方文档 [HBuilderX 可视化界面创建](https://uniapp.dcloud.net.cn/quickstart?id=_1-%e9%80%9a%e8%bf%87-hbuilderx-%e5%8f%af%e8%a7%86%e5%8c%96%e7%95%8c%e9%9d%a2)
 
-### 通过 vue-cli 创建
-
-```
-npm install -g @vue/cli
-```
-
-#### 创建uni-app
-
-**使用正式版**(对应HBuilderX最新正式版)
-
-```
-vue create -p dcloudio/uni-preset-vue my-project
-```
-
-**使用alpha版**(对应HBuilderX最新alpha版)
-
-```
-vue create -p dcloudio/uni-preset-vue#alpha my-alpha-project
-```
-
-此时,会提示选择项目模板,选择 `hello uni-app` 项目模板,如下所示:
-
-<div>
-<img src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/h5-cli-01.png" width="300">
-</div>
-
-创建好后,进入项目目录
-```
-cd my-project
-```
-
-执行该命令运行到 h5 端
-```
-npm run dev:h5
-```
-
-欢迎提 issues,推荐到[官方社区](https://ask.dcloud.net.cn/explore/)提问。
-
-## 扫码体验
-
-<div class="quick">
-    <p>一套代码编到10个平台,这不是梦想。眼见为实,扫描10个二维码,亲自体验最全面的跨平台效果!</p>
-    <div style="display: flex;">
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/ba7d0750-517d-11eb-bdc1-8bd33eb6adaa.png" width="160" />
-        </div>
-        <b>Android版</b>
-      </a>
-      <a href="https://itunes.apple.com/cn/app/hello-uni-app/id1417078253?mt=8" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/bb3ef7c0-517d-11eb-bdc1-8bd33eb6adaa.png" width="160" />
-        </div>
-        <b>iOS版</b>
-      </a>
-      <a href="https://hellouniapp.dcloud.net.cn/" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/bb3ef7c0-517d-11eb-bdc1-8bd33eb6adaa.png" width="160" />
-        </div>
-        <b>H5版</b>
-      </a>
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box"><img src="//img.cdn.aliyun.dcloud.net.cn/guide/uniapp/gh_33446d7f7a26_430.jpg" width="160" /></div>
-        <b>微信小程序版</b>
-      </a>
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box"><img src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b131e0d0-517d-11eb-a16f-5b3e54966275.png" width="160" /></div>
-        <b>支付宝小程序版</b>
-      </a>
-    </div>
-    <div class="flex-img-group-view" style="margin-top: 20px;">
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box"><img src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b204e840-517d-11eb-8ff1-d5dcf8779628.png" width="160" /></div>
-        <b>百度小程序版</b>
-      </a>
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/mp-toutiao.png" width="160" />
-        </div>
-        <b>字节跳动小程序版</b>
-      </a>
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/hello-uni-qq.png" width="160" />
-        </div>
-        <b>QQ小程序版</b>
-      </a>
-      <a href="//m3w.cn/uniapp" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/hello-uni-qa-union.png" width="160" />
-        </div>
-        <b>快应用</b>
-      </a>
-      <a href="https://so.mp.360.cn/mp.html?appid=qh4j181qqtru354st6" target="_blank" class="clear-style barcode-view">
-        <div class="barcode-img-box">
-          <img src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/hello-uni-mp-360-qr.png" width="160" />
-        </div>
-        <b>360小程序</b>
-      </a>
-    </div>
-    <p>
-        <em>注:某些平台不能提交简单demo,故补充了一些其他功能;hello uni-app示例代码可从[github](https://github.com/dcloudio/hello-uniapp)获取</em></br>
-        <em>快应用仅支持 vivo 、oppo、华为</em></br>
-        <em>360小程序仅 windows平台支持,需要在360浏览器中打开</em></br>
-    </p>
-</div>
-
-`uni-app`官网文档详见[https://uniapp.dcloud.io](https://uniapp.dcloud.io)
-
-更多uni-app的模板、示例详见[插件市场](https://ext.dcloud.net.cn/)
 

BIN
common/assets/image/logobig.png


+ 1 - 1
common/style/index.scss

@@ -212,7 +212,7 @@
 }
 
 .van-tabs__line {
-    background-color: #1d18bc !important;
+    background-color: rgba(138, 5, 84, 1) !important;
 }
 
 .mt42rpx {

BIN
components/.DS_Store


BIN
components/codecook-carnumber/.DS_Store


+ 195 - 0
components/codecook-carnumber/codecook-carnumber.vue

@@ -0,0 +1,195 @@
+<template>
+  <view class="car-number">
+    <view class="new-energy">新能源</view>
+    <view class="wrap" @tap="focusHandler">
+      <view
+        :class="[
+          'cell',
+          { last: index === length - 1 },
+          { 'no-border': index === length - 1 || index === length - 2 },
+          { active: index === current },
+        ]"
+        v-for="(val, index) in fill"
+        :key="index"
+        @tap.stop="focusHandler(index)"
+      >
+        <view class="val">{{ val }}</view>
+        <view class="border"></view>
+      </view>
+    </view>
+
+    <key-board
+      v-if="focus"
+      :type="kType"
+      @on-delete="keyDeleteHandler"
+      @on-input="keyInputHandler"
+      @on-hide="keyHideHandler"
+    ></key-board>
+  </view>
+</template>
+
+<script>
+import KeyBoard from "../codecook-keyboard/codecook-keyboard.vue";
+
+export default {
+  name: "CarNumber",
+  components: {
+    KeyBoard,
+  },
+  props: {
+    value: {
+      type: String,
+      default: "",
+    },
+    length: {
+      type: Number,
+      default: 8,
+    },
+  },
+  data() {
+    return {
+      focus: false,
+      current: 0,
+      fill: new Array(this.length).fill(""),
+    };
+  },
+  computed: {
+    kType() {
+      return this.current === 0 ? "provinces" : "areas";
+    },
+  },
+  watch: {
+    fill(val) {
+      this.$emit("input", val.join(""));
+      this.$emit("change", val);
+    },
+  },
+  methods: {
+    focusHandler(index = 0) {
+      this.focus = true;
+
+      this.current = index;
+      console.log(this.current);
+    },
+    keyDeleteHandler() {
+      this.$set(this.fill, this.current, "");
+
+      if (this.current <= 0) {
+        return;
+      }
+
+      this.current -= 1;
+    },
+    keyInputHandler(key) {
+      this.$set(this.fill, this.current, key);
+
+      if (this.current >= this.length - 1) {
+        return;
+      }
+
+      this.current += 1;
+    },
+    keyHideHandler() {
+      this.focus = false;
+    },
+  },
+  beforeMount() {
+    if (this.value) {
+      this.value.split("").forEach((key, index) => {
+        if (index >= this.length) {
+          return;
+        }
+        this.$set(this.fill, index, key);
+      });
+
+      this.current = Math.min(this.value.length, this.length - 1);
+    }
+  },
+  mounted() {
+    // this.focus = true;
+  },
+};
+</script>
+
+<style scoped lang="less">
+.car-number {
+  position: relative;
+  width: 100%;
+
+  .wrap {
+    width: 100%;
+    height: 100%;
+    display: flex;
+    justify-content: space-between;
+    border: 1rpx solid #e6e6e6;
+    box-sizing: border-box;
+    border-radius: 8rpx;
+    box-shadow: 0rpx 6rpx 6rpx 0rpx rgba(128, 128, 128, 0.1);
+    padding: 15rpx 0;
+  }
+
+  .new-energy {
+    font-size: 24rpx;
+    color: #333232;
+    margin-bottom: 13rpx;
+    display: flex;
+    flex-direction: row-reverse;
+    padding-right: 5rpx;
+  }
+
+  .cell {
+    box-sizing: border-box;
+    padding: 14rpx 0;
+    flex: 1;
+    color: #666666;
+    font-size: 34rpx;
+    border-right: 1rpx solid #cccccc;
+    text-align: center;
+    border-bottom: 1rpx solid transparent;
+    box-sizing: border-box;
+    padding: 0 10rpx;
+    display: flex;
+    flex-direction: column;
+    position: relative;
+    height: 70rpx;
+
+    .val {
+      flex: 1;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+    }
+
+    .border {
+      flex-shrink: 0;
+      flex-grow: 0;
+      height: 2rpx;
+      background: transparent;
+      width: 100%;
+    }
+
+    &.active {
+      .border {
+        background: #fe8525;
+      }
+    }
+    &.no-border {
+      border-right: none;
+    }
+
+    &.last:after {
+      content: "";
+      width: 100%;
+      border: 2px solid #00ff00;
+      border-radius: 8rpx;
+      margin: -18rpx 0;
+      position: absolute;
+      top: 0;
+      right: 0;
+      bottom: 0;
+      left: 0;
+      box-sizing: border-box;
+    }
+  }
+}
+</style>

BIN
components/codecook-keyboard/.DS_Store


+ 154 - 0
components/codecook-keyboard/codecook-keyboard.vue

@@ -0,0 +1,154 @@
+<template>
+  <view class="car-keyboard">
+    <view class="status-bar">
+      <view class="close" @click="hideHandler"> 关闭 </view>
+    </view>
+
+    <view class="keys-container">
+      <view class="row" v-for="(row, index) in keys" :key="index">
+        <view
+          :class="[
+            'key',
+            { last: j === row.length - 1 },
+            { 'is-delete': deleteKeys.includes(key) },
+          ]"
+          v-for="(key, j) in row"
+          :key="key"
+          @click="keyTapHandler(key)"
+        >
+          <view class="txt" v-if="!deleteKeys.includes(key)">
+            {{ key }}
+          </view>
+
+          <view class="delete" v-else></view>
+        </view>
+      </view>
+    </view>
+  </view>
+</template>
+
+<script>
+export default {
+  name: "KeyBoard",
+  components: {},
+  props: {
+    value: {
+      type: Boolean,
+      default: false,
+    },
+    type: {
+      type: String,
+      default: "provinces",
+      validator: (value) => {
+        return ["provinces", "areas"].indexOf(value) !== -1;
+      },
+    },
+  },
+  data() {
+    return {
+      deleteKeys: ["-", "="], // 避免2个删除按钮key冲突
+      provinces: [
+        ["京", "津", "沪", "渝", "川", "新", "藏", "宁", "桂", "贵"],
+        ["云", "黑", "吉", "辽", "晋", "冀", "青", "鲁", "豫", "苏"],
+        ["皖", "浙", "闽", "赣", "湘", "鄂", "粤", "琼", "甘", "陕"],
+        ["蒙", "港", "澳", "台", "使", "领", "警", "学", "="],
+      ],
+      areas: [
+        ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"],
+        ["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"],
+        ["A", "S", "D", "F", "G", "H", "J", "K", "L"],
+        ["Z", "X", "C", "V", "B", "N", "M", "-"],
+      ],
+    };
+  },
+  watch: {},
+  computed: {
+    keys() {
+      return this[this.type];
+    },
+  },
+  methods: {
+    keyTapHandler(key) {
+      if (this.deleteKeys.includes(key)) {
+        this.$emit("on-delete");
+        return;
+      }
+
+      this.$emit("on-input", key);
+    },
+    hideHandler() {
+      this.$emit("on-hide");
+    },
+  },
+  beforeMount() {},
+  mounted() {},
+};
+</script>
+
+<style scoped lang="less">
+.car-keyboard {
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  width: 100%;
+  background-color: #f5f5f5;
+  z-index: 999;
+}
+
+.status-bar {
+  height: 80rpx;
+  background: #dfe8e7;
+  color: #323330;
+  display: flex;
+  flex-direction: row-reverse;
+}
+
+.close {
+  font-size: 30rpx;
+  height: 100%;
+  padding: 0 20rpx;
+  display: flex;
+  align-items: center;
+}
+
+.keys-container {
+  padding: 23rpx 13rpx 30rpx 13rpx;
+}
+
+.row {
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: center;
+  margin-bottom: 14rpx;
+}
+
+.key {
+  width: 60rpx;
+  height: 72rpx;
+  background: #ffffff;
+  border: 1rpx solid #e6e6e6;
+  box-sizing: border-box;
+  border-radius: 4rpx;
+  color: #323330;
+  font-size: 36rpx;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin-right: 14rpx;
+
+  .delete {
+    width: 66rpx;
+    height: 40rpx;
+    background: url(../../static/codecook-keyboard/icon_delete.png) no-repeat;
+    background-size: 100% 100%;
+  }
+
+  &.is-delete {
+    width: 134rpx;
+  }
+
+  &.last {
+    margin-right: 0;
+  }
+}
+</style>

+ 7 - 1
manifest.json

@@ -36,6 +36,12 @@
             "sdkConfigs" : {
                 "speech" : {
                     "ifly" : {}
+                },
+                "share" : {
+                    "weixin" : {
+                        "appid" : "wx6271d6fc90b56ff6",
+                        "UniversalLinks" : ""
+                    }
                 }
             },
             "orientation" : [ "portrait-primary" ]
@@ -63,7 +69,7 @@
     },
     "mp-weixin" : {
         "libVersion" : "latest",
-        "appid" : "wx6271d6fc90b56ff6",
+        "appid" : "wx44a0d2f4a1220d3d",
         "optimization" : {
             "subPackages" : true
         },

Разница между файлами не показана из-за своего большого размера
+ 70 - 1509
pages.json


+ 181 - 0
pages/chooseIdentity/index.vue

@@ -0,0 +1,181 @@
+<template>
+  <div class="login">
+    <img src="../../common/assets/image/logobig.png" alt="" class="logobig" />
+    <div class="title">请选择您的身份</div>
+    <div class="title1">方便我们为您提供更准确的服务</div>
+
+    <div class="choose">
+      <div
+        @click="chooseIdentity(1)"
+        :class="isSelect === 1 ? 'select isselect' : 'select'"
+      >
+        <div><img class="headerImg" src="./sj.png" alt="" /></div>
+        <div class="name">我是司机</div>
+        <div class="huan"><van-icon name="success" /></div>
+      </div>
+      <div
+        @click="chooseIdentity(2)"
+        :class="isSelect === 2 ? 'select isselect' : 'select'"
+        class="select"
+        style="margin-top: 20px"
+      >
+        <div><img class="headerImg" src="./qy.png" alt="" /></div>
+        <div class="name">我是企业</div>
+        <div class="huan"><van-icon name="success" /></div>
+      </div>
+    </div>
+    <div class="btnbox">
+      <van-button class="btn" @click="goLogin">去登陆</van-button>
+    </div>
+  </div>
+</template>
+<script>
+export default {
+  data() {
+    return {
+      loginForm: {},
+      isSelect: 1,
+    };
+  },
+  mounted() {},
+  methods: {
+    chooseIdentity(e) {
+      this.isSelect = e;
+    },
+    goLogin() {
+      if (this.isSelect == 1) {
+        uni.navigateTo({
+          url: "/pages/login/login",
+        });
+      }
+      if (this.isSelect == 2) {
+        uni.navigateTo({
+          url: "/pages/subPackages/phoneRegister/index",
+        });
+      }
+    },
+  },
+};
+</script>
+<style lang="scss">
+.login {
+  background: white;
+  height: 100%;
+  overflow: hidden;
+  .logTit {
+    width: 80vw;
+    left: 10vw;
+    top: 45vw;
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    align-items: center;
+    position: absolute;
+    z-index: 1;
+    color: rgba(51, 51, 51, 1);
+    font-size: 4vw;
+    p {
+      color: rgba(102, 102, 102, 1);
+      font-size: 4vw;
+      margin-top: 0.5vw;
+    }
+
+    .titletxt {
+      font-size: 48rpx;
+      font-family: Taipei Sans TC Beta-Bold, Taipei Sans TC Beta;
+      font-weight: bold;
+      color: #333333;
+    }
+    .titletxt2 {
+      font-size: 32rpx;
+      font-family: PingFang SC-Regular, PingFang SC;
+      font-weight: 400;
+      color: #666666;
+    }
+  }
+  .logobig {
+    width: 100vw;
+    height: 100vh;
+    position: absolute;
+    left: 0;
+    z-index: 0;
+  }
+  .title {
+    font-weight: bold;
+    font-size: 52rpx;
+    color: #222222;
+    position: absolute;
+    top: 342px;
+    left: 52px;
+  }
+  .title1 {
+    position: absolute;
+    top: 381px;
+    left: 52px;
+    font-weight: 400;
+    font-size: 28rpx;
+    color: #666666;
+  }
+  .huan {
+    width: 40rpx;
+    height: 40rpx;
+    border: 4rpx solid #c0c2c3;
+    background: #ffffff;
+    color: #c0c2c3;
+    border-radius: 50%;
+    text-align: center;
+    line-height: 40rpx;
+  }
+  .choose {
+    position: absolute;
+    top: 800rpx;
+    width: 100%;
+    .headerImg {
+      height: 88rpx;
+      width: 88rpx;
+    }
+    .select {
+      margin: auto;
+      display: flex;
+      align-items: center;
+      justify-content: space-between;
+      width: 654rpx;
+      height: 128rpx;
+      background: #ffffff;
+      border-radius: 16rpx 16rpx 16rpx 16rpx;
+      padding: 20rpx 32rpx;
+      box-sizing: border-box;
+    }
+    .name {
+      margin-right: 160px;
+    }
+  }
+  .isselect {
+    border: 2rpx solid #8a0554;
+    .huan {
+      background: rgba(138, 5, 84, 1);
+      color: white;
+    }
+  }
+  .btnbox {
+    position: absolute;
+    bottom: 170rpx;
+    width: 100%;
+    display: flex;
+    justify-content: center;
+    .btn {
+      button {
+        width: 594rpx;
+        height: 96rpx;
+        background: #8a0554;
+        border-radius: 48rpx 48rpx 48rpx 48rpx;
+        text-align: center;
+        line-height: 96rpx;
+        color: white;
+      }
+
+      text-align: center;
+    }
+  }
+}
+</style>

BIN
pages/chooseIdentity/qy.png


BIN
pages/chooseIdentity/sj.png


+ 296 - 220
pages/index/index.vue

@@ -1,22 +1,176 @@
 <template>
-  <view>
-    <image src="../../static/index/banner.png" class="banner"></image>
-    <div class="map">
-      <div
-        class="mapdom"
-        style="float: left; position: relative"
-        v-for="(item, index) in mapList"
-        :key="index"
-        @click="jumpPage(item.path)"
-      >
-        <div class="jiaobiao" v-if="item.label == '会议室审核' && MeetingNum">
-          {{ MeetingNum }}
+  <view class="indexpage" style="width: 100%">
+    <div class="indextop">
+      <image src="../../static/index/banner.png" class="banner"></image>
+      <div class="bz">
+        <div>
+          <img
+            src="https://www.idea-co-sf.com/dockPic/1.png"
+            class="yyicon"
+            alt=""
+          />
+          <div>预约</div>
+        </div>
+        <div class="jiantou">---></div>
+        <div>
+          <img
+            src="https://www.idea-co-sf.com/dockPic/2.png"
+            class="yyicon"
+            alt=""
+          />
+          <div>签到</div>
         </div>
-        <div class="jiaobiao" v-if="item.label == '场馆审核' && MeetingNum">
-          {{ VenueNum }}
+        <div class="jiantou">---></div>
+        <div>
+          <img
+            src="https://www.idea-co-sf.com/dockPic/3.png"
+            class="yyicon"
+            alt=""
+          />
+          <div>装卸</div>
         </div>
-        <img class="mapIcon" :src="item.url" />
-        <div class="maptxt">{{ item.label }}</div>
+        <div class="jiantou">---></div>
+        <div>
+          <img
+            src="https://www.idea-co-sf.com/dockPic/4.png"
+            class="yyicon"
+            alt=""
+          />
+          <div>签收</div>
+        </div>
+        <div class="jiantou">---></div>
+        <div>
+          <img
+            src="https://www.idea-co-sf.com/dockPic/5.png"
+            class="yyicon"
+            alt=""
+          />
+          <div>离场</div>
+        </div>
+      </div>
+    </div>
+    <div class="report">
+      <div class="left">
+        <img src="https://www.idea-co-sf.com/dockPic/6.png" alt="" />
+        <div class="line"></div>
+      </div>
+      <div class="right">
+        <div>
+          <div class="info">
+            <div>受暴雨天气影响,2024-07-13 8:00...</div>
+            <div class="day">1天前</div>
+          </div>
+          <div class="info">
+            <div>受暴雨天气影响,2024-07-13 8:00...</div>
+            <div class="day">1天前</div>
+          </div>
+        </div>
+      </div>
+    </div>
+    <div class="menu-list">
+      <div class="menu-row">
+        <div class="text">送货预约</div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/7.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/7-1.png"
+          class="icon"
+          alt=""
+        />
+      </div>
+      <div class="menu-row">
+        <div class="text">取货预约</div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/8.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/8-1.png"
+          class="icon"
+          alt=""
+        />
+      </div>
+      <div class="menu-row">
+        <div class="text">预约历史</div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/9.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/9-1.png"
+          class="icon"
+          alt=""
+        />
+      </div>
+    </div>
+    <div class="menu-list">
+      <div class="menu-row">
+        <div
+          class="text"
+          @click="jumpPage('/pages/subPackages/choosecar/index')"
+        >
+          装货预约
+        </div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/7.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/7-1.png"
+          class="icon"
+          alt=""
+        />
+      </div>
+      <div class="menu-row">
+        <div class="text">卸货预约</div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/8.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/8-1.png"
+          class="icon"
+          alt=""
+        />
+      </div>
+      <div
+        class="menu-row"
+        @click="jumpPage('/pages/subPackages/yy_history/index')"
+      >
+        <div class="text">预约历史</div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/9.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/9-1.png"
+          class="icon"
+          alt=""
+        />
+      </div>
+      <div
+        class="menu-row"
+        @click="jumpPage('/pages/subPackages/carmange/index')"
+      >
+        <div class="text">车辆管理</div>
+        <img
+          src="https://www.idea-co-sf.com/dockPic/10.png"
+          class="back"
+          alt=""
+        />
+        <img
+          src="https://www.idea-co-sf.com/dockPic/10-1.png"
+          class="icon"
+          alt=""
+        />
       </div>
     </div>
   </view>
@@ -32,125 +186,7 @@ import {
 export default {
   data() {
     return {
-      mapList: [
-        {
-          label: "智慧党建",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-          path: "/pages/subPackages/buildmap/index",
-        },
-        // {
-        //   label: "经发填报",
-        //   url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-        //   path: "/pages/subPackages/companyHouse/companyHouse",
-        // },
-        {
-          label: "企业库",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/2@2x.png",
-          path: "/pages/subPackages/companyHouse/companyHouse",
-        },
-        // {
-        //   label: "走访上报",
-        //   url: "https://hswkxc.idea-sf.com/fileService/static/slices/3@2x.png",
-        //   path: "/pages/subPackages/companyreport/companyreport",
-        // },
-        // {
-        //   label: "上市跟进",
-        //   url: "https://hswkxc.idea-sf.com/fileService/static/slices/4@2x.png",
-        // },
-
-        {
-          label: "招商管理",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/5@2x.png",
-          path: "/pages/subPackages/merchants/merchants",
-        },
-        {
-          label: "我的待办",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/7@2x.png",
-          path: "/pages/subPackages/todo/index",
-        },
-        {
-          label: "我的待阅",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/6@2x.png",
-          path: "/pages/subPackages/toread/index",
-        },
-        // {
-        //   label: "会议室审核",
-        //   url: "https://hswkxc.idea-sf.com/fileService/static/slices/12@2x.png",
-        //   path: "/pages/subPackages/meetingroom/meetingroom",
-        // },
-        {
-          label: "安全管理自检",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/8@2x.png",
-          path: "/pages/subPackages/secureselftest2/index",
-        },
-        {
-          label: "安全管理统计",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/8@2x.png",
-          path: "/pages/subPackages/secureselftest/index",
-        },
-        {
-          label: "安全自检计划",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/9@2x.png",
-          path: "/pages/subPackages/secureselfplan/index",
-        },
-
-        {
-          label: "政企服务",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/11@2x.png",
-          path: "/pages/subPackages/repairDispatch-app/index",
-        },
-        {
-          label: "服务派单",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/11@2x.png",
-          path: "/pages/subPackages/repairDispatch-serve/index",
-        },
-        {
-          label: "服务处理",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/10@2x.png",
-          path: "/pages/subPackages/repairprocessing-app/index",
-        },
-
-        {
-          label: "案卷填报",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/15@2x.png",
-          path: "/pages/subPackages/modifyReport/index",
-        },
-        {
-          label: "案卷派单",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/14@2x.png",
-          path: "/pages/subPackages/modifySend/index",
-        },
-        {
-          label: "案卷处理",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/13@2x.png",
-          path: "/pages/subPackages/modifyHandle/index",
-        },
-        {
-          label: "活动核销",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-          path: "/pages/subPackages/activity/index",
-        },
-        {
-          label: "可视化大屏",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-          path: "/pages/subPackages/bigscreen/bigscreen",
-        },
-        {
-          label: "场馆审核",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-          path: "/pages/subPackages/venueRoom/meetingroom",
-        },
-        {
-          label: "园区活动",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-          path: "/pages/subPackages/parkActivities/index",
-        },
-        {
-          label: "通知公告",
-          url: "https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",
-          path: "/pages/subPackages/announcement/index",
-        },
-      ],
+      mapList: [],
       MeetingNum: 0,
       VenueNum: 0,
     };
@@ -159,41 +195,11 @@ export default {
   mounted() {
     // demo();
   },
-  onLoad() {
-    this.getUserPower();
-    this.getVenueAppointListAppCount();
-    this.getMeetingAppointListAppCount();
-  },
-  onShow() {
-    this.getVenueAppointListAppCount();
-    this.getMeetingAppointListAppCount();
-  },
+  onLoad() {},
+  onShow() {},
   methods: {
-    async getVenueAppointListAppCount() {
-      let data = await getVenueAppointListAppCount();
-      this.VenueNum = data.data;
-      console.log(data);
-    },
-    async getMeetingAppointListAppCount() {
-      let data = await getMeetingAppointListAppCount();
-      this.MeetingNum = data.data;
-      console.log(data);
-    },
-    // getUserLocalStorageInfo
-    async getUserPower() {
-      if (getUserLocalStorageInfo().user.id == 1) return;
-      let that = this;
-      let newList = [];
-      let { data } = await getUserPower(getUserLocalStorageInfo().user.id);
-      for (let i = 0; i < that.mapList.length; i++) {
-        let index = data.findIndex((e) => e == that.mapList[i].label);
-        if (index != -1) {
-          newList.push(that.mapList[i]);
-        }
-      }
-      that.mapList = newList;
-    },
     jumpPage(path) {
+      console.log(path);
       uni.navigateTo({
         url: path,
         fail: (fail) => {},
@@ -204,58 +210,128 @@ export default {
 </script>
 
 <style lang="scss">
-page {
-  background: white;
-}
-.jiaobiao {
-  position: absolute;
-  top: 10rpx;
-  right: 30rpx;
-  border-radius: 50%;
-  background: red;
-  font-size: 24rpx;
-  height: 30rpx;
-  width: 30rpx;
-  text-align: center;
-  line-height: 24rpx;
-  color: white;
-  line-height: 30rpx;
-}
-.banner {
-  width: 100%;
-  height: 450rpx;
-  position: absolute;
-  z-index: 1;
-}
-.mapdom {
-  width: 25%;
-  height: 184rpx;
-}
-.maptxt {
-  width: 100%;
-  height: 34rpx;
-  font-size: 24rpx;
-  font-family: PingFang SC-Medium, PingFang SC;
-  font-weight: 500;
-  color: #333333;
-  text-align: center;
-}
-.mapIcon {
-  width: 160rpx;
-  height: 160rpx;
-  //background: linear-gradient(141deg, #89BCFF 0%, #2782FA 100%);
-  display: block;
-  margin: auto;
+.indexpage {
+  .menu-list {
+    margin-top: 24rpx;
+    display: flex;
+    flex-wrap: wrap;
+    justify-content: space-between;
+    background: #ffffff;
+    width: 100%;
+    padding: 30rpx 32rpx 6rpx 32rpx;
+    box-sizing: border-box;
+    .menu-row {
+      width: 330rpx;
+      height: 128rpx;
+      position: relative;
+      margin-bottom: 24rpx;
+      .text {
+        position: absolute;
+        left: 32rpx;
+        top: 38rpx;
+        font-weight: bold;
+        font-size: 36rpx;
+        color: #333333;
+        z-index: 2;
+      }
+      .back {
+        width: 330rpx;
+        height: 128rpx;
+        position: absolute;
+        z-index: 1;
+      }
+      .icon {
+        position: absolute;
+        left: 230rpx;
+        top: 32rpx;
+        width: 68rpx;
+        height: 68rpx;
+        z-index: 2;
+      }
+    }
+  }
+  .report {
+    margin-top: 24rpx;
+    display: flex;
+    padding: 24rpx 28rpx;
+    background: #ffffff;
+    .right {
+      display: flex;
+      align-items: center;
+      margin-left: 16rpx;
+    }
+    .info {
+      display: flex;
+      align-items: center;
+      margin-top: 12rpx;
+      margin-bottom: 12rpx;
+      display: flex;
+      color: rgba(24, 23, 42, 1);
+    }
+    .left {
+      display: flex;
+      align-items: center;
+    }
+    .line {
+      width: 2rpx;
+      height: 80rpx;
+      background: #e7eaf0;
+    }
+    image {
+      height: 96rpx;
+      width: 86rpx;
+      margin-right: 16rpx;
+    }
+    .day {
+      font-size: 24rpx;
+      color: rgba(102, 102, 102, 1);
+    }
+  }
+  .indextop {
+    background: #ffffff;
+    border-radius: 0rpx 0rpx 0rpx 0rpx;
+    padding-bottom: 24rpx;
+  }
+  .bz {
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    margin-top: 24rpx;
+    .yyicon {
+      height: 60rpx;
+      width: 60rpx;
+    }
+    .jiantou {
+      color: rgb(122, 134, 154);
+      margin-left: 12rpx;
+      margin-right: 12rpx;
+      font-size: 30rpx;
+      font-weight: bold;
+    }
+  }
+  .jiaobiao {
+    position: absolute;
+    top: 10rpx;
+    right: 30rpx;
+    border-radius: 50%;
+    background: red;
+    font-size: 24rpx;
+    height: 30rpx;
+    width: 30rpx;
+    text-align: center;
+    line-height: 24rpx;
+    color: white;
+    line-height: 30rpx;
+  }
+  .banner {
+    width: 686rpx;
+    height: 300rpx;
+    display: block;
+    margin: auto;
+    z-index: 1;
+  }
 }
-.map {
-  position: absolute;
-  z-index: 2;
-  width: calc(100% - 64rpx);
-  height: 770rpx;
-  border-radius: 48rpx 48rpx 0rpx 0rpx;
-  background: white;
-  margin-top: 402rpx;
-  padding: 48rpx 32rpx;
-  overflow-y: auto;
+page {
+  background: rgba(245, 247, 250, 1);
 }
 </style>

+ 89 - 98
pages/login/login.vue

@@ -1,94 +1,68 @@
 <template>
   <div class="login">
     <img src="../../common/assets/image/logobig.png" alt="" class="logobig" />
-    <div class="logTit">
-      <span class="titletxt">智慧红沙湾园区管理</span>
-      <p class="titletxt2">(管理端)</p>
-    </div>
-    <div class="loginBox">
-      <div class="inputBox">
-        <img
-          src="../../common/assets/image/comicon.png"
-          alt=""
-          style="height: 60rpx"
-        />
-        <input
-          type="text"
-          placeholder="请输入账号"
-          v-model="loginForm.userName"
-        />
-      </div>
-      <div class="inputBox">
-        <img src="../../common/assets/image/pswicon.svg" alt="" />
-        <input
-          type="password"
-          placeholder="请输入密码"
-          v-model="loginForm.password"
-        />
-      </div>
-      <div class="inputBox">
-        <img src="../../common/assets/image/yzmicon.svg" alt="" />
-        <input
-          type="text"
-          placeholder="验证码"
-          class="yanzhengma"
-          v-model="loginForm.code"
-        />
-        <img
-          :src="loginForm.captchaImage"
-          @click="captchaImageRefresh(loginForm)"
-          class="yanzhengImg"
-        />
-      </div>
-      <div class="pswBox" @click="forgetPsw()">
-        <p>忘记密码?</p>
-      </div>
-      <div>
-        <van-button
-          type="default"
-          class="loginbtn"
-          size="large"
-          color="#1f1fbe"
-          @click="login"
-          >登 录</van-button
-        >
-        <van-button
-          type="default"
-          class="loginbtn"
-          size="large"
-          color="#1f1fbe"
-          @click="wxlogin"
-          >微信账号一键登录</van-button
-        >
-        <van-button type="default" size="large" color="#1f1fbe" @click="goqy"
-          >前往企业端</van-button
-        >
-        <div
-          @click="gozhfw"
-          style="text-align: center; margin-top: 15rpx; color: #1f1fbe"
-        >
-          前往智慧法务
+    <img src="./topimg.png" alt="" class="topimg" />
+    <div class="wellogin">
+      <div class="loginBox">
+        <div class="logTit">
+          <span class="titletxt">欢迎登录</span>
+        </div>
+        <div class="inputBox">
+          <img src="../../common/assets/image/comicon.png" alt="" />
+          <input
+            type="text"
+            placeholder="请输入账号"
+            v-model="loginForm.userName"
+          />
+        </div>
+        <div class="inputBox">
+          <img src="../../common/assets/image/pswicon.svg" alt="" />
+          <input
+            type="password"
+            placeholder="请输入密码"
+            v-model="loginForm.password"
+          />
+        </div>
+        <div class="inputBox">
+          <img src="../../common/assets/image/yzmicon.svg" alt="" />
+          <input
+            type="text"
+            placeholder="验证码"
+            class="yanzhengma"
+            v-model="loginForm.code"
+          />
+          <img
+            :src="loginForm.captchaImage"
+            @click="captchaImageRefresh(loginForm)"
+            class="yanzhengImg"
+          />
+        </div>
+
+        <div style="margin-top: 80rpx">
+          <van-button
+            type="default"
+            class="loginbtn"
+            size="large"
+            color="rgba(138, 5, 84, 1)"
+            @click="login"
+            >登 录</van-button
+          >
         </div>
-      </div>
-      <div style="display: flex; justify-content: space-between">
-        <!-- <van-button
-          style="margin-top: 15rpx; width: 49%"
-          type="default"
-          size="large"
-          color="#1f1fbe"
-          @click="gozhfw"
-          >前往智慧法务</van-button
-        > -->
       </div>
     </div>
     <div class="bottomTips">
-      2022@copyrigtht IOT - Park-tech. supported by 中国移动
+      <label class="radio">
+        <radio value="r1" checked="true" color="#8a0554" />
+        已阅读并同意<span style="color: #8a0554"
+          >《服务协议条款及隐私政策》</span
+        >
+      </label>
     </div>
     <van-dialog id="van-toast" />
   </div>
 </template>
 <script>
-import Dialog from "../..//wxcomponents/weapp/dist/dialog/dialog.js";
+import Dialog from "../../wxcomponents/weapp/dist/dialog/dialog.js";
 import { login } from "@/js_sdk/http.js";
 
 export default {
@@ -204,15 +178,27 @@ export default {
   background: white;
   height: 100%;
   overflow: hidden;
-  .logTit {
-    width: 80vw;
-    left: 10vw;
-    top: 45vw;
-    display: flex;
-    flex-direction: column;
-    justify-content: center;
-    align-items: center;
+  .wellogin {
+    width: 750rpx;
+    height: 1060;
+    background: #ffffff;
+    border-radius: 40rpx 40rpx 0rpx 0rpx;
+    position: absolute;
+    padding-top: 68rpx;
+    top: 330rpx;
+  }
+  .topimg {
+    /* margin: auto; */
+    display: block;
+    margin: auto;
     position: absolute;
+    left: calc(50% - 300rpx);
+    /* width: 240rpx; */
+    width: 600rpx;
+  }
+  .logTit {
+    width: 70vw;
+    margin-bottom: 62rpx;
     z-index: 1;
     color: rgba(51, 51, 51, 1);
     font-size: 4vw;
@@ -244,24 +230,28 @@ export default {
   }
 
   .loginBox {
-    width: 70vw;
-    left: 15vw;
-    padding-top: 60vw;
-    position: absolute;
+    width: 80vw;
+    margin: auto;
   }
   .inputBox {
     position: relative;
     display: flex;
     align-items: center;
+    width: 100%;
     img {
       position: absolute;
-      width: 7vw;
+      width: 50rpx;
+      height: 70rpx;
+      margin-right: 16rpx;
+      margin-left: 32rpx;
       // padding-top: 40px;
     }
     .yanzhengImg {
       right: 0;
-      width: 20vw;
-      height: 10vw;
+      width: 21vw;
+      height: 15vw;
+      margin: 0;
+      padding: 0;
     }
     .yanzhengImgBox {
       height: 50px;
@@ -269,14 +259,15 @@ export default {
       align-items: center;
     }
     input {
-      background: black;
+      background: #f3f5f9;
       width: 100%;
-      height: 76rpx;
-      padding: 5rpx 0 5rpx 70rpx;
+      height: 100rpx;
+      padding: 5rpx 0 5rpx 85rpx;
       background-color: rgba(255, 255, 255, 1);
       border: 1rpx solid rgba(29, 24, 188, 0.05);
-      margin: 5rpx 0;
+      margin: 16rpx 0;
       font-size: 4vw;
+      background: #f3f5f9;
     }
     input::-webkit-input-placeholder {
       color: rgba(153, 153, 153, 1);

BIN
pages/login/topimg.png


+ 124 - 108
pages/mine/mine.vue

@@ -1,90 +1,74 @@
 <template>
-  <view>
+  <view class="mine">
     <img src="../../static/mine/banner.png" class="banner" />
+    <div class="title-mine">我的</div>
     <div class="info">
       <div class="headerandwelcome">
         <img src="../../static/mine/head.png" alt="" class="header" />
-        <div class="weltxt">
-          {{ getUserLocalStorageInfo.user.truename }},欢迎您!
+        <div class="welcome">
+          <div class="title">欢迎您!</div>
+          <div class="weltxt">
+            189*******12345
+            <!-- {{ getUserLocalStorageInfo.user.phone }} -->
+          </div>
         </div>
       </div>
-      <div class="labelpage">
+
+      <div style="border-radius: 2rem; padding: 6rpx 32rpx; background: white">
         <div class="labelpage_row">
           <img height="44rpx" src="../../static/mine/versionicon.png" alt="" />
+
           <div class="labelpage_text">
             <div class="labelpage_name">当前版本号</div>
             <div class="labelpage_value">v1.0.1</div>
-            <div class="border"></div>
           </div>
         </div>
-        <div
-          v-if="!bindFlag"
-          class="labelpage_row"
-          style="margin-top: 48rpx"
-          @click="bindWxId()"
-        >
+        <div v-if="!bindFlag" class="labelpage_row" @click="bindWxId()">
           <img height="44rpx" src="../../static/mine/versionicon.png" alt="" />
           <div class="labelpage_text">
             <div class="labelpage_name">绑定微信账号</div>
             <!-- <div class="labelpage_value">v1.0.1</div> -->
-            <div class="border"></div>
           </div>
         </div>
-        <div
-          v-if="bindFlag"
-          class="labelpage_row"
-          style="margin-top: 48rpx"
-          @click="unbindWxId()"
-        >
+        <div v-if="bindFlag" class="labelpage_row" @click="unbindWxId()">
           <img height="44rpx" src="../../static/mine/versionicon.png" alt="" />
+
           <div class="labelpage_text">
             <div class="labelpage_name">解绑微信账号</div>
             <!-- <div class="labelpage_value">v1.0.1</div> -->
-            <div class="border"></div>
           </div>
         </div>
-        <div
-          class="labelpage_row"
-          style="margin-top: 48rpx"
-          @click="bindPush()"
-        >
-          <img height="44rpx" src="../../static/mine/versionicon.png" alt="" />
+        <div class="labelpage_row" @click="bindPush()">
+          <img src="../../static/mine/versionicon.png" alt="" />
+
           <div class="labelpage_text">
             <div class="labelpage_name">绑定消息推送</div>
             <!-- <div class="labelpage_value">v1.0.1</div> -->
-            <div class="border"></div>
           </div>
         </div>
-        <div
-          class="labelpage_row"
-          style="margin-top: 48rpx"
-          @click="editPassWord()"
-        >
+        <div class="labelpage_row" @click="editPassWord()">
           <img height="44rpx" src="../../static/mine/editpassword.png" alt="" />
+
           <div class="labelpage_text">
             <div class="labelpage_name">密码修改</div>
             <div class="labelpage_value">
               <img
                 src="../../static/mine/youjiantou.png"
-                style="width: 44rpx; height: 44rpx"
+                height="44rpx"
                 alt=""
               />
             </div>
-            <div class="border"></div>
+            <!-- <div class="border"></div> -->
           </div>
         </div>
-        <div
-          class="labelpage_row"
-          style="margin-top: 48rpx"
-          @click="outLogin()"
-        >
+        <div class="labelpage_row" @click="outLogin()" style="border: none">
           <img height="44rpx" src="../../static/mine/outicon.png" alt="" />
           <div class="labelpage_text">
             <div class="labelpage_name">退出账号</div>
             <div class="labelpage_value">
               <img
                 src="../../static/mine/youjiantou.png"
-                style="width: 44rpx; height: 44rpx"
+                height="44rpx"
                 alt=""
               />
             </div>
@@ -249,81 +233,113 @@ export default {
 };
 </script>
 <style scoped lang="scss">
-.banner {
-  width: 100%;
-  height: 424rpx;
-  position: absolute;
-  z-index: 1;
-}
-.headerandwelcome {
-  margin-bottom: 60rpx;
-  height: 120rpx;
-  width: 100%;
-}
-.info {
-  position: absolute;
-  width: calc(100% - 64rpx);
-  margin: 60rpx 32rpx 0 32rpx;
-  z-index: 2;
-}
-.header {
-  height: 120rpx;
-  width: 120rpx;
-  margin-left: 15rpx;
-  border-radius: 50%;
-  float: left;
-}
-.weltxt {
-  height: 120rpx;
-  line-height: 120rpx;
-  color: #ffffff;
-  margin-left: 32rpx;
-  float: left;
-}
-.labelpage {
-  width: calc(100% - 96rpx);
-  // height: 308rpx;
-  padding: 96rpx 48rpx;
-  border-radius: 12rpx 12rpx 12rpx 12rpx;
-  background: #ffffff;
-}
-.labelpage_row {
-  height: 83rpx;
-  width: 100%;
-  img {
-    height: 44rpx;
-    width: 44rpx;
-    float: left;
-    margin-right: 12rpx;
+.mine {
+  .welcome {
+    margin-left: 32rpx;
+
+    .title {
+      font-weight: bold;
+      font-size: 48rpx;
+      color: #18172a;
+    }
   }
-  .labelpage_text {
-    width: calc(100% - 64rpx);
-    height: 44rpx;
-    line-height: 44rpx;
-    float: left;
+
+  .banner {
+    width: 100%;
+    height: 100vh;
+    position: absolute;
+    z-index: 1;
   }
-  .labelpage_name {
-    height: 44rpx;
-    line-height: 44rpx;
-    float: left;
-    font-size: 28rpx;
-    color: #081640;
+  .headerandwelcome {
+    display: flex;
+    align-items: center;
+    margin-bottom: 60rpx;
+    height: 120rpx;
+    width: 100%;
+  }
+  .title-mine {
+    position: absolute;
+    top: 110rpx;
+    width: 100%;
+    text-align: center;
+    color: #18172a;
     font-weight: 400;
+    font-size: 36rpx;
   }
-  .labelpage_value {
-    height: 44rpx;
-    line-height: 44rpx;
-    float: right;
-    font-size: 28rpx;
-    color: #1d18bc;
+  .info {
+    position: absolute;
+    top: 260rpx;
+    width: calc(100% - 64rpx);
+    margin: 0 32rpx 0 32rpx;
+    z-index: 2;
+  }
+  .header {
+    height: 120rpx;
+    width: 120rpx;
+    margin-left: 15rpx;
+    border-radius: 50%;
+  }
+  .weltxt {
     font-weight: 400;
+    font-size: 32rpx;
+    color: #333333;
+    margin-top: 12rpx;
   }
-  .border {
-    margin-top: 48rpx;
-    width: 100%;
-    height: 1rpx;
-    border-bottom: 2rpx solid #e6e6e6;
-    float: left;
+  .labelpage {
+    // width: calc(100% - 96rpx);
+    // height: 308rpx;
+    // padding: 96rpx 48rpx;
+    border-radius: 12rpx 12rpx 12rpx 12rpx;
+    background: #ffffff;
+  }
+  .labelpage_row {
+    border-bottom: 1px solid rgba(230, 230, 230, 1);
+
+    display: flex;
+    // width: 686rpx;
+    padding: 32rpx;
+    padding-left: 0;
+    padding-right: 0;
+    box-sizing: border-box;
+    background: white;
+    // padding: 32rpx;
+    // height: 83rpx;
+    // width: 100%;
+    img {
+      height: 44rpx;
+      width: 44rpx;
+      margin-right: 24rpx;
+    }
+    .labelpage_text {
+      display: flex;
+      justify-content: space-between;
+      // height: 44rpx;
+      align-items: center;
+      width: 580rpx;
+      // line-height: 44rpx;
+    }
+    .labelpage_name {
+      // height: 44rpx;
+      // line-height: 44rpx;
+      // width: 440rpx;
+      font-size: 28rpx;
+      color: #081640;
+      font-weight: 400;
+    }
+    .labelpage_value {
+      height: 44rpx;
+      // line-height: 44rpx;
+      float: right;
+      font-size: 28rpx;
+      color: #1d18bc;
+      font-weight: 400;
+    }
+    // .border {
+    //   margin-top: 48rpx;
+    //   width: 100%;
+    //   height: 1rpx;
+    //   border-bottom: 2rpx solid #e6e6e6;
+    // }
   }
 }
 </style>

+ 0 - 43
pages/subPackages/activity/api_activity.js

@@ -1,43 +0,0 @@
-import { request } from './request'
-
-const baseUri = ''
-const parkActivity = '/wx/parkActivity'
-
-export function list(data) {
-    return request({
-        url: baseUri + parkActivity + '/list',
-        method: 'post',
-        data: data
-    })
-}
-
-export function getActivityById(id, userId) {
-    return request({
-        url: baseUri + parkActivity + '/getActivityById?id=' + id + '&userId=' + userId,
-        method: 'get'
-    })
-}
-
-export function clickCollect(data) {
-    return request({
-        url: baseUri + parkActivity + '/clickCollect',
-        method: 'post',
-        data: data
-    })
-}
-
-export function insertRegisSignInfo(data) {
-    return request({
-        url: baseUri + parkActivity + '/insertRegisSignInfo',
-        method: 'post',
-        data: data
-    })
-}
-
-export function listRegisSignInfo(data) {
-    return request({
-        url: baseUri + parkActivity + '/listRegisSignInfo',
-        method: 'post',
-        data: data
-    })
-}

+ 0 - 233
pages/subPackages/activity/apply-popup.vue

@@ -1,233 +0,0 @@
-<template>
-  <div class="apply">
-    <van-popup :show="show" class="form-popup">
-      <div class="popup-body">
-        <div class="popup-header">
-          <div class="title">请确认企业签到信息</div>
-          <div class="close" @click="close">
-            <i class="iconfont icon-guanbi"></i>
-          </div>
-        </div>
-        <div class="popup-center">
-          <van-form>
-            <van-field
-              readonly
-              class="input-item"
-              label="*公司名称"
-              placeholder="请填写公司名称"
-              :value="signInfo.companyName"
-            />
-            <van-field
-              readonly
-              class="input-item"
-              label="*参与人姓名"
-              placeholder="请填写参与人姓名"
-              :value="signInfo.participants"
-            />
-            <van-field
-              readonly
-              class="input-item"
-              label="*参与人职位"
-              placeholder="请填写参与人职位"
-              :value="signInfo.participantsPosition"
-            />
-            <van-field
-              readonly
-              class="input-item"
-              label="*参与总人数"
-              placeholder="请填写参与总人数"
-              :value="signInfo.participantsNumber"
-            />
-            <van-field
-              readonly
-              class="input-item"
-              label="说明"
-              :value="signInfo.remark"
-              type="textarea"
-              autosize
-            />
-          </van-form>
-        </div>
-        <div class="popup-foot-but">
-          <div class="cancel" @click="cancel()">取消</div>
-          <div class="gb" @click="confirm">确认</div>
-        </div>
-      </div></van-popup
-    >
-  </div>
-</template>
-  
-  <script>
-import { richScan } from "@/js_sdk/http";
-import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
-import vanField from "../../../wxcomponents/weapp/dist/field/index";
-export default {
-  props: {
-    referenceId: {
-      // 关联id
-      type: String,
-      default: "",
-    },
-    referenceType: {
-      // 关联类型
-      type: String,
-      default: "",
-    },
-  },
-  components: {
-    vanPopup,
-    vanField,
-  },
-  data() {
-    return {
-      signInfo: {},
-      show: false,
-      companyName: "",
-      participants: "",
-      participantsPosition: "",
-      participantsPhone: "",
-      partakeNumber: "",
-      remark: "",
-    };
-  },
-  mounted() {},
-  methods: {
-    cancel() {
-      uni.navigateBack({});
-    },
-    init(signInfo) {
-      this.signInfo = signInfo;
-      this.show = true;
-    },
-    close() {
-      this.show = false;
-      this.initData();
-    },
-    initData() {
-      this.companyName = "";
-      this.participants = "";
-      this.participantsPosition = "";
-      this.participantsPhone = "";
-      this.partakeNumber = "";
-      this.remark = "";
-    },
-    confirm() {
-      const _this = this;
-
-      richScan({
-        signInCode: _this.signInfo.signInCode,
-      }).then((res) => {
-        if (res.errmsg == "成功") {
-          this.$showToast(res.data);
-          if (res.data == "签到成功") {
-            uni.navigateBack({});
-          }
-        }
-      });
-      _this.show = false;
-      _this.initData();
-    },
-  },
-};
-</script>
-  
-  <style lang="scss" type="text/scss">
-.form-popup {
-  top: 50%;
-  width: 644rpx;
-  border-radius: 15rpx;
-  .popup-body {
-    padding-bottom: 100rpx;
-    position: relative;
-    .popup-header {
-      padding: 30rpx 40rpx;
-      @include flex;
-      .title {
-        font-size: 28rpx;
-        color: #a1a1a1;
-      }
-      .close {
-        width: 80rpx;
-        text-align: right;
-        i {
-          font-size: 30rpx;
-          color: $color4;
-        }
-      }
-    }
-    .popup-center {
-      padding: 0 40rpx;
-      width: 700rpx;
-      .input-item {
-        margin-top: 30rpx;
-        .van-field__label {
-          font-size: 28rpx;
-          color: #333;
-          line-height: 60rpx;
-        }
-        .van-field__body {
-          input {
-            line-height: 60rpx;
-          }
-        }
-      }
-    }
-    .popup-foot-but {
-      box-sizing: border-box;
-      position: absolute;
-      width: 100%;
-      bottom: 0;
-      left: 0;
-      padding: 0 0 20rpx 0rpx;
-      display: flex;
-      .gb {
-        text-align: center;
-        width: 152rpx;
-        font-size: 28rpx;
-        color: #fff;
-        background: $main;
-        line-height: 64rpx;
-        border-radius: 6rpx;
-        float: right;
-        margin-left: 295rpx;
-      }
-      .cancel {
-        text-align: center;
-        width: 152rpx;
-        font-size: 28rpx;
-        color: rgb(51, 51, 51);
-        border: 2rpx solid #ccc;
-        background: white;
-        line-height: 64rpx;
-        border-radius: 6rpx;
-        margin-left: 100rpx;
-        float: left;
-      }
-    }
-  }
-}
-
-.apply {
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-  width: 700rpx;
-}
-.popup-foot-but {
-  position: absolute;
-  width: 100%;
-  bottom: 0;
-  left: 0;
-  text-align: center;
-  padding: 0 0 30rpx;
-  .gb {
-    width: 284rpx;
-    font-size: 28rpx;
-    color: #fff;
-    background: $blue;
-    line-height: 92rpx;
-    border-radius: 10rpx;
-  }
-}
-</style>
-  

+ 0 - 13
pages/subPackages/activity/code.vue

@@ -1,13 +0,0 @@
-<template></template>
-
-<script>
-export default {
-  onLoad() {
-    this.getScanCode();
-  },
-  methods: {},
-};
-</script>
-
-<style>
-</style>

+ 0 - 397
pages/subPackages/activity/index.vue

@@ -1,397 +0,0 @@
-<template>
-  <div class="detail">
-    <div class="detail-body">
-      <div class="img-text">
-        <img :src="activityDetail.annexArray[0]" alt="" />
-      </div>
-
-      <div class="collect-part">
-        <div
-          class="normal-tip by y-bg"
-          v-if="activityDetail.registrationStatus === '1'"
-        >
-          报名中
-        </div>
-        <div class="normal-tip by h-bg" v-else>报名已结束</div>
-        <div class="right">
-          <span class="num">{{ activityDetail.partakeNumber }}人参与</span>
-          <div class="icon-collect" @click="changeCollectorsStatus()">
-            <i
-              :class="[
-                'iconfont icon-wujiaoxingxingxingshoucangdianji',
-                active && 'blue',
-              ]"
-            ></i>
-          </div>
-        </div>
-      </div>
-
-      <div class="tel-part">
-        <div class="tel-name" style="line-height: 74rpx; width: 300rpx">
-          联系电话
-        </div>
-        <TelNum :num="activityDetail.contactPhone" style="width: 60%" />
-      </div>
-
-      <div class="info-part">
-        <div class="info-item">
-          <div class="custom-item-tit">
-            <span class="tit">活动举办</span>
-          </div>
-          <div class="text">{{ activityDetail.activityHold }}</div>
-        </div>
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">活动内容</span></div>
-          <div class="text vhtml" v-html="activityDetail.activityContent"></div>
-        </div>
-
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">活动时间</span></div>
-          <div class="text">
-            {{ activityDetail.activityStartTime }} —
-            {{ activityDetail.activityEndTime }}
-          </div>
-        </div>
-
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">活动地址</span></div>
-          <div class="text">
-            <span class="add">{{ activityDetail.activityAddress }}</span>
-            <!-- <span class="dh" @click="goAddress(activityDetail.activityAddress)"
-              >导航</span
-            > -->
-          </div>
-        </div>
-        <!-- 
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">报名条件</span></div>
-          <div class="text">
-            {{
-              !activityDetail.registrationConditions
-                ? "无条件"
-                : activityDetail.registrationConditions
-            }}
-          </div>
-        </div> -->
-
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">报名时间</span></div>
-          <div class="text">
-            {{ activityDetail.registrationStartTime }} —
-            {{ activityDetail.registrationEndTime }}
-          </div>
-        </div>
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">活动参与</span></div>
-          <div class="text">还有 {{ number }} 个名额</div>
-        </div>
-
-        <div class="info-item">
-          <div class="custom-item-tit"><span class="tit">附件</span></div>
-          <div class="text" style="16rpx 0px">
-            <div
-              v-for="item in activityDetail.activityFile"
-              :key="item.uid"
-              @click="openFile(item.url)"
-            >
-              {{ item.name }}
-            </div>
-          </div>
-        </div>
-      </div>
-    </div>
-    <div
-      class="but-bottom"
-      @click="getApply()"
-      :signInfo="signInfo"
-      v-if="signInfo.signInStatus == 1"
-    >
-      到场签到
-    </div>
-
-    <!-- 申请弹框 -->
-    <apply-popup ref="apply" />
-  </div>
-</template>
-  
-  <script>
-import TelNum from "../../subPackages/components/tel-number";
-import ApplyPopup from "./apply-popup.vue";
-import {
-  getActivityById,
-  clickCollect,
-  getUserLocalStorageInfo,
-} from "@/js_sdk/http";
-export default {
-  components: {
-    TelNum,
-    ApplyPopup,
-  },
-
-  data() {
-    return {
-      signInfo: {},
-      signInCode: "",
-      active: false,
-      id: "",
-      activityDetail: {
-        referenceId: "",
-      },
-      number: 0,
-    };
-  },
-
-  onLoad() {
-    this.getScanCode();
-  },
-  methods: {
-    getScanCode() {
-      let that = this;
-      uni.scanCode({
-        success: (e) => {
-          that.signInCode = e.result;
-          that.getActivityById();
-        },
-        fail: (fail) => {
-          uni.navigateBack({});
-        },
-      });
-    },
-    openFile(url) {
-      uni.downloadFile({
-        url: url, // 网络文档地址
-        success: (data) => {
-          if (data.statusCode === 200) {
-            uni.saveFile({
-              tempFilePath: data.tempFilePath, //临时路径
-              success: function (res) {
-                // 保存路径
-
-                setTimeout(() => {
-                  //打开文档查看
-                  uni.openDocument({
-                    filePath: res.savedFilePath,
-                    success: function (res) {},
-                  });
-                }, 3000);
-              },
-            });
-          }
-        },
-        fail: (err) => {
-          uni.showToast({
-            title: "失败请重新下载",
-          });
-        },
-      });
-    },
-    getActivityById(a, b, c) {
-      const _this = this;
-      getActivityById(
-        "1126547436026724352",
-        _this.signInCode,
-        getUserLocalStorageInfo().user.id
-      ).then((res) => {
-        if (res.data.info) {
-          _this.annexArray = res.data.info.annexArray;
-          _this.activityDetail = res.data.info;
-          _this.activityDetail.activityContent =
-            res.data.info.activityContent.replace(
-              "<img",
-              `<img style="max-width:100%;"`
-            );
-          _this.activityDetail.registrationStartTime =
-            this.$common.transBaseDateTime(
-              _this.activityDetail.registrationStartTime
-            );
-          _this.activityDetail.registrationEndTime =
-            this.$common.transBaseToDateTime(
-              _this.activityDetail.registrationEndTime
-            );
-          _this.activityDetail.activityStartTime =
-            this.$common.transBaseDateTime(
-              _this.activityDetail.activityStartTime
-            );
-          _this.activityDetail.activityEndTime =
-            this.$common.transBaseToDateTime(
-              _this.activityDetail.activityEndTime
-            );
-          if (_this.activityDetail.collectorsStatus === "2") {
-            _this.active = true;
-          } else {
-            _this.active = false;
-          }
-          _this.number =
-            _this.activityDetail.limitPersonNumber -
-            _this.activityDetail.partakeNumber;
-          _this.activityDetail.activityFile = JSON.parse(
-            res.data.info.activityFile
-          );
-        }
-        if (res.data.signInfo) {
-          this.signInfo = res.data.signInfo;
-          if (res.data.signInfo == 2) {
-            this.$showToast("该企业已签到");
-          }
-          this.signInfo.signInCode = _this.signInCode;
-        }
-      });
-    },
-    getApply() {
-      this.$refs.apply.init(this.signInfo);
-    },
-    goAddress(address) {
-      if (address === null || undefined === address || address === "") {
-        this.$showToast("地址不能为空");
-        return false;
-      } else {
-        this.navigation(address);
-      }
-    },
-    changeCollectorsStatus() {
-      if (this.active) {
-        const _this = this;
-        clickCollect({
-          id: this.id,
-          userId: getUserLocalStorageInfo().user.id,
-          collectorsStatus: "1",
-        }).then((res) => {
-          _this.getActivityById();
-        });
-      } else {
-        const _this = this;
-        clickCollect({
-          id: this.id,
-          userId: getUserLocalStorageInfo().user.id,
-          collectorsStatus: "2",
-        }).then((res) => {
-          _this.getActivityById();
-        });
-      }
-    },
-  },
-};
-</script>
-  
-  <style lang="scss" type="text/scss" >
-// 底部按钮
-.but-bottom {
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  width: 100%;
-  line-height: 120rpx;
-  background: $main;
-  color: #fff;
-  font-size: 36rpx;
-  text-align: center;
-}
-
-.text {
-  font-size: 24rpx;
-  color: $text5;
-  margin-top: 32rpx;
-}
-.detail {
-  box-sizing: border-box;
-  background-color: #f2f2f2;
-  padding: 0 0 140rpx;
-  overflow-y: auto;
-
-  .detail-body {
-    .img-text {
-      img {
-        height: 420rpx;
-        width: 100%;
-      }
-    }
-    .collect-part {
-      background-color: #fff;
-      height: 120rpx;
-      padding: 0 30rpx;
-      margin-bottom: 10rpx;
-      @include flex;
-      .normal-tip {
-      }
-      .right {
-        @include flex;
-        .num {
-          margin-right: 20rpx;
-          font-size: 24rpx;
-          color: #333333;
-        }
-      }
-    }
-    .tel-part {
-      display: flex;
-      width: 100%;
-      background-color: #fff;
-      margin-bottom: 10rpx;
-      padding: 0 30rpx;
-      .tel-name {
-        color: #333;
-        font-size: 32rpx;
-        font-weight: 700;
-      }
-      .custom-tel-component {
-        width: 400rpx;
-        .left {
-          font-size: 26rpx;
-        }
-      }
-    }
-  }
-  .info-part {
-    background-color: #fff;
-    overflow-y: auto;
-    height: calc(100vh - 700rpx);
-    box-sizing: border-box;
-    padding: 40rpx 30rpx;
-    .tit {
-      padding-left: 2.667vw;
-      position: relative;
-      font-size: 4.267vw;
-      &::after {
-        content: "";
-        width: 0.8vw;
-        height: 90%;
-        background-color: #976dec;
-        border-radius: 0.4vw;
-        position: absolute;
-        left: 0;
-        top: 50%;
-        -webkit-transform: translateY(-50%);
-        transform: translateY(-50%);
-      }
-    }
-    .info-item {
-      padding: 10rpx 0rpx;
-      margin-bottom: 20rpx;
-      .custom-item-tit {
-        font-size: 32rpx;
-        font-weight: 700;
-      }
-      .text {
-        font-size: 24rpx;
-        color: $text5;
-        margin-top: 32rpx;
-        .add {
-          margin-right: 40rpx;
-        }
-        .dh {
-          width: 100rpx;
-          text-align: center;
-          display: inline-block;
-          color: $main;
-          border-left: 1rpx solid #666666;
-        }
-      }
-      &:last-child {
-        margin-bottom: 0rpx;
-      }
-    }
-  }
-}
-</style>
-  <style lang="scss">
-</style>

Разница между файлами не показана из-за своего большого размера
+ 0 - 1
pages/subPackages/activity/pdf.svg


+ 0 - 96
pages/subPackages/activity/wxMap.vue

@@ -1,96 +0,0 @@
-<template />
-<script>
-import wx from 'weixin-js-sdk'
-import { getSignature, getLonAndLat } from "@/api/wechat";
-
-export default {
-  name: 'WxSignature',
-  data() {
-    return {};
-  },
-  created() {},
-  mounted() {},
-  methods: {
-    //jsSDK 签名验证
-    getJsApiSign(mapParam){
-      let reqData = {}
-      var system = this.isIosOrAndroid()
-      if (system == 1) {
-          // 安卓
-          reqData.url = encodeURI(window.location.href.split('#')[0]);
-      } else if (system == 2) {
-          // iOS
-          // let url = window.location.href.split('smartParkH5')[0]+"smartParkH5/home";
-          reqData.url = encodeURI(window.entryUrl?window.entryUrl:window.location.href.split('#')[0])
-      }
-      
-      getSignature(reqData).then((res) => {
-        if(res.key == 200){
-          wx.config({
-              "debug": false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
-              "appId": 'wx7302e8b315a9a6f3', // 必填,公众号的唯一标识
-              "timestamp": res.data.timestamp, // 必填,生成签名的时间戳
-              "nonceStr": res.data.noncestr, // 必填,生成签名的随机串
-              "signature": res.data.signature, // 必填,签名,见附录1
-              "jsApiList": ['openLocation'], // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
-          });
-          //通过ready接口处理成功验证
-          wx.ready(function () {
-            //导航
-            wx.openLocation({
-              latitude: mapParam.latitude, // 纬度,浮点数,范围为90 ~ -90
-              longitude: mapParam.longitude, // 经度,浮点数,范围为180 ~ -180。
-              name: mapParam.name, // 位置名
-              address: mapParam.address, // 地址详情说明
-              scale: mapParam.scale, // 地图缩放级别,整型值,范围从1~28。默认为最大
-              infoUrl: mapParam.infoUrl // 在查看位置界面底部显示的超链接,可点击跳转
-            });
-          })
-
-          wx.error(function(res){
-          });
-
-        }
-      });
-    },
-
-    // 导航
-    navigation(address){
-      let data = {
-        address : address
-      } 
-      getLonAndLat(data).then((res) => {
-        if(res.key == 200){
-          if(res.data.status == 0){
-            let mapParam = {
-              name: res.data.result.title,
-              latitude: res.data.result.location.lat,
-              longitude: res.data.result.location.lng,
-              scale: 28,
-              address: data.address,
-              infoUrl: '#'
-            }
-            this.getJsApiSign(mapParam);
-          }
-        }
-      });
-    },
-
-    //判断是iOS还是android
-    isIosOrAndroid() {
-      var isAndroid = navigator.userAgent.indexOf('Android') > -1 || navigator.userAgent.indexOf('Adr') > -1; //android终端
-      var isIos = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
-      if(isAndroid){
-          // 相关逻辑代码
-          return 1
-      }
-      if(isIos){
-          // 相关逻辑代码
-          return 2
-      }
-      return 0;
-    }
-
-  },
-};
-</script>

Разница между файлами не показана из-за своего большого размера
+ 0 - 1477
pages/subPackages/addCompany/addCompany.vue


+ 0 - 161
pages/subPackages/addCompany/isSelectedTags.vue

@@ -1,161 +0,0 @@
-<template>
-  <van-popup :show="show" @close="onClose" position="bottom" round>
-    <div class="vanpoup_1">
-      <div style="display: flex">
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333"
-            >已选择({{ isSelectedList.length }})</span
-          >
-          <span
-            @click="clearAll()"
-            style="float: right; color: #1d18bc; font-size: 30rpx"
-          >
-            清空</span
-          >
-        </div>
-      </div>
-      <scroll-view scroll-y="true" style="height: 50vh">
-        <div
-          style="display: flex"
-          v-for="(item, index) in isSelectedList"
-          :key="index"
-        >
-          <div class="vanpoup_1_1">
-            <span style="font-size: 30rpx; color: #333333">
-              {{ item.label }}
-            </span>
-
-            <span
-              @click="spiliceIsSelectedList(item, index)"
-              style="float: right; color: #1d18bc; font-size: 30rpx"
-            >
-              <van-icon name="cross"
-            /></span>
-          </div>
-        </div>
-      </scroll-view>
-      <view class="btn-view">
-        <button
-          class="btn"
-          @click="closeTagsDialog()"
-          style="
-            border-top-left-radius: 5rem;
-            border-bottom-left-radius: 5rem;
-            background: white;
-            color: #1d18bc;
-            border: 1px solid;
-          "
-        >
-          已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-        </button>
-        <button
-          style="
-            border-radius: 0;
-            border: 1px solid #1d18bc;
-            border-top-right-radius: 5rem;
-            border-bottom-right-radius: 5rem;
-          "
-          class="btn"
-          @click="updown()"
-        >
-          确认提交
-        </button>
-      </view>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  props: {
-    isSelectedList: {
-      type: Array,
-      default: [],
-    },
-  },
-  data() {
-    return {
-      show: false,
-    };
-  },
-  methods: {
-    closeTagsDialog() {
-      this.show = false;
-    },
-    updown() {
-      this.$emit("updown");
-    },
-    cancel() {
-      this.show = false;
-    },
-    onOpen(e) {
-      this.show = true;
-    },
-    spiliceIsSelectedList(item, index) {
-      this.$emit("spiliceIsSelectedList", item, index);
-    },
-    clearAll() {
-      this.$emit("clearAll");
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style lang="scss">
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-  button {
-    &::after {
-      border: none;
-    }
-  }
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.vanpoup_1 {
-  height: 50vh;
-  width: 100%;
-  width: calc(100% - 128rpx);
-  margin-bottom: 74rpx;
-  padding: 64rpx;
-}
-.vanpoup_1_1 {
-  width: 100%;
-  border-bottom: 2rpx solid #cccccc;
-  height: 64rpx;
-  line-height: 64rpx;
-}
-</style>

+ 0 - 530
pages/subPackages/addCompany/momo-multipleSelect.vue

@@ -1,530 +0,0 @@
-<template>
-  <view class="select-container" v-show="show" @touchmove.stop.prevent>
-    <view
-      class="mask"
-      :class="activeClass ? 'mask-show' : ''"
-      @tap="onCancel(true)"
-    ></view>
-    <view class="select-box" :class="activeClass ? 'select-box-show' : ''">
-      <div style="height: 900rpx">
-        <div style="display: flex">
-          <uni-easyinput
-            type="text"
-            class="searchinput"
-            v-model="formData.qymc"
-            placeholder="输入关联企业名称(模糊查询)"
-            style="height: 70rpx"
-          />
-          <van-button
-            class="searchbutton"
-            style="height: 70rpx"
-            type="primary"
-            @click="getCompaynList()"
-            >搜索</van-button
-          >
-        </div>
-        <div class="chooseCompanyTags">
-          <scroll-view
-            class="body"
-            scroll-y="true"
-            style="position: absolute; z-index: 1000"
-          >
-            <div
-              v-for="(item, index) in companyList"
-              :key="index"
-              class="selectlist"
-            >
-              <div class="title_2">
-                {{ item.label }}
-              </div>
-              <div
-                v-if="!item.isSelected"
-                class="title_1"
-                @click="chosseTags(item, index)"
-              >
-                <uni-icons type="plusempty" size="30rpx"></uni-icons>
-              </div>
-            </div>
-          </scroll-view>
-        </div>
-      </div>
-
-      <view class="btn-view">
-        <button
-          class="btn"
-          @click="openTagsDialog()"
-          style="
-            border-top-left-radius: 5rem;
-            border-bottom-left-radius: 5rem;
-            background: white;
-            color: #1d18bc;
-            border: 1px solid;
-          "
-        >
-          已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-        </button>
-        <button
-          style="
-            border-radius: 0;
-            border: 1px solid #1d18bc;
-            border-top-right-radius: 5rem;
-            border-bottom-right-radius: 5rem;
-          "
-          class="btn"
-          @click="updown()"
-        >
-          确认提交
-        </button>
-      </view>
-    </view>
-    <is-selected-tags
-      ref="isSelectedTags"
-      :isSelectedList="isSelectedList"
-      @clearAll="clearAll"
-      @updown="updown"
-      @spiliceIsSelectedList="spiliceIsSelectedList"
-    />
-  </view>
-</template>
-<!-- 多选组件 -->
-<script>
-import isSelectedTags from "./isSelectedTags.vue";
-export default {
-  data() {
-    return {
-      isSelectedList: [],
-      companyList: [],
-      isSelectList: [],
-      formData: {},
-      show: false, //是否显示
-      activeClass: false, //激活样式状态
-      selectedArr: [], //选择对照列表
-      selectedArrOld: [], //选择对照列表上一次的数据
-    };
-  },
-  components: {
-    isSelectedTags,
-  },
-  onShow() {
-    this.show = this.value;
-  },
-  methods: {
-    async updown() {
-      console.log(this.isSelectedList);
-      this.$emit("confirm", this.isSelectedList);
-      this.show = false;
-    },
-    clearAll() {
-      this.isSelectedList = [];
-      this.companyList.forEach((e) => {
-        e.isSelected = false;
-        this.$forceUpdate();
-      });
-    },
-    spiliceIsSelectedList(item, index) {
-      this.isSelectedList.splice(index, 1);
-      let changeIndex = this.companyList.findIndex(
-        (e) => e.tagCategoryId == item.tagCategoryId
-      );
-      this.companyList[changeIndex].isSelected = false;
-      this.$forceUpdate();
-    },
-    chosseTags(item, index) {
-      let filterIndex = this.isSelectedList.findIndex(
-        (e) => e.value == item.value
-      );
-      if (filterIndex != -1) {
-        this.$showToast("该标签与已选择标签重复");
-        return;
-      }
-      if (item.isEffective == 1) {
-        this.openChooseTimeDialog(item, index);
-      } else {
-        this.isSelectedList.push(this.companyList[index]);
-        this.companyList[index].isSelected = true;
-        this.companyList = [...this.companyList];
-      }
-    },
-    openTagsDialog() {
-      this.$refs.isSelectedTags.onOpen([]);
-    },
-    getAllList(data) {
-      this.companyList = data;
-    },
-    getCompaynList() {
-      console.log(this.companyList);
-      console.log(this.selectedArr);
-      this.$emit("getCompanyAll", this.formData.qymc);
-    },
-    // 设置默认选中通用办法
-    setItemActiveState() {
-      if (this.companyList.length && this.defaultSelected.length) {
-        this.companyList.forEach((item, i) => {
-          for (let n = 0; n < this.defaultSelected.length; n++) {
-            if (
-              !item.disabled &&
-              item[this.valueName] === this.defaultSelected[n]
-            ) {
-              this.selectedArr.splice(i, 1, true);
-              break;
-            }
-          }
-        });
-      }
-    },
-    /**
-     * 选择事件
-     * @index {Number} 点击下标
-     */
-    onSelected(index) {
-      if (this.companyList[index].disabled) return;
-      console.log(this.companyList[index]);
-      if (!this.companyList[index].isSelect) {
-        this.isSelectList.push(this.companyList[index].value);
-        this.companyList[index].isSelect = true;
-      } else {
-        let deleteIndex = this.isSelectList.findIndex(
-          (e) => e.value == this.companyList[index].value
-        );
-        this.isSelectList.splice(deleteIndex, 1);
-        this.companyList[index].isSelect = false;
-      }
-      this.$forceUpdate();
-      this.companyList = [...this.companyList];
-      //   let index2Active = this.selectedArr[index];
-      //   this.selectedArr.splice(index, 1, !index2Active);
-    },
-    // 取消事件
-    onCancel(isMask) {
-      if (!isMask || this.maskCloseAble) {
-        this.show = false;
-        this.selectedArr = JSON.parse(JSON.stringify(this.selectedArrOld));
-      } else {
-        return;
-      }
-      this.$emit("cancel");
-    },
-    // 返回去除了disabled状态后的对照列表
-    returnWipeDisabledList() {
-      let arr = [];
-      this.selectedArr.forEach((el, index) => {
-        if (!this.companyList[index].disabled) arr.push(el);
-      });
-      return arr;
-    },
-    // 全选/非全选事件
-    onAllToggle() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      // 如果去除了disabled的对照列表有false的数据,代表未全选
-      if (wipeDisabledList.includes(false)) {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.companyList[index].disabled)
-            this.selectedArr.splice(index, 1, true);
-        });
-      } else {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.companyList[index].disabled)
-            el = this.selectedArr.splice(index, 1, false);
-        });
-      }
-    },
-    // 确定事件
-    onConfirm() {
-      this.show = false;
-      let selectedData = [];
-      this.companyList.forEach((e, index) => {
-        if (e.isSelect) {
-          selectedData.push(this.companyList[index]);
-        }
-      });
-      if (this.mode === "multiple") {
-        this.$emit("confirm", selectedData);
-      } else {
-        let backData = selectedData[0] || {};
-        this.$emit("confirm", backData);
-      }
-    },
-  },
-  computed: {
-    // 返回是否全选
-    isAll() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      if (!wipeDisabledList.length) return false;
-      return !wipeDisabledList.includes(false);
-    },
-  },
-  props: {
-    // 双向绑定
-    value: {
-      type: Boolean,
-      default: false,
-    },
-    // 取消按钮文字
-    cancelText: {
-      type: String,
-      default: "取消",
-    },
-    // 确认按钮文字
-    confirmText: {
-      type: String,
-      default: "确认",
-    },
-    // label对应的key名称
-    labelName: {
-      type: String,
-      default: "label",
-    },
-    // value对应的key名称
-    valueName: {
-      type: String,
-      default: "value",
-    },
-    // 是否允许点击遮罩层关闭
-    maskCloseAble: {
-      type: Boolean,
-      default: true,
-    },
-    // 是否显示全选
-    allShow: {
-      type: Boolean,
-      default: true,
-    },
-    // 模式
-    mode: {
-      type: String,
-      default: "multiple",
-    },
-    // 默认选中值
-    defaultSelected: {
-      type: Array,
-      default: function () {
-        return [];
-      },
-    },
-    // 数据源
-    // data: {
-    //   type: Array,
-    //   required: true,
-    //   default: () => {
-    //     return [];
-    //   },
-    // },
-  },
-  watch: {
-    async value(newVal) {
-      this.show = newVal;
-      await this.$nextTick();
-      this.activeClass = newVal;
-      if (newVal) {
-        this.selectedArrOld = JSON.parse(JSON.stringify(this.selectedArr));
-      }
-    },
-    show(newVal) {
-      this.$emit("input", newVal);
-      this.$emit("change", newVal);
-    },
-
-    defaultSelected: {
-      handler() {
-        this.setItemActiveState();
-      },
-      deep: true,
-      immediate: true,
-    },
-  },
-};
-</script>
-<style lang="scss">
-.searchbutton {
-  button {
-    height: 69rpx;
-    line-height: 69rpx;
-  }
-}
-.searchinput {
-  .uni-easyinput__content-input {
-    height: 70rpx;
-  }
-}
-
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-  button {
-    &::after {
-      border: none;
-    }
-  }
-}
-</style>
-<style lang="scss" scoped>
-.selectlist {
-  border-bottom: 2rpx solid #cccccc;
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-}
-.chooseCompanyTags {
-  .title_1 {
-    font-size: 28rpx;
-    font-weight: 500;
-    color: #333333;
-    text-align: right;
-    height: 64rpx;
-    line-height: 64rpx;
-  }
-  .title_2 {
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-    height: 64rpx;
-    line-height: 64rpx;
-    text-align: left;
-  }
-  .title_3 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-  }
-  .cell_1 {
-    float: left;
-    width: 10%;
-  }
-  .checkbox {
-    border: 1px solid #cccccc;
-    border-radius: 4rpx  4rpx  4rpx  4rpx;
-    height: 30rpx;
-    width: 30rpx;
-  }
-  .cell_2 {
-    float: left;
-    width: 90%;
-
-    img {
-      height: 60rpx;
-      width: 60rpx;
-      float: right;
-      margin: 96rpx 0rpx 94rpx 0;
-    }
-  }
-
-  .btn {
-    width: 40%;
-    height: 90rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    float: left;
-  }
-  .jichuback {
-    width: calc(100% - 64rpx);
-    margin: 32rpx;
-    background: white;
-    border-bottom: 2rpx solid #cccccc;
-  }
-  .tags_type {
-    width: calc(100% - 64rpx);
-    margin: 16rpx;
-  }
-}
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.select-container {
-  width: 100vw;
-  height: 100vh;
-  position: fixed;
-  left: 0;
-  top: 0;
-  z-index: 999;
-  $paddingLR: 18rpx;
-  .mask {
-    width: 100%;
-    height: 100%;
-    background-color: $uni-bg-color-mask;
-    opacity: 0;
-    transition: opacity 0.3s;
-    &.mask-show {
-      opacity: 1;
-    }
-  }
-  // 选择器内容区域
-  .select-box {
-    width: 100%;
-    position: absolute;
-    bottom: 0;
-    left: 0;
-    transform: translate3d(0px, 100%, 0px);
-    background-color: $uni-bg-color;
-    transition: all 0.3s;
-    &.select-box-show {
-      transform: translateZ(0);
-    }
-    .header {
-      display: flex;
-      box-sizing: border-box;
-      width: 100%;
-      justify-content: space-between;
-      border-bottom: 1px solid $uni-border-color;
-      line-height: 76rpx;
-      font-size: 30rpx;
-      padding: 0 $paddingLR;
-      .cancel {
-        color: $uni-text-color-grey;
-      }
-      .all {
-        .all-active {
-          &::after {
-            display: inline-block;
-            content: "✔";
-            padding-left: 8rpx;
-          }
-        }
-      }
-      .confirm {
-        color: $uni-color-primary;
-      }
-    }
-    .body-warp {
-      width: 100%;
-      height: 30vh;
-      box-sizing: border-box;
-      padding: 20rpx $paddingLR;
-    }
-    .body {
-      width: 96%;
-      height: 70%;
-      overflow-y: auto;
-      padding: 2%;
-      .empty-tips {
-        margin-top: 25%;
-        text-align: center;
-        font-size: 26rpx;
-        color: $uni-color-error;
-      }
-    }
-  }
-}
-</style>

+ 0 - 331
pages/subPackages/addZaiti/index.vue

@@ -1,331 +0,0 @@
-<template>
-  <div class="addcompany">
-    <div class="form">
-      <div
-        class="form_row pdt32 pdb32 border_bottom_ccc width100"
-        style="display: flex; height: auto; align-items: center"
-        @click="openZaitiTree()"
-      >
-        <div class="width30 first_title" style="height: auto">关联载体</div>
-        <div style="width: 65%; color: #777" class="float_left font28rpx">
-          {{ form.socialCarrierName ? form.socialCarrierName : "请选择" }}
-        </div>
-        <img
-          class="height40rpx width40rpx"
-          src="../../../static/mine/youjiantou.png"
-          alt=""
-        />
-      </div>
-      <div
-        class="form_row pdt32 pdb32 border_bottom_ccc width100"
-        style="display: flex; height: auto; align-items: center"
-      >
-        <div class="width30 first_title" style="height: auto">区域</div>
-        <div style="width: 65%" class="float_left font28rpx color292d98">
-          <picker
-            style="float: left; width: 360rpx; height: 40rpx; color: #777"
-            @change="getLcmcqyIndex"
-            :range="lcqymcList"
-          >
-            <div style="width: 315rpx; float: left">
-              {{ lcqymcIndex != null ? lcqymcList[lcqymcIndex] : "请选择" }}
-            </div>
-          </picker>
-        </div>
-        <img
-          class="height40rpx width40rpx"
-          src="../../../static/mine/youjiantou.png"
-          alt=""
-        />
-      </div>
-      <div
-        class="form_row pdt32 pdb32 border_bottom_ccc width100"
-        style="display: flex; height: auto; align-items: center"
-      >
-        <div class="width30 first_title" style="height: auto">楼层</div>
-        <div style="width: 65%" class="float_left font28rpx color292d98">
-          <picker
-            style="float: left; width: 360rpx; height: 40rpx; color: #777"
-            @change="getLcmcIndex"
-            :range="lcmcList"
-          >
-            <div style="width: 315rpx; float: left">
-              {{ lcmcIndex != null ? lcmcList[lcmcIndex] : "请选择" }}
-            </div>
-          </picker>
-        </div>
-        <img
-          class="height40rpx width40rpx"
-          src="../../../static/mine/youjiantou.png"
-          alt=""
-        />
-      </div>
-      <div
-        class="form_row pdt32 pdb32 border_bottom_ccc width100"
-        style="display: flex; height: auto; align-items: center"
-      >
-        <div class="width30 first_title" style="height: auto">房间号</div>
-        <div style="width: 65%" class="float_left font28rpx color292d98">
-          <input
-            style="color: #777"
-            class="input_value float_left"
-            placeholder="请输入"
-            v-model="form.roomNo"
-          />
-        </div>
-      </div>
-
-      <div
-        class="form_row pdt32 pdb32 border_bottom_ccc width100"
-        style="display: flex; height: auto; align-items: center"
-      >
-        <div class="width30 first_title" style="height: auto">面积</div>
-        <div style="width: 65%" class="float_left font28rpx color292d98">
-          <input
-            style="color: #777"
-            class="input_value float_left"
-            placeholder="请输入"
-            v-model="form.size"
-          />
-        </div>
-      </div>
-    </div>
-    <div class="save_button" @click="save()">保存</div>
-    <!-- 载体树 -->
-    <zaiti-tree2
-      ref="zaitiTree"
-      :multiple="false"
-      :range="range"
-      :selectParent="false"
-      :foldAll="true"
-      rangeKey="label"
-      idKey="id"
-      @confirm="selectZaiti"
-    />
-  </div>
-</template>
-        
-    <script>
-const form = {
-  socialCarrierName: "",
-};
-import zaitiTree2 from "@/components/zaiti-tree2/index.vue";
-import tools from "../../subPackages/components/tkitree/tools.js";
-import { getTreeData2, getBuildDetails, addZaiti } from "@/js_sdk/http";
-export default {
-  components: {
-    zaitiTree2,
-  },
-  data() {
-    return {
-      parentId1: "",
-      parentId2: "",
-      lcmcIndex: null,
-      lcqymcIndex: null,
-      range: [],
-      zaitiList: [],
-      imageStyles: {},
-      listStyles: {},
-      fileLists: [],
-      activeNames: [],
-      StatusBar: 0,
-      lcmcList: [],
-      lcqymcList: [],
-      search: {
-        pageSize: 10,
-        pageNum: 1,
-      },
-      form: { ...form },
-    };
-  },
-  onLoad() {},
-  onShow() {},
-  methods: {
-    async save() {
-      let form = {
-        floor: this.lcmcList[this.lcmcIndex],
-        region: this.lcqymcList[this.lcqymcIndex],
-        groudId: this.form.socialCarrierStr,
-        discId: this.parentId1,
-        buildId: this.parentId2,
-        size: this.form.size,
-        roomNo: this.form.roomNo,
-      };
-      let data = await addZaiti(form);
-      if (data.code == 200) {
-        uni.navigateBack({});
-        this.$showToast("载体创建成功");
-      }
-      console.log(data);
-    },
-    getLcmcqyIndex(e) {
-      console.log(Number(e.detail.value));
-      this.lcqymcIndex = Number(e.detail.value);
-      console.log(this.lcqymcIndex);
-    },
-    getLcmcIndex(e) {
-      console.log(Number(e.detail.value));
-      this.lcmcIndex = Number(e.detail.value);
-      console.log(this.lcmcIndex);
-    },
-    async openZaitiTree() {
-      console.log(123123);
-      try {
-        let that = this;
-        let departmentList = await getTreeData2("");
-        that.range = tools.transData(
-          departmentList.data,
-          "id",
-          "parentid",
-          "children"
-        );
-        that.$refs.zaitiTree._show();
-      } catch (error) {
-        console.log(error);
-      }
-    },
-    async selectZaiti(e) {
-      if (!e[0].parentId1 || !e[0].parentId1) {
-        this.$showToast("关联载体结构不完整请重新选择");
-        return;
-      }
-      this.lcmcIndex = null;
-      this.lcqymcIndex = null;
-      console.log("selectZaitiselectZaitiselectZaiti", e);
-      this.form.socialCarrierStr = e[0].id;
-      this.form.socialCarrierName = e[0].label;
-      this.parentId1 = e[0].parentId1;
-      this.parentId2 = e[0].parentId2;
-      let data = await getBuildDetails({ id: e[0].id });
-      this.lcmcList = data.lcmc.split(",");
-      this.lcqymcList = data.lcqymc.split(",");
-    },
-  },
-};
-</script>   
-    <style scoped lang="scss" scpoed>
-.save_button {
-  width: calc(100% - 64rpx);
-  margin: 64rpx 32rpx 0 32rpx;
-  background: #1d18bc;
-  border-radius: 50rpx;
-  height: 88rpx;
-  color: white;
-  text-align: center;
-  line-height: 88rpx;
-}
-.form {
-  width: calc(100% - 64rpx);
-  background: #ffffff;
-  padding: 32rpx;
-  margin-top: 64rpx;
-  .label {
-    height: 53rpx;
-    line-height: 53rpx;
-  }
-}
-.form_row {
-  height: 40rpx;
-  font-weight: 400;
-  font-size: 24rpx;
-}
-.zaiti_list {
-  width: 100%;
-  height: 50rpx;
-  line-height: 50rpx;
-}
-.idclass {
-  width: 147rpx;
-  height: 100rpx;
-}
-.dengjibutton {
-  margin-top: 24rpx;
-  margin-left: 60rpx;
-  margin-right: 60rpx;
-  width: calc(100% - 120rpx);
-  height: 60rpx;
-  text-align: center;
-  background: #1d18bc;
-  color: white;
-  line-height: 60rpx;
-}
-.addcompany {
-  margin-bottom: 200rpx;
-}
-.addcompany {
-  .detailstitle {
-    height: 42rpx;
-    font-size: 30rpx;
-    font-weight: 500;
-    color: #333333;
-    padding-bottom: 16rpx;
-  }
-  .typestitle {
-    height: 42rpx;
-    font-size: 24rpx;
-    font-weight: 500;
-    padding-bottom: 16rpx;
-    margin-bottom: 16rpx;
-  }
-}
-</style>
-     <style lang="scss">
-::v-deep .is-open + .uni-collapse-item__wrap {
-  height: auto !important;
-}
-::v-deep .uni-collapse-item__wrap-content {
-  height: auto !important;
-}
-.pageconfig {
-  background: #ffffff;
-  padding: 32rpx;
-}
-.input_title {
-  width: 40%;
-  font-size: 28rpx;
-  height: 40rpx;
-  line-height: 40rpx;
-  color: #333333;
-}
-.input_value {
-  width: 60%;
-  font-size: 28rpx;
-  height: 40rpx;
-  line-height: 40rpx;
-  color: #777777;
-}
-.uni-collapse-item__title-box {
-  padding: 0 !important;
-}
-.uni-collapse-item__title-text {
-  color: #1d18bc !important;
-  font-size: 32rpx !important;
-}
-</style>
-  <style lang="scss">
-.example-body {
-  padding: 10px;
-  padding-top: 0;
-}
-
-.custom-image-box {
-  /* #ifndef APP-NVUE */
-  display: flex;
-  /* #endif */
-  flex-direction: row;
-  justify-content: space-between;
-  align-items: center;
-}
-
-.text {
-  font-size: 14px;
-  color: #333;
-}
-.uni-file-picker__item {
-  display: none;
-}
-.uploadbutton {
-  width: 162rpx;
-  height: 44rpx;
-}
-</style>

+ 0 - 161
pages/subPackages/addZaiti/isSelectedTags.vue

@@ -1,161 +0,0 @@
-<template>
-  <van-popup :show="show" @close="onClose" position="bottom" round>
-    <div class="vanpoup_1">
-      <div style="display: flex">
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333"
-            >已选择({{ isSelectedList.length }})</span
-          >
-          <span
-            @click="clearAll()"
-            style="float: right; color: #1d18bc; font-size: 30rpx"
-          >
-            清空</span
-          >
-        </div>
-      </div>
-      <scroll-view scroll-y="true" style="height: 50vh">
-        <div
-          style="display: flex"
-          v-for="(item, index) in isSelectedList"
-          :key="index"
-        >
-          <div class="vanpoup_1_1">
-            <span style="font-size: 30rpx; color: #333333">
-              {{ item.label }}
-            </span>
-
-            <span
-              @click="spiliceIsSelectedList(item, index)"
-              style="float: right; color: #1d18bc; font-size: 30rpx"
-            >
-              <van-icon name="cross"
-            /></span>
-          </div>
-        </div>
-      </scroll-view>
-      <view class="btn-view">
-        <button
-          class="btn"
-          @click="closeTagsDialog()"
-          style="
-            border-top-left-radius: 5rem;
-            border-bottom-left-radius: 5rem;
-            background: white;
-            color: #1d18bc;
-            border: 1px solid;
-          "
-        >
-          已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-        </button>
-        <button
-          style="
-            border-radius: 0;
-            border: 1px solid #1d18bc;
-            border-top-right-radius: 5rem;
-            border-bottom-right-radius: 5rem;
-          "
-          class="btn"
-          @click="updown()"
-        >
-          确认提交
-        </button>
-      </view>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  props: {
-    isSelectedList: {
-      type: Array,
-      default: [],
-    },
-  },
-  data() {
-    return {
-      show: false,
-    };
-  },
-  methods: {
-    closeTagsDialog() {
-      this.show = false;
-    },
-    updown() {
-      this.$emit("updown");
-    },
-    cancel() {
-      this.show = false;
-    },
-    onOpen(e) {
-      this.show = true;
-    },
-    spiliceIsSelectedList(item, index) {
-      this.$emit("spiliceIsSelectedList", item, index);
-    },
-    clearAll() {
-      this.$emit("clearAll");
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style lang="scss">
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-  button {
-    &::after {
-      border: none;
-    }
-  }
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.vanpoup_1 {
-  height: 50vh;
-  width: 100%;
-  width: calc(100% - 128rpx);
-  margin-bottom: 74rpx;
-  padding: 64rpx;
-}
-.vanpoup_1_1 {
-  width: 100%;
-  border-bottom: 2rpx solid #cccccc;
-  height: 64rpx;
-  line-height: 64rpx;
-}
-</style>

+ 0 - 530
pages/subPackages/addZaiti/momo-multipleSelect.vue

@@ -1,530 +0,0 @@
-<template>
-  <view class="select-container" v-show="show" @touchmove.stop.prevent>
-    <view
-      class="mask"
-      :class="activeClass ? 'mask-show' : ''"
-      @tap="onCancel(true)"
-    ></view>
-    <view class="select-box" :class="activeClass ? 'select-box-show' : ''">
-      <div style="height: 900rpx">
-        <div style="display: flex">
-          <uni-easyinput
-            type="text"
-            class="searchinput"
-            v-model="formData.qymc"
-            placeholder="输入关联企业名称(模糊查询)"
-            style="height: 70rpx"
-          />
-          <van-button
-            class="searchbutton"
-            style="height: 70rpx"
-            type="primary"
-            @click="getCompaynList()"
-            >搜索</van-button
-          >
-        </div>
-        <div class="chooseCompanyTags">
-          <scroll-view
-            class="body"
-            scroll-y="true"
-            style="position: absolute; z-index: 1000"
-          >
-            <div
-              v-for="(item, index) in companyList"
-              :key="index"
-              class="selectlist"
-            >
-              <div class="title_2">
-                {{ item.label }}
-              </div>
-              <div
-                v-if="!item.isSelected"
-                class="title_1"
-                @click="chosseTags(item, index)"
-              >
-                <uni-icons type="plusempty" size="30rpx"></uni-icons>
-              </div>
-            </div>
-          </scroll-view>
-        </div>
-      </div>
-
-      <view class="btn-view">
-        <button
-          class="btn"
-          @click="openTagsDialog()"
-          style="
-            border-top-left-radius: 5rem;
-            border-bottom-left-radius: 5rem;
-            background: white;
-            color: #1d18bc;
-            border: 1px solid;
-          "
-        >
-          已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-        </button>
-        <button
-          style="
-            border-radius: 0;
-            border: 1px solid #1d18bc;
-            border-top-right-radius: 5rem;
-            border-bottom-right-radius: 5rem;
-          "
-          class="btn"
-          @click="updown()"
-        >
-          确认提交
-        </button>
-      </view>
-    </view>
-    <is-selected-tags
-      ref="isSelectedTags"
-      :isSelectedList="isSelectedList"
-      @clearAll="clearAll"
-      @updown="updown"
-      @spiliceIsSelectedList="spiliceIsSelectedList"
-    />
-  </view>
-</template>
-<!-- 多选组件 -->
-<script>
-import isSelectedTags from "./isSelectedTags.vue";
-export default {
-  data() {
-    return {
-      isSelectedList: [],
-      companyList: [],
-      isSelectList: [],
-      formData: {},
-      show: false, //是否显示
-      activeClass: false, //激活样式状态
-      selectedArr: [], //选择对照列表
-      selectedArrOld: [], //选择对照列表上一次的数据
-    };
-  },
-  components: {
-    isSelectedTags,
-  },
-  onShow() {
-    this.show = this.value;
-  },
-  methods: {
-    async updown() {
-      console.log(this.isSelectedList);
-      this.$emit("confirm", this.isSelectedList);
-      this.show = false;
-    },
-    clearAll() {
-      this.isSelectedList = [];
-      this.companyList.forEach((e) => {
-        e.isSelected = false;
-        this.$forceUpdate();
-      });
-    },
-    spiliceIsSelectedList(item, index) {
-      this.isSelectedList.splice(index, 1);
-      let changeIndex = this.companyList.findIndex(
-        (e) => e.tagCategoryId == item.tagCategoryId
-      );
-      this.companyList[changeIndex].isSelected = false;
-      this.$forceUpdate();
-    },
-    chosseTags(item, index) {
-      let filterIndex = this.isSelectedList.findIndex(
-        (e) => e.value == item.value
-      );
-      if (filterIndex != -1) {
-        this.$showToast("该标签与已选择标签重复");
-        return;
-      }
-      if (item.isEffective == 1) {
-        this.openChooseTimeDialog(item, index);
-      } else {
-        this.isSelectedList.push(this.companyList[index]);
-        this.companyList[index].isSelected = true;
-        this.companyList = [...this.companyList];
-      }
-    },
-    openTagsDialog() {
-      this.$refs.isSelectedTags.onOpen([]);
-    },
-    getAllList(data) {
-      this.companyList = data;
-    },
-    getCompaynList() {
-      console.log(this.companyList);
-      console.log(this.selectedArr);
-      this.$emit("getCompanyAll", this.formData.qymc);
-    },
-    // 设置默认选中通用办法
-    setItemActiveState() {
-      if (this.companyList.length && this.defaultSelected.length) {
-        this.companyList.forEach((item, i) => {
-          for (let n = 0; n < this.defaultSelected.length; n++) {
-            if (
-              !item.disabled &&
-              item[this.valueName] === this.defaultSelected[n]
-            ) {
-              this.selectedArr.splice(i, 1, true);
-              break;
-            }
-          }
-        });
-      }
-    },
-    /**
-     * 选择事件
-     * @index {Number} 点击下标
-     */
-    onSelected(index) {
-      if (this.companyList[index].disabled) return;
-      console.log(this.companyList[index]);
-      if (!this.companyList[index].isSelect) {
-        this.isSelectList.push(this.companyList[index].value);
-        this.companyList[index].isSelect = true;
-      } else {
-        let deleteIndex = this.isSelectList.findIndex(
-          (e) => e.value == this.companyList[index].value
-        );
-        this.isSelectList.splice(deleteIndex, 1);
-        this.companyList[index].isSelect = false;
-      }
-      this.$forceUpdate();
-      this.companyList = [...this.companyList];
-      //   let index2Active = this.selectedArr[index];
-      //   this.selectedArr.splice(index, 1, !index2Active);
-    },
-    // 取消事件
-    onCancel(isMask) {
-      if (!isMask || this.maskCloseAble) {
-        this.show = false;
-        this.selectedArr = JSON.parse(JSON.stringify(this.selectedArrOld));
-      } else {
-        return;
-      }
-      this.$emit("cancel");
-    },
-    // 返回去除了disabled状态后的对照列表
-    returnWipeDisabledList() {
-      let arr = [];
-      this.selectedArr.forEach((el, index) => {
-        if (!this.companyList[index].disabled) arr.push(el);
-      });
-      return arr;
-    },
-    // 全选/非全选事件
-    onAllToggle() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      // 如果去除了disabled的对照列表有false的数据,代表未全选
-      if (wipeDisabledList.includes(false)) {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.companyList[index].disabled)
-            this.selectedArr.splice(index, 1, true);
-        });
-      } else {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.companyList[index].disabled)
-            el = this.selectedArr.splice(index, 1, false);
-        });
-      }
-    },
-    // 确定事件
-    onConfirm() {
-      this.show = false;
-      let selectedData = [];
-      this.companyList.forEach((e, index) => {
-        if (e.isSelect) {
-          selectedData.push(this.companyList[index]);
-        }
-      });
-      if (this.mode === "multiple") {
-        this.$emit("confirm", selectedData);
-      } else {
-        let backData = selectedData[0] || {};
-        this.$emit("confirm", backData);
-      }
-    },
-  },
-  computed: {
-    // 返回是否全选
-    isAll() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      if (!wipeDisabledList.length) return false;
-      return !wipeDisabledList.includes(false);
-    },
-  },
-  props: {
-    // 双向绑定
-    value: {
-      type: Boolean,
-      default: false,
-    },
-    // 取消按钮文字
-    cancelText: {
-      type: String,
-      default: "取消",
-    },
-    // 确认按钮文字
-    confirmText: {
-      type: String,
-      default: "确认",
-    },
-    // label对应的key名称
-    labelName: {
-      type: String,
-      default: "label",
-    },
-    // value对应的key名称
-    valueName: {
-      type: String,
-      default: "value",
-    },
-    // 是否允许点击遮罩层关闭
-    maskCloseAble: {
-      type: Boolean,
-      default: true,
-    },
-    // 是否显示全选
-    allShow: {
-      type: Boolean,
-      default: true,
-    },
-    // 模式
-    mode: {
-      type: String,
-      default: "multiple",
-    },
-    // 默认选中值
-    defaultSelected: {
-      type: Array,
-      default: function () {
-        return [];
-      },
-    },
-    // 数据源
-    // data: {
-    //   type: Array,
-    //   required: true,
-    //   default: () => {
-    //     return [];
-    //   },
-    // },
-  },
-  watch: {
-    async value(newVal) {
-      this.show = newVal;
-      await this.$nextTick();
-      this.activeClass = newVal;
-      if (newVal) {
-        this.selectedArrOld = JSON.parse(JSON.stringify(this.selectedArr));
-      }
-    },
-    show(newVal) {
-      this.$emit("input", newVal);
-      this.$emit("change", newVal);
-    },
-
-    defaultSelected: {
-      handler() {
-        this.setItemActiveState();
-      },
-      deep: true,
-      immediate: true,
-    },
-  },
-};
-</script>
-<style lang="scss">
-.searchbutton {
-  button {
-    height: 69rpx;
-    line-height: 69rpx;
-  }
-}
-.searchinput {
-  .uni-easyinput__content-input {
-    height: 70rpx;
-  }
-}
-
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-  button {
-    &::after {
-      border: none;
-    }
-  }
-}
-</style>
-<style lang="scss" scoped>
-.selectlist {
-  border-bottom: 2rpx solid #cccccc;
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-}
-.chooseCompanyTags {
-  .title_1 {
-    font-size: 28rpx;
-    font-weight: 500;
-    color: #333333;
-    text-align: right;
-    height: 64rpx;
-    line-height: 64rpx;
-  }
-  .title_2 {
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-    height: 64rpx;
-    line-height: 64rpx;
-    text-align: left;
-  }
-  .title_3 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-  }
-  .cell_1 {
-    float: left;
-    width: 10%;
-  }
-  .checkbox {
-    border: 1px solid #cccccc;
-    border-radius: 4rpx  4rpx  4rpx  4rpx;
-    height: 30rpx;
-    width: 30rpx;
-  }
-  .cell_2 {
-    float: left;
-    width: 90%;
-
-    img {
-      height: 60rpx;
-      width: 60rpx;
-      float: right;
-      margin: 96rpx 0rpx 94rpx 0;
-    }
-  }
-
-  .btn {
-    width: 40%;
-    height: 90rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    float: left;
-  }
-  .jichuback {
-    width: calc(100% - 64rpx);
-    margin: 32rpx;
-    background: white;
-    border-bottom: 2rpx solid #cccccc;
-  }
-  .tags_type {
-    width: calc(100% - 64rpx);
-    margin: 16rpx;
-  }
-}
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.select-container {
-  width: 100vw;
-  height: 100vh;
-  position: fixed;
-  left: 0;
-  top: 0;
-  z-index: 999;
-  $paddingLR: 18rpx;
-  .mask {
-    width: 100%;
-    height: 100%;
-    background-color: $uni-bg-color-mask;
-    opacity: 0;
-    transition: opacity 0.3s;
-    &.mask-show {
-      opacity: 1;
-    }
-  }
-  // 选择器内容区域
-  .select-box {
-    width: 100%;
-    position: absolute;
-    bottom: 0;
-    left: 0;
-    transform: translate3d(0px, 100%, 0px);
-    background-color: $uni-bg-color;
-    transition: all 0.3s;
-    &.select-box-show {
-      transform: translateZ(0);
-    }
-    .header {
-      display: flex;
-      box-sizing: border-box;
-      width: 100%;
-      justify-content: space-between;
-      border-bottom: 1px solid $uni-border-color;
-      line-height: 76rpx;
-      font-size: 30rpx;
-      padding: 0 $paddingLR;
-      .cancel {
-        color: $uni-text-color-grey;
-      }
-      .all {
-        .all-active {
-          &::after {
-            display: inline-block;
-            content: "✔";
-            padding-left: 8rpx;
-          }
-        }
-      }
-      .confirm {
-        color: $uni-color-primary;
-      }
-    }
-    .body-warp {
-      width: 100%;
-      height: 30vh;
-      box-sizing: border-box;
-      padding: 20rpx $paddingLR;
-    }
-    .body {
-      width: 96%;
-      height: 70%;
-      overflow-y: auto;
-      padding: 2%;
-      .empty-tips {
-        margin-top: 25%;
-        text-align: center;
-        font-size: 26rpx;
-        color: $uni-color-error;
-      }
-    }
-  }
-}
-</style>

+ 0 - 8
pages/subPackages/addcompanyHouse/addcompanyHouse.vue

@@ -1,8 +0,0 @@
-<template></template>
-
-<script>
-export default {};
-</script>
-
-<style>
-</style>

Разница между файлами не показана из-за своего большого размера
+ 0 - 1227
pages/subPackages/addintention/addintention.vue


+ 0 - 88
pages/subPackages/addintention/chooseTime.vue

@@ -1,88 +0,0 @@
-<template>
-  <van-popup
-    :show="show"
-    @close="onClose"
-    position="bottom"
-    round
-    :close-on-click-overlay="false"
-  >
-    <van-datetime-picker
-      type="date"
-      :value="currentDate"
-      bind:change="onInput"
-      @confirm="confirm1"
-      @cancel="cancel"
-      :min-date="minDate"
-      :formatter="formatter"
-    />
-  </van-popup>
-</template>
-
-<script>
-import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  data() {
-    return {
-      show: false,
-      chooseIndex: null,
-      currentDate: new Date().getTime(),
-      minDate: new Date().getTime(),
-      type: null,
-      formatter(type, value) {
-        if (type === "year") {
-          return `${value}年`;
-        }
-        if (type === "month") {
-          return `${value}月`;
-        }
-        return value;
-      },
-    };
-  },
-  methods: {
-    cancel() {
-      this.show = false;
-    },
-    onOpen(i, type) {
-      this.chooseIndex = i;
-      this.type = type;
-      this.show = true;
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-      this.$emit(
-        "getEndTime",
-        this.chooseIndex,
-        this.$common.transDate(this.currentDate),
-        this.type
-      );
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-      this.show = false;
-      this.$emit(
-        "getEndTime",
-        this.chooseIndex,
-        this.$common.transDate(this.currentDate),
-        this.type
-      );
-    },
-  },
-};
-</script>
-
-<style>
-</style>

+ 0 - 231
pages/subPackages/announcement/detail.vue

@@ -1,231 +0,0 @@
-<template>
-  <div class="detail">
-    <div class="detail-body">
-      <div class="detail-card top-tit-card">
-        <div class="left">
-          <van-icon
-            name="bell"
-            style="font-size: 6.4vw; color: #60f"
-            custom-class="iconfont"
-          />
-        </div>
-        <div class="right">
-          <div class="top">
-            {{ title }}
-          </div>
-          <div class="bottom">
-            <span> {{ releaseTime }}</span>
-            <span>{{ createUserDept }}</span>
-          </div>
-        </div>
-        <div></div>
-      </div>
-      <div class="detail-card info" v-html="content"></div>
-      <div
-        style="width: 100%; height: 100%"
-        class="img-list"
-        v-if="imgUrlList.length > 0"
-      >
-        <img
-          style="width: 100%; height: 100%"
-          v-for="item in imgUrlList"
-          :src="item.url"
-          alt=""
-        />
-      </div>
-      <div
-        v-for="item in fileUrlList"
-        style="font-size: 16px; margin: 10rpx; color: #0000ff"
-        @click="jumpFile(item.url)"
-      >
-        {{ item.name }}
-      </div>
-    </div>
-    <!--    <div class="white-bottom"></div>-->
-  </div>
-</template>
-  
-  <script>
-import { getParkNoticeById, updateReadStatus } from "@/js_sdk/api_park_notice";
-// import { addUserNotice } from "@/service/api_user_notice";
-// import auth from "@/service/auth";
-// import wx from "weixin-js-sdk";
-export default {
-  data() {
-    return {
-      type: "", // 1 园区 2 物业
-      id: "",
-      title: "",
-      readStatus: "",
-      content: "",
-      releaseTime: "",
-      parkName: "",
-      fileUrlList: [],
-      imgUrlList: [],
-      createUserDept: "",
-      reader: {
-        // companyId: auth.currUser().id,
-        id: "",
-      },
-    };
-  },
-
-  onLoad(option) {
-    this.readStatus = option.readStatus;
-    this.id = option.id;
-    this.reader.id = this.id;
-    this.selectById();
-    if (this.readStatus === "0") {
-      this.getRead();
-    }
-  },
-  methods: {
-    getRead() {
-      updateReadStatus(this.reader).then((res) => {});
-    },
-    jumpFile(url) {
-      uni.downloadFile({
-        url: url, // 网络文档地址
-        success: (data) => {
-          if (data.statusCode === 200) {
-            uni.saveFile({
-              tempFilePath: data.tempFilePath, //临时路径
-              success: function (res) {
-                // 保存路径
-                console.log(res);
-                setTimeout(() => {
-                  //打开文档查看
-                  uni.openDocument({
-                    filePath: res.savedFilePath,
-                    success: function (res) {
-                      console.log("res", res);
-                    },
-                    fail: function (error) {
-                      console.log(error);
-                      wx.previewImage({
-                        current: "", // 当前显示图片的http链接
-                        urls: [url], // 需要预览的图片http链接列表
-                      });
-                    },
-                  });
-                }, 3000);
-              },
-            });
-          }
-        },
-        fail: (err) => {
-          uni.showToast({
-            title: "失败请重新下载",
-          });
-        },
-      });
-    },
-    selectById() {
-      const _this = this;
-      getParkNoticeById({ id: _this.id }).then((res) => {
-        const data = res;
-        _this.title = data.noticeTitle;
-        _this.createUserDept = data.createUserDept;
-        // if (
-        //   data.content.indexOf("width") !== -1 &&
-        //   data.content.indexOf("height") !== -1
-        // ) {
-        //   _this.content = data.noticeContent
-        //     .replace(/width="(\S*)"/, 'width="100%"')
-        //     .replace(/height="(\S*)"/, 'height="100%"');
-        // }
-        _this.content = data.noticeContent.replaceAll(
-          "<img",
-          `<img style="max-width:100%;"`
-        );
-        _this.releaseTime = _this.publishDate;
-        if (data.noticeFileId && data.noticeFileId.length > 2) {
-          const themeUrlList = [];
-          const imgUrlList = [];
-          const files = data.noticeFileId;
-          console.log("files", files);
-          // files.forEach((item) => {
-          //   if (item.url) {
-          //     const ul = {
-          //       name: item.name,
-          //       url: item.url,
-          //     };
-          //     if (
-          //       item.name.indexOf("png") > -1 ||
-          //       item.name.indexOf("jpg") > -1 ||
-          //       item.name.indexOf("jpeg") > -1
-          //     ) {
-          //       imgUrlList.push(ul);
-          //     } else {
-          //       themeUrlList.push(ul);
-          //     }
-          //   }
-          // });
-
-          if (imgUrlList.length > 0) {
-            _this.imgUrlList = imgUrlList;
-          }
-          _this.fileUrlList = themeUrlList;
-        }
-        this.fileUrlList = JSON.parse(data.noticeFileId);
-        console.log(this.fileUrlList);
-        // 添加用户通知
-        // const params = {
-        //     userId: auth.currUser().id,
-        //     noticeId: _this.id,
-        //     type: '1'
-        // }
-        // addUserNotice(params).then((res) => {
-        //
-        // })
-      });
-    },
-  },
-};
-</script>
-  
-  <style lang="scss" type="text/scss">
-.detail {
-  box-sizing: border-box;
-  background-color: #f2f2f2;
-  padding: 20rpx 30rpx 140rpx;
-  overflow-y: auto;
-  .detail-body {
-    .detail-card {
-      display: flex;
-      align-items: center;
-      font-size: 24rpx;
-      padding: 20rpx 30rpx;
-      border-radius: 10rpx;
-
-      &:first-child {
-        margin-bottom: 20rpx;
-      }
-    }
-
-    .info {
-      font-size: 24rpx;
-      color: #333333;
-      line-height: 1.2;
-    }
-  }
-}
-.detail-card {
-  img {
-    width: 80vw !important;
-  }
-}
-</style>
-  <style scoped lang="scss">
-.detail-card {
-  position: relative;
-  left: 0;
-  top: 0;
-  box-sizing: border-box;
-  border: 1px solid rgba(242, 242, 242, 1);
-  background: rgba(255, 255, 255, 1);
-  .card-body {
-    padding: 10px 30px;
-  }
-}
-</style>

+ 0 - 248
pages/subPackages/announcement/index.vue

@@ -1,248 +0,0 @@
-<template>
-  <div class="announcement">
-    <div class="tap-part">
-      <div class="info-list">
-        <div
-          class="info-item"
-          v-for="item in list1"
-          @click="goDetailPage(item)"
-        >
-          <div class="left">
-            <i class="iconfont icon-tongzhi"></i>
-            <van-icon
-              name="bell"
-              style="font-size: 6.4vw; color: #60f"
-              custom-class="iconfont"
-            />
-          </div>
-
-          <div class="center">
-            <div class="top" v-if="item.readStatus === '0'">
-              {{ item.noticeTitle }} {{ item.id }}
-            </div>
-            <div style="color: #acaaaa" class="top" v-else>
-              {{ item.noticeTitle }}
-            </div>
-            <div class="bottom">
-              <span> {{ item.publishDate }}</span>
-            </div>
-          </div>
-
-          <div
-            class="icon-collect right"
-            @click.stop="changeCollectorsNoticeParkStatus(item)"
-          >
-            <i
-              class="iconfont icon-xinaixin blue"
-              v-if="item.collectorsStatus === '2'"
-            ></i>
-            <i class="iconfont icon-xinaixin" v-else></i>
-          </div>
-        </div>
-      </div>
-    </div>
-  </div>
-</template>
-  
-  <script>
-import { noticeList, clickCollectParkNotice } from "@/js_sdk/api_park_notice";
-export default {
-  data() {
-    return {
-      active: 0,
-      list1: [],
-      list2: [
-        //     {
-        //         title:
-        // '关于组织2020年无锡市服务业提质增效资金项目申报的通知关于组织2020年无锡市服务业提质增效资金项目申报的通知',
-        //         date: '2020-09-18',
-        //         time: '19:34:06',
-        //         collect: false
-        //     },
-      ],
-      params: {},
-      totalPage: 1,
-    };
-  },
-  //   created() {
-  //       if ('SCNjNSP7LJ9aarv1cNw' == null || 'SCNjNSP7LJ9aarv1cNw' === '') {
-  //           this.$showToast('请先登录后再试')
-  //           return
-  //       }
-  //       this.initParkNotice()
-  //       // this.initPropertyNotice()
-  //   },
-  onLoad() {
-    this.initParkNotice();
-  },
-  methods: {
-    goDetailPage(e) {
-      console.log(e);
-      uni.navigateTo({
-        url:
-          "/pages/subPackages/announcement/detail?id=" +
-          e.id +
-          "&readStatus=" +
-          e.readStatus,
-      });
-    },
-    initParkNotice() {
-      const _this = this;
-      // _this.params.parks = '' //绑定园区
-      // _this.params.companyId = "SCNjNSP7LJ9aarv1cNw";
-      noticeList(_this.params).then((res) => {
-        console.log(res);
-        if (res) {
-          _this.list1 = [];
-          res.forEach((e) => {
-            console.log(e);
-            _this.list1.push(e);
-          });
-        }
-        if (!res || res.length < 1) {
-          this.$showToast("暂无通知公告");
-        }
-      });
-    },
-    initPropertyNotice() {
-      const _this = this;
-      // _this.params.parks = '' //绑定园区
-      _this.params.type = "2";
-      propertyNoticeList(_this.params).then((res) => {
-        console.log(res);
-        if (res) {
-          _this.list2 = [];
-          res.forEach((item) => {
-            const jsons = this.getItemJson(item);
-            _this.list2.push(jsons);
-          });
-        }
-      });
-    },
-    getItemJson: function (item) {
-      item.releaseTime = this.$common.transServDate(item.releaseTime);
-      return item;
-    },
-    changeCollectorsNoticeParkStatus(val) {
-      if (val.collectorsStatus === "2") {
-        const _this = this;
-        clickCollectParkNotice({
-          id: val.id,
-          // userId: "SCNjNSP7LJ9aarv1cNw",
-          collectorsStatus: "1",
-        }).then((res) => {
-          _this.initParkNotice();
-        });
-      } else {
-        const _this = this;
-        clickCollectParkNotice({
-          id: val.id,
-          // userId: "SCNjNSP7LJ9aarv1cNw",
-          collectorsStatus: "2",
-        }).then((res) => {
-          _this.initParkNotice();
-        });
-      }
-    },
-    changeCollectorsPropertyNoticStatus(val) {
-      if (val.collectorsStatus === "2") {
-        const _this = this;
-        clickCollectPropertyNotice({
-          id: val.id,
-          // userId: "SCNjNSP7LJ9aarv1cNw",
-          collectorsStatus: "1",
-        }).then((res) => {
-          _this.initPropertyNotice();
-        });
-      } else {
-        const _this = this;
-        clickCollectPropertyNotice({
-          id: val.id,
-          // userId: "SCNjNSP7LJ9aarv1cNw",
-          collectorsStatus: "2",
-        }).then((res) => {
-          _this.initPropertyNotice();
-        });
-      }
-    },
-  },
-};
-</script>
-  
-  <style lang="scss" type="text/scss" scoped>
-.announcement {
-  box-sizing: border-box;
-  .tap-part {
-    margin-top: 10rpx;
-    height: calc(100vh - 10rpx);
-
-    .van-tabs {
-      height: 100%;
-    }
-
-    .info-list {
-      height: calc(100vh - 9 2rpx);
-      background-color: #fff;
-      padding: 0 20rpx;
-      overflow-y: auto;
-      .info-item {
-        display: flex;
-        padding: 30rpx 0;
-        border-bottom: 1px solid #dddddd;
-        .left {
-          text-align: center;
-          width: 160rpx;
-          i {
-            font-size: 48rpx;
-            color: rgba(102, 0, 255, 1);
-          }
-        }
-
-        .center {
-          width: 508rpx;
-          height: 100rpx;
-          display: flex;
-          flex-direction: column;
-          justify-content: space-between;
-
-          .top {
-            width: 508rpx;
-
-            font-size: 26rpx;
-            font-weight: 700;
-            color: $text3;
-            line-height: 1.3;
-          }
-          .bottom {
-            span {
-              font-size: 20rpx;
-              color: #666666;
-              &:first-child {
-                margin-right: 40rpx;
-              }
-            }
-          }
-        }
-
-        .right {
-          width: 160rpx;
-          height: 100rpx;
-          text-align: center;
-          line-height: 100rpx;
-          i {
-            font-size: 3 2rpx;
-            color: #dddddd;
-            &.blue {
-              color: rgba(102, 0, 255, 1);
-            }
-          }
-          .collect {
-            color: #ffd111;
-          }
-        }
-      }
-    }
-  }
-}
-</style>
-  

Разница между файлами не показана из-за своего большого размера
+ 0 - 24
pages/subPackages/bigscreen/bigscreen.vue


+ 0 - 40
pages/subPackages/buildmap/formatWeeks.js

@@ -1,40 +0,0 @@
-//项目所需以每周五为周第一天  周四结束   可在createYear 方法中修改
-let dayTime = 1000 * 60 * 60 * 24;
-
-export const createYear = (year) => {
-    let arr = [];
-    let yearStart = new Date(`${year}-01-01`);
-    let yearEnd = new Date(`${year}-12-31`);
-    let startTime;
-    if (yearStart.getDay() < 5) {
-        startTime = yearStart.getTime() + (5 - yearStart.getDay()) * dayTime;
-    } else if (yearStart.getDay() > 5) {
-        startTime = yearStart.getTime() + 6 * dayTime;
-    } else {
-        startTime = yearStart.getTime();
-    }
-    let endTime = yearEnd.getDay() < 4 ? yearEnd.getTime() + (4 - yearEnd.getDay()) * dayTime : yearEnd
-        .getTime();
-    formatWeek(startTime, endTime, arr, 0);
-    return arr
-}
-
-function formatWeek(start, end, weeks, index) {
-    let currentTimes = new Date().getTime();
-    weeks.push({
-        week: index + 1,
-        value: `${formatDate(start)}至${formatDate(start  + 6 * dayTime)}`,
-        weekValue: `第${index+1}周`,
-        start: formatDate(start),
-        end: formatDate(start + 6 * dayTime)
-    })
-    if (start + 6 * dayTime < currentTimes && start + 6 * dayTime < end) {
-        formatWeek(start + 7 * dayTime, end, weeks, index + 1)
-    }
-}
-
-function formatDate(timer) {
-    let times = new Date(timer);
-    let [y, m, d] = [times.getFullYear(), times.getMonth() + 1, times.getDate()];
-    return `${y}-${m<10?'0'+m:m}-${d<10?'0'+d:d}`
-}

+ 0 - 318
pages/subPackages/buildmap/index.vue

@@ -1,318 +0,0 @@
-<template>
-  <div class="buildmap">
-    <van-tabs :active="active" @change="onChange">
-      <van-tab title="活跃度排行"> </van-tab>
-      <van-tab title="党支部地图">
-        <view class="page-main">
-          <div>
-            <uni-search-bar
-              :radius="100"
-              style="
-                position: absolute;
-                z-index: 10000;
-                width: 96vw;
-                padding: 0 2vw;
-              "
-              placeholder="搜索党支部"
-              v-model="searchName"
-              @cancel="cancel"
-              @confirm="searchMap"
-            />
-          </div>
-
-          <liu-easy-map
-            ref="liuEasyMap"
-            :scale="14"
-            :markerData="markerData"
-            @clickMarker="markerClick"
-          />
-        </view>
-      </van-tab>
-    </van-tabs>
-    <div style="position: absolute; width: 100%">
-      <div class="bluebg">
-        <div
-          @click="showTimePicker = true"
-          style="
-            display: flex;
-            width: 344rpx;
-            display: flex;
-            height: 60rpx;
-            justify-content: space-around;
-            line-height: 60rpx;
-            color: white;
-            border-radius: 32rpx;
-            border: 2rpx solid rgba(255, 255, 255, 0.53);
-            background: rgba(255, 255, 255, 0.2);
-            margin-top: 32rpx;
-            float: right;
-            margin-right: 70rpx;
-          "
-        >
-          <div>{{ week }}</div>
-          <uni-icons type="bottom" size="20"></uni-icons>
-        </div>
-      </div>
-      <div class="top3">
-        <div class="top3first">
-          <div
-            :class="index == list.lenght ? 'top3-row' : 'top3-row top3borderbt'"
-            v-for="(item, index) in list"
-            :key="index"
-            v-if="index == 0 || index == 1 || index == 2"
-          >
-            <img :src="require(`./top${index + 1}.png`)" width="40rpx" alt="" />
-            <div class="depname">{{ item.branchName }}</div>
-            <div class="bili">{{ item.activationRate + "%" }}</div>
-          </div>
-        </div>
-
-        <div
-          class="top3-1"
-          style="background: white; padding: 10rpx 0; margin-top: 22rpx"
-        >
-          <div
-            :class="index == list.lenght ? 'top3-row' : 'top3-row top3borderbt'"
-            v-for="(item, index) in list"
-            :key="index"
-            v-if="index != 0 && index != 1 && index != 2"
-          >
-            <div
-              style="
-                height: 40rpx;
-                width: 40rpx;
-                text-align: center;
-                line-height: 40rpx;
-                color: #777777;
-              "
-            >
-              {{ index + 1 }}
-            </div>
-            <div class="depname">{{ item.branchName }}</div>
-            <div class="bili">{{ item.activationRate + "%" }}</div>
-          </div>
-        </div>
-      </div>
-    </div>
-
-    <lys-date
-      ref="lysdate"
-      v-if="showTimePicker"
-      :type="2"
-      :time="time"
-      @cancleTime="showTimePicker = false"
-      @submitTime="submitTime"
-    />
-  </div>
-</template>
-
-<script>
-// import * as lys from "../../../uni_modules/lys-jsUtils.js";
-// uni.$lys = lys;
-import { getPartyBranchList, getActivationRanking } from "@/js_sdk/http.js";
-export default {
-  data() {
-    return {
-      showTimePicker: false,
-      searchName: "",
-      markerData: [],
-      //展示区域点位信息
-      polygons: [],
-      list: [],
-      week: "",
-    };
-  },
-  onShow() {
-    const date = new Date();
-    console.log("第几年", date.getFullYear());
-
-    let week =
-      date.getFullYear() +
-      "第" +
-      this.getYearWeek(
-        date.getFullYear(),
-        Number(date.getMonth()) + 1,
-        date.getDate()
-      ) +
-      "周";
-    console.log(week);
-    this.week = week;
-    this.getActivationRanking(week);
-  },
-  methods: {
-    async getActivationRanking(e) {
-      let { data } = await getActivationRanking({ week: e });
-      console.log(data);
-      this.list = data;
-    },
-    getYearWeek(a, b, c) {
-      //a为年 b为月 c为日
-      /*  
-         date1是当前日期  
-         date2是当年第一天  
-         d是当前日期是今年第多少天  
-         用d + 当前年的第一天的周差距的和在除以7就是本年第几周  
-     */
-      var date1 = new Date(a, parseInt(b) - 1, c),
-        date2 = new Date(a, 0, 1),
-        d = Math.round((date1.valueOf() - date2.valueOf()) / 86400000);
-      return Math.ceil((d + (date2.getDay() + 1 - 1)) / 7);
-    },
-    submitTime(e) {
-      this.week = e;
-      this.showTimePicker = false;
-      console.log(e);
-      this.getActivationRanking(e);
-    },
-    onChange(e) {
-      console.log(e.detail.name);
-      if (e.detail.name == 1) {
-        this.getPartyBranchList();
-      }
-    },
-    cancel() {
-      this.searchName = "";
-      this.getPartyBranchList();
-    },
-    async searchMap() {
-      // changeCenter
-      let { data } = await getPartyBranchList({ searchName: this.searchName });
-      this.markerData = data.map((e, index, array) => {
-        return {
-          latitude: e.branchLat,
-          longitude: e.branchLng,
-          name: e.branchName,
-          mapid: e.id,
-          id: index,
-          address: e.branchName,
-          iconWidth: 32, //标记点图标宽度
-          iconHeight: 32, //标记点图标高度
-          calloutColor: "#798DF3", //气泡窗口 文本颜色
-          calloutFontSize: 16, //气泡窗口 文本大小
-          calloutBorderRadius: 6, //气泡窗口 边框圆角
-          calloutPadding: 8, //气泡窗口 文本边缘留白
-          calloutBgColor: "#00000000", //气泡窗口 背景颜色
-          calloutDisplay: "ALWAYS", //气泡窗口 展示类型 默认常显 'ALWAYS' 常显 'BYCLICK' 点击显示
-          markerUrl: require("./markerone.png"),
-        };
-      });
-      this.$refs.liuEasyMap.changeCenter({
-        latitude: this.markerData[0].latitude,
-        longitude: this.markerData[0].longitude,
-      });
-      this.$refs.liuEasyMap.showMarkers();
-    },
-    async getPartyBranchList() {
-      let { data } = await getPartyBranchList({ searchName: this.searchName });
-      console.log(data);
-      this.markerData = data.map((e, index, array) => {
-        return {
-          latitude: e.branchLat,
-          longitude: e.branchLng,
-          name: e.branchName,
-          mapid: e.id,
-          id: index,
-          address: e.branchName,
-          iconWidth: 32, //标记点图标宽度
-          iconHeight: 32, //标记点图标高度
-          calloutColor: "#798DF3", //气泡窗口 文本颜色
-          calloutFontSize: 16, //气泡窗口 文本大小
-          calloutBorderRadius: 6, //气泡窗口 边框圆角
-          calloutPadding: 8, //气泡窗口 文本边缘留白
-          calloutBgColor: "#00000000", //气泡窗口 背景颜色
-          calloutDisplay: "ALWAYS", //气泡窗口 展示类型 默认常显 'ALWAYS' 常显 'BYCLICK' 点击显示
-          markerUrl: require("./markerone.png"),
-        };
-      });
-      this.$refs.liuEasyMap.showMarkers();
-    },
-    //点击标记点
-    markerClick(e) {
-      console.log("点击标记点信息:", e);
-    },
-  },
-};
-</script>
-
-<style lang="scss">
-.top3first {
-  background: url(./topfirst3.png) no-repeat;
-  border-radius: 1rem;
-  background-size: 100% 100%;
-  padding: 10rpx;
-}
-.page-main {
-  width: 100%;
-  height: 100vh;
-}
-.buildmap {
-  .top3borderbt {
-    border-bottom: 2rpx solid rgba(204, 204, 204, 0.4);
-  }
-  .top3-1 {
-    background: url(./topfirst3.png) no-repeat;
-    background-size: 100% 100%;
-    width: 100%;
-    border-radius: 1rem;
-  }
-  .top3 {
-    // height: 343rpx;
-    background-size: 100% 100%;
-    width: 80%;
-    position: relative;
-    top: 115rpx;
-    left: 10%;
-    border-radius: 1rem;
-
-    .top3-row {
-      display: flex;
-      margin: 32rpx 32rpx 0 32rpx;
-      padding-bottom: 24rpx;
-
-      img {
-        width: 40rpx;
-        height: 40rpx;
-        margin-right: 24rpx;
-      }
-      .depname {
-        color: #162485;
-        /* height: 40rpx; */
-        line-height: 40rpx;
-        font-size: 28rpx;
-        width: 80%;
-      }
-      .bili {
-        width: 116rpx;
-        text-align: center;
-        border-radius: 15rem;
-        height: 40rpx;
-        line-height: 40rpx;
-        font-weight: 400;
-        background: rgba(33, 85, 244, 0.05);
-        color: #798df3;
-        margin-left: auto;
-      }
-    }
-  }
-  .bluebg {
-    width: 100%;
-    height: 260rpx;
-    background: linear-gradient(132deg, #3c53f0 0%, #1026c3 100%);
-    position: absolute;
-  }
-  .uni-searchbar {
-    background: white;
-    padding: 0;
-    margin-top: 10rpx;
-    border-radius: 100rpx;
-    .uni-searchbar__box {
-      background: white !important;
-    }
-    .uni-searchbar__cancel {
-      padding: 0 !important;
-      text-align: left !important;
-      width: 75rpx !important;
-    }
-  }
-}
-</style>

BIN
pages/subPackages/buildmap/markerone.png


BIN
pages/subPackages/buildmap/top1.png


BIN
pages/subPackages/buildmap/top2.png


BIN
pages/subPackages/buildmap/top3.png


BIN
pages/subPackages/buildmap/topfirst3.png


+ 299 - 0
pages/subPackages/carmange/add.vue

@@ -0,0 +1,299 @@
+<template>
+  <div class="add_car">
+    <div class="form bd_bottom pdt32 pdb32" style="display: block">
+      <div class="form-label">
+        <span class="form-requird">*</span>
+        <span>车牌号</span>
+      </div>
+      <div>
+        <car-number v-model="carNumber"></car-number>
+      </div>
+      <div class="historyList">
+        <div class="historyList-item mt32">
+          <div>苏B51WK7</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+        <div class="historyList-item mt32">
+          <div>苏B51WK7</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+        <div class="historyList-item mt32">
+          <div>苏B51WK7</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+        <div class="historyList-item mt32">
+          <div>苏B51WK7</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+      </div>
+    </div>
+
+    <div class="form bd_bottom" style="display: block">
+      <div style="display: flex">
+        <div class="form-label">
+          <span class="form-requird">*</span>
+          <span>司机姓名</span>
+        </div>
+        <div class="form-value">
+          <input
+            type="text"
+            readonly
+            placeholder="请选择"
+            v-model="formData.userName"
+          />
+        </div>
+      </div>
+      <div class="historyList">
+        <div class="historyList-item mt32">
+          <div>宣师傅</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+        <div class="historyList-item mt32">
+          <div>陈师傅</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+        <div class="historyList-item mt32">
+          <div>刘师傅</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+        <div class="historyList-item mt32">
+          <div>于师傅</div>
+          <div class="btn">
+            <van-icon name="clear" color="rgba(138, 5, 84, 1)" />
+          </div>
+        </div>
+      </div>
+    </div>
+    <div class="form bd_bottom" style="display: block">
+      <div style="display: flex">
+        <div class="form-label">
+          <span class="form-requird">*</span>
+          <span>手机号</span>
+        </div>
+        <div class="form-value">
+          <input
+            type="text"
+            readonly
+            placeholder="请选择"
+            v-model="formData.userName"
+          />
+        </div>
+      </div>
+    </div>
+    <div class="form bd_bottom" style="display: block">
+      <div style="display: flex">
+        <div class="form-label">
+          <span class="form-requird">*</span>
+          <span>所属企业</span>
+        </div>
+        <div class="form-value">
+          <input
+            type="text"
+            readonly
+            placeholder="请选择"
+            v-model="formData.userName"
+          />
+        </div>
+      </div>
+    </div>
+    <div class="form bd_bottom" style="display: block">
+      <div style="display: flex">
+        <div class="form-label">
+          <span class="form-requird">*</span>
+          <span>创建时间</span>
+        </div>
+        <div class="form-value">
+          <input
+            type="text"
+            readonly
+            placeholder="请选择"
+            v-model="formData.userName"
+          />
+        </div>
+      </div>
+    </div>
+
+    <div class="foot-btn">
+      <van-button color="rgba(138, 5, 84, 1)" type="primary"> 提交 </van-button>
+    </div>
+  </div>
+</template>
+  
+  <script>
+import CarNumber from "@/components/codecook-carnumber/codecook-carnumber.vue";
+
+export default {
+  data() {
+    return {
+      formData: {},
+      carNumber: "",
+    };
+  },
+  components: {
+    CarNumber,
+  },
+  mounted() {
+    // demo();
+  },
+  methods: {},
+};
+</script>
+  
+  <style lang="scss">
+.add_car {
+  .foot-btn {
+    margin-top: 32rpx;
+    margin-bottom: 32rpx;
+    display: flex;
+    justify-content: space-around;
+    button {
+      width: 654rpx;
+      &:after {
+        border-radius: 8rpx 8rpx 8rpx 8rpx;
+      }
+    }
+    .cancel {
+      button {
+        color: rgba(138, 5, 84, 1) !important;
+      }
+    }
+  }
+  .form-value {
+    width: 435rpx;
+    input {
+      width: 100%;
+    }
+  }
+  .sj-select {
+    display: flex;
+    flex-wrap: wrap;
+    margin-top: 32rpx;
+    .select-item {
+      text-align: center;
+      line-height: 80rpx;
+      width: 225rpx;
+      height: 80rpx;
+      background: rgba(255, 255, 255, 1);
+      border-radius: 0rpx 0rpx 0rpx 0rpx;
+      border: 2rpx solid #eaeff6;
+    }
+    .iselected {
+      background: #ededed;
+    }
+    .isuse {
+      background: rgba(142, 139, 228, 1);
+    }
+  }
+  .sj-select-title {
+    display: flex;
+    align-items: center;
+    .legend {
+      display: flex;
+      align-items: center;
+      margin-right: 32rpx;
+    }
+    .sj-label {
+      margin-right: 64rpx;
+    }
+    .white-legend {
+      margin-right: 16rpx;
+      width: 28rpx;
+      height: 28rpx;
+      background: #ffffff;
+      border-radius: 0rpx 0rpx 0rpx 0rpx;
+      border: 2rpx solid #e9e9e9;
+    }
+    .purple-legend {
+      margin-right: 16rpx;
+      width: 28rpx;
+      height: 28rpx;
+      background: #8e8be4;
+      border-radius: 0rpx 0rpx 0rpx 0rpx;
+    }
+  }
+  .bottom-form {
+    background: #ffffff;
+    padding: 32rpx;
+    box-sizing: border-box;
+    .mt-select {
+      display: flex;
+      flex-wrap: wrap;
+      .select-item {
+        border-radius: 8rpx 8rpx 8rpx 8rpx;
+        padding: 12rpx 30rpx;
+        margin-left: 5rpx;
+        margin-right: 5rpx;
+        margin-bottom: 32rpx;
+        background: rgba(245, 247, 250, 1);
+      }
+    }
+  }
+  .historyList {
+    display: none;
+    // display: flex;
+    justify-content: flex-start;
+    flex-wrap: wrap;
+    .historyList-item {
+      padding: 10rpx 15rpx;
+      display: flex;
+      text-align: center;
+      font-weight: 400;
+      color: #666666;
+      background: #f5f7fa;
+      border-radius: 8rpx 8rpx 8rpx 8rpx;
+      margin-left: 5rpx;
+      margin-right: 5rpx;
+      .btn {
+        margin-left: 15rpx;
+      }
+    }
+  }
+
+  .form {
+    padding: 32rpx 32rpx;
+    display: flex;
+    background: #ffffff;
+    min-height: 112rpx;
+    align-items: center;
+    box-sizing: border-box;
+    .form-label {
+      font-weight: 400;
+      font-size: 32rpx;
+      color: #333333;
+      margin-right: 64rpx;
+      .form-requird {
+        color: red;
+      }
+    }
+  }
+  .pdt32 {
+    padding-top: 32rpx;
+  }
+  .pdb32 {
+    padding-bottom: 32rpx;
+  }
+  .mb32 {
+    margin-bottom: 32rpx;
+  }
+  .mt32 {
+    margin-top: 32rpx;
+  }
+  .bd_bottom {
+    border-bottom: 2rpx #e6e6e6 solid;
+  }
+}
+</style>

+ 88 - 0
pages/subPackages/carmange/index.vue

@@ -0,0 +1,88 @@
+<template>
+  <div class="carmange">
+    <div class="top">
+      <div class="add">
+        <div class="text" @click="jumpPage('/pages/subPackages/carmange/add')">
+          新增
+        </div>
+        <van-icon name="add" />
+      </div>
+    </div>
+    <div class="list">
+      <div class="list-row">
+        <div class="left">
+          <div class="info">车牌号:苏B51WK7</div>
+          <div class="info1">司机姓名:苏B51WK7</div>
+          <div class="info1">手机号:苏B51WK7</div>
+        </div>
+        <div class="right">
+          <van-icon size="48rpx" color="rgba(138, 5, 84, 1)" name="delete" />
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+  methods: {
+    jumpPage(path) {
+      console.log(path);
+      uni.navigateTo({
+        url: path,
+        fail: (fail) => {},
+      });
+    },
+  },
+};
+</script>
+
+<style lang="scss">
+.carmange {
+  .top {
+    width: 750rpx;
+    color: #8a0554;
+    height: 80rpx;
+    background: white;
+    display: flex;
+    align-items: center;
+    padding: 0 36rpx;
+    box-sizing: border-box;
+    .add {
+      display: flex;
+      margin-left: auto;
+      .text {
+        margin-right: 12rpx;
+      }
+    }
+  }
+  .list {
+    width: 100%;
+    box-sizing: border-box;
+    .list-row {
+      box-sizing: border-box;
+      padding: 24rpx;
+      display: flex;
+      align-items: center;
+      justify-content: space-between;
+
+      .left {
+        .info {
+          font-weight: 400;
+          font-size: 32rpx;
+          color: #222222;
+          margin-bottom: 16rpx;
+        }
+        .info1 {
+          font-weight: 400;
+          font-size: 28rpx;
+          color: #888888;
+        }
+      }
+    }
+  }
+}
+</style>

+ 0 - 143
pages/subPackages/chooseCompanyTags/componets/chooseTime.vue

@@ -1,143 +0,0 @@
-<template>
-  <van-popup
-    :z-index="1000"
-    :show="show"
-    @close="onClose"
-    position="bottom"
-    round
-    class="chosseTime"
-  >
-    <div class="vanpoup_1">
-      <div class="choostimetitle">有效期选择</div>
-
-      <div
-        class="choostimetitle"
-        style="color: #333333; margin-top: 32rpx; border: none"
-      >
-        标签开始生效年月
-      </div>
-      <picker
-        mode="date"
-        :value="form.effectiveDate"
-        fields="month"
-        @change="bindDateChange"
-      >
-        <input
-          disabled="true"
-          class="pickerclass"
-          v-model="form.effectiveDate"
-          placeholder="请选择月份"
-        />
-      </picker>
-      <div style="margin-top: 16rpx; width: 100%">
-        <van-button type="default" class="button100" @click="closeDialog()"
-          >取消</van-button
-        >
-        <van-button
-          type="info"
-          class="button100"
-          custom-class="userinfobtn"
-          @click="pushIsCheckItem()"
-          >确定</van-button
-        >
-      </div>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  data() {
-    return {
-      form: {
-        effectiveDate: "",
-        checkIndex: null,
-      },
-      checkIndex: null,
-      show: false,
-      isSelectedList: [],
-    };
-  },
-  methods: {
-    closeDialog() {
-      this.show = false;
-    },
-    pushIsCheckItem() {
-      if (this.form.effectiveDate == "") {
-        this.$showToast("该标签需要效期,请选择");
-      } else {
-        this.$emit("pushIsCheckItem", this.form);
-        this.show = false;
-      }
-    },
-    bindDateChange(event) {
-      this.form.effectiveDate = event.detail.value;
-      this.$forceUpdate();
-    },
-    cancel() {
-      this.show = false;
-    },
-    onOpen(item, index) {
-      this.form = { ...item };
-      this.form.effectiveDate = "";
-      this.form.checkIndex = index;
-      this.show = true;
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style lang="scss">
-.button100 {
-  button {
-    width: 100% !important;
-    margin-top: 32rpx;
-  }
-  .van-button--info {
-  }
-}
-.userinfobtn {
-  background: #1d18bc !important;
-  border: none;
-}
-.chosseTime {
-  .choostimetitle {
-    padding-bottom: 32rpx;
-    color: #1d18bc;
-    font-size: 30rpx;
-    border-bottom: 2px solid #cccccc;
-  }
-  .vanpoup_1 {
-    width: 100%;
-    width: calc(100% - 128rpx);
-
-    padding: 64rpx;
-  }
-  .vanpoup_1_1 {
-    width: 100%;
-    border-bottom: 2rpx solid #cccccc;
-    height: 104rpx;
-    line-height: 104rpx;
-  }
-}
-</style>

+ 0 - 104
pages/subPackages/chooseCompanyTags/componets/isSelectedTags.vue

@@ -1,104 +0,0 @@
-<template>
-  <van-popup :show="show" @close="onClose" position="bottom" round>
-    <div class="vanpoup_1">
-      <div style="display: flex">
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333"
-            >已选择({{ isSelectedList.length }})</span
-          >
-          <span
-            @click="clearAll()"
-            style="float: right; color: #1d18bc; font-size: 30rpx"
-          >
-            清空</span
-          >
-        </div>
-      </div>
-      <div
-        style="display: flex"
-        v-for="(item, index) in isSelectedList"
-        :key="index"
-      >
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333">
-            {{ item.tagName }}
-            {{ !item.effectiveDate ? "" : item.effectiveDate }}
-          </span>
-
-          <span
-            @click="spiliceIsSelectedList(item, index)"
-            style="float: right; color: #1d18bc; font-size: 30rpx"
-          >
-            <van-icon name="cross"
-          /></span>
-        </div>
-      </div>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  props: {
-    isSelectedList: {
-      type: Array,
-      default: [],
-    },
-  },
-  data() {
-    return {
-      show: false,
-    };
-  },
-  methods: {
-    cancel() {
-      this.show = false;
-    },
-    onOpen(e) {
-      this.show = true;
-    },
-    spiliceIsSelectedList(item, index) {
-      this.$emit("spiliceIsSelectedList", item, index);
-    },
-    clearAll() {
-      this.$emit("clearAll");
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style>
-.vanpoup_1 {
-  height: 50vh;
-  width: 100%;
-  width: calc(100% - 128rpx);
-  margin-bottom: 74rpx;
-  padding: 64rpx;
-}
-.vanpoup_1_1 {
-  width: 100%;
-  border-bottom: 2rpx solid #cccccc;
-  height: 104rpx;
-  line-height: 104rpx;
-}
-</style>

+ 0 - 338
pages/subPackages/chooseCompanyTags/index.vue

@@ -1,338 +0,0 @@
-<template>
-  <div class="chooseCompanyTags">
-    <div class="jichuback">
-      <div class="tags_type">
-        <uni-data-checkbox
-          v-model="form.groupIds"
-          mode="tag"
-          :localdata="yuanqu_loacldata"
-          selectedTextColor="#1D18BC"
-          selectedColor="rgba(29,24,188,0.05);"
-          @change="getSelectedYuanqu"
-        >
-        </uni-data-checkbox>
-      </div>
-
-      <div
-        v-for="(item, index) in tagsList"
-        @click="chosseTags(item, index)"
-        :key="index"
-        style="
-          height: 130rpx;
-          padding-left: 32rpx;
-          padding-top: 24rpx;
-          border-bottom: 2rpx solid #cccccc;
-        "
-      >
-        <div class="cell_1">
-          <div
-            class="checkbox"
-            :style="{ background: !item.isSelected ? '' : '#2527aa' }"
-          >
-            <van-icon name="success" style="font-size: 30rpx; color: white" />
-          </div>
-        </div>
-        <div class="cell_2">
-          <div class="title_1">{{ item.tagName }}</div>
-          <div class="title_2">
-            有无效期:{{ item.isEffective == 1 ? "有" : "无" }}
-          </div>
-          <div class="title_3">
-            标签说明:{{
-              item.remark == "null" || !item.remark ? "暂无说明" : item.remark
-            }}
-          </div>
-        </div>
-      </div>
-    </div>
-    <view class="btn-view">
-      <button
-        class="btn"
-        @click="openTagsDialog()"
-        style="
-          border-top-left-radius: 5rem;
-          border-bottom-left-radius: 5rem;
-          background: white;
-          color: #1d18bc;
-          border: 1px solid;
-        "
-      >
-        已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-      </button>
-      <button
-        style="
-          border-radius: 0;
-          border: 1px solid #1d18bc;
-          border-top-right-radius: 5rem;
-          border-bottom-right-radius: 5rem;
-        "
-        class="btn"
-        @click="updown()"
-      >
-        确认提交
-      </button>
-    </view>
-
-    <is-selected-tags
-      ref="isSelectedTags"
-      :isSelectedList="isSelectedList"
-      @clearAll="clearAll"
-      @spiliceIsSelectedList="spiliceIsSelectedList"
-    />
-    <choose-time ref="chooseTime" @pushIsCheckItem="pushIsCheckItem" />
-  </div>
-</template>
-
-<script>
-const form = {
-  groupIds: "",
-  id: "",
-};
-import isSelectedTags from "./componets/isSelectedTags.vue";
-import chooseTime from "./componets/chooseTime.vue";
-import {
-  tagCategoryList,
-  getWxCompanyTags,
-  getCompanyTags,
-  tagsBind,
-} from "@/js_sdk/http";
-export default {
-  data() {
-    return {
-      isSelectedList: [],
-      form: { ...form },
-      tagsList: [],
-      yuanqu_loacldata: [
-        { value: 1, text: "通用属性" },
-        { value: 2, text: "商务属性" },
-        { value: 3, text: "科技属性" },
-        { value: 4, text: "规模属性" },
-        { value: 5, text: "人才属性" },
-        { value: 6, text: "其他属性" },
-      ],
-    };
-  },
-  components: {
-    isSelectedTags,
-    chooseTime,
-  },
-  watch: {
-    isSelectedList(newValue, oldValue) {
-      let that = this;
-      for (let i = 0; i < that.tagsList.length; i++) {
-        for (let j = 0; j < that.isSelectedList.length; j++) {
-          if (
-            that.tagsList[i].tagCategoryId ==
-            that.isSelectedList[j].tagCategoryId
-          ) {
-            that.tagsList[i].isSelected = true;
-            that.$forceUpdate();
-          }
-        }
-      }
-    },
-    tagsList(newValue, oldValue) {
-      let that = this;
-      for (let i = 0; i < that.tagsList.length; i++) {
-        for (let j = 0; j < that.isSelectedList.length; j++) {
-          if (
-            that.tagsList[i].tagCategoryId ==
-            that.isSelectedList[j].tagCategoryId
-          ) {
-            that.tagsList[i].isSelected = true;
-            that.$forceUpdate();
-          }
-        }
-      }
-    },
-  },
-  onLoad(option) {
-    this.form.id = option.id;
-    this.tagCategoryList();
-  },
-
-  methods: {
-    async getSelectedYuanqu2() {
-      let data = await getWxCompanyTags({
-        tagCategoryId: this.yuanqu_loacldata[0].value,
-      });
-      that.form.groupIds = this.yuanqu_loacldata[0].value;
-      this.tagsList = data.map((e) => {
-        return {
-          tagCategoryId: e.id,
-          tagName: e.tagName,
-          isEffective: e.isEffective,
-          isSelected: false,
-        };
-      });
-    },
-    spiliceIsSelectedList(item, index) {
-      this.isSelectedList.splice(index, 1);
-      let changeIndex = this.tagsList.findIndex(
-        (e) => e.tagCategoryId == item.tagCategoryId
-      );
-      this.tagsList[changeIndex].isSelected = false;
-      this.$forceUpdate();
-    },
-    clearAll() {
-      this.isSelectedList = [];
-      this.tagsList.forEach((e) => {
-        e.isSelected = false;
-        this.$forceUpdate();
-      });
-    },
-    pushIsCheckItem(form) {
-      this.tagsList[form.checkIndex].isSelected = true;
-      this.tagsList = [...this.tagsList];
-      this.isSelectedList.push(form);
-    },
-    async updown() {
-      let that = this;
-      let tagInfo = that.isSelectedList.map((e) => {
-        return {
-          isEffective: e.isEffective == "1" ? "有" : "无",
-          tagName: e.tagName,
-          id: e.tagCategoryId,
-          effectiveDate: e.isEffective == "1" ? e.effectiveDate : "",
-        };
-      });
-      let data = {
-        tagInfo: JSON.stringify(tagInfo),
-        enterpriseId: that.form.id,
-      };
-      let backdata = await tagsBind(data);
-      if (backdata.code == 200) {
-        this.$showToast("添加成功");
-        uni.navigateBack({});
-      } else {
-        this.$showToast(backdata.msg);
-      }
-    },
-    chosseTags(item, index) {
-      let filterIndex = this.isSelectedList.findIndex(
-        (e) => e.tagCategoryId == item.tagCategoryId
-      );
-      if (filterIndex != -1) {
-        this.$showToast("该标签与已选择标签重复");
-        return;
-      }
-      if (item.isEffective == 1) {
-        this.openChooseTimeDialog(item, index);
-      } else {
-        this.isSelectedList.push(this.tagsList[index]);
-        this.tagsList[index].isSelected = true;
-        this.tagsList = [...this.tagsList];
-      }
-    },
-    async getSelectedYuanqu(event) {
-      let data = await getWxCompanyTags({
-        tagCategoryId: event.detail.data.value,
-      });
-      this.tagsList = data.map((e) => {
-        return {
-          tagCategoryId: e.id,
-          tagName: e.tagName,
-          isEffective: e.isEffective,
-          isSelected: false,
-        };
-      });
-    },
-    async tagCategoryList() {
-      let data = await tagCategoryList();
-      this.yuanqu_loacldata = data.map((e) => {
-        return {
-          text: e.name,
-          value: e.id,
-        };
-      });
-      this.getSelectedYuanqu2();
-    },
-    takeParamsGoBack() {},
-    openTagsDialog() {
-      this.$refs.isSelectedTags.onOpen([]);
-    },
-    openChooseTimeDialog(item, index) {
-      this.$refs.isSelectedTags.onClose();
-      this.$refs.chooseTime.onOpen(item, index);
-    },
-  },
-};
-</script>
-
-<style lang="scss">
-.chooseCompanyTags {
-  .title_1 {
-    margin-bottom: 12rpx;
-    font-size: 28rpx;
-
-    font-weight: 500;
-    color: #333333;
-  }
-  .title_2 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-
-    font-weight: 500;
-
-    color: #777777;
-  }
-  .title_3 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-  }
-  .cell_1 {
-    float: left;
-    width: 10%;
-  }
-  .checkbox {
-    border: 1px solid #cccccc;
-    border-radius: 4rpx  4rpx  4rpx  4rpx;
-    height: 30rpx;
-    width: 30rpx;
-  }
-  .cell_2 {
-    float: left;
-    width: 90%;
-
-    img {
-      height: 60rpx;
-      width: 60rpx;
-      float: right;
-      margin: 96rpx 0rpx 94rpx 0;
-    }
-  }
-  button::after {
-    border: none;
-  }
-  .btn-view {
-    width: 100%;
-    height: 100rpx;
-    padding: 20rpx 10%;
-    background-color: #ffffff;
-    position: fixed;
-    bottom: 0;
-    left: 0;
-    z-index: 1000;
-  }
-  .btn {
-    width: 40%;
-    height: 90rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    float: left;
-  }
-  .jichuback {
-    width: calc(100% - 64rpx);
-    margin: 32rpx;
-    background: white;
-    border-bottom: 2rpx solid #cccccc;
-  }
-  .tags_type {
-    width: calc(100% - 64rpx);
-    margin: 16rpx;
-  }
-}
-</style>

BIN
pages/subPackages/choosecar/choosecar/banner.png


BIN
pages/subPackages/choosecar/choosecar/car1.png


BIN
pages/subPackages/choosecar/choosecar/car2.png


BIN
pages/subPackages/choosecar/choosecar/car3.png


BIN
pages/subPackages/choosecar/choosecar/car4.png


BIN
pages/subPackages/choosecar/choosecar/car5.png


BIN
pages/subPackages/choosecar/choosecar/jiantou.png


+ 114 - 0
pages/subPackages/choosecar/index.vue

@@ -0,0 +1,114 @@
+<template>
+  <div class="choosecar">
+    <img class="banner" src="./choosecar/banner.png" alt="" />
+    <div class="carlist">
+      <div class="list-row1" @click="jummPage()">
+        <img src="./choosecar/car1.png" class="carimg" alt="" />
+        <div style="margin-left: 28rpx">
+          <div class="row-title">普通车辆</div>
+          <div class="row-tip">适用普通车辆预约 工作时间为 8:30~16:30</div>
+        </div>
+        <img src="./choosecar/jiantou.png" alt="" class="jiantou" />
+      </div>
+      <div class="list-row1" @click="jummPage()">
+        <img src="./choosecar/car2.png" class="carimg" alt="" />
+        <div style="margin-left: 28rpx">
+          <div class="row-title">大型箱车</div>
+          <div class="row-tip">适用普通车辆预约 工作时间为 8:30~16:30</div>
+        </div>
+        <img src="./choosecar/jiantou.png" alt="" class="jiantou" />
+      </div>
+      <div class="list-row1" @click="jummPage()">
+        <img src="./choosecar/car3.png" class="carimg" alt="" />
+        <div style="margin-left: 28rpx">
+          <div class="row-title">集装箱车辆</div>
+          <div class="row-tip">适用集装箱车辆预约 工作时间为 8:00~17:00</div>
+        </div>
+        <img src="./choosecar/jiantou.png" alt="" class="jiantou" />
+      </div>
+      <div class="list-row1" @click="jummPage()">
+        <img src="./choosecar/car4.png" class="carimg" alt="" />
+        <div style="margin-left: 28rpx">
+          <div class="row-title">航空箱</div>
+          <div class="row-tip">适用普通车辆预约 工作时间为 8:30~16:30</div>
+        </div>
+        <img src="./choosecar/jiantou.png" alt="" class="jiantou" />
+      </div>
+      <div class="list-row1" @click="jummPage()">
+        <img src="./choosecar/car5.png" class="carimg" alt="" />
+        <div style="margin-left: 28rpx">
+          <div class="row-title">海运柜</div>
+          <div class="row-tip">适用普通车辆预约 工作时间为 8:30~16:30</div>
+        </div>
+        <img src="./choosecar/jiantou.png" alt="" class="jiantou" />
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+  mounted() {},
+  methods: {
+    jummPage() {
+      uni.navigateTo({
+        url: "/pages/subPackages/qy_yy/index",
+      });
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+page {
+  background: #ffffff;
+}
+.choosecar {
+  position: relative;
+  .banner {
+    width: 100vw;
+    height: 300rpx;
+  }
+  .carlist {
+    position: absolute;
+    z-index: 2;
+    width: 100vw;
+    top: 250rpx;
+    .row-tip {
+      font-weight: 400;
+      font-size: 24rpx;
+      color: #666666;
+      margin-top: 30rpx;
+    }
+    .jiantou {
+      margin-left: auto;
+      height: 48rpx;
+      width: 24rpx;
+    }
+    .list-row1 {
+      margin: 0 auto;
+      margin-top: 24rpx;
+      display: flex;
+      align-items: center;
+      width: 694rpx;
+      height: 160rpx;
+      background: #f5f7fa;
+      border-radius: 16rpx 16rpx 16rpx 16rpx;
+      padding: 34rpx 30rpx;
+      box-sizing: border-box;
+      .row-title {
+        font-weight: bold;
+        font-size: 32rpx;
+        color: #333333;
+      }
+      .carimg {
+        height: 104rpx;
+        width: 104rpx;
+      }
+    }
+  }
+}
+</style>

+ 0 - 844
pages/subPackages/chosseHouse/chosseHouse.vue

@@ -1,844 +0,0 @@
-<template>
-  <div class="chosseHouse">
-    <div class="chosseHouse">
-      <div class="form">
-        <van-row>
-          <van-col :span="4">
-            <div class="label">园区</div>
-          </van-col>
-          <van-col :span="20">
-            <uni-data-checkbox
-              v-model="form.groupIds"
-              mode="tag"
-              :localdata="yuanqu_loacldata"
-              selectedTextColor="#1D18BC"
-              selectedColor="rgba(29,24,188,0.05);"
-              @change="getSelectedYuanqu"
-            >
-            </uni-data-checkbox>
-          </van-col>
-        </van-row>
-        <van-row v-if="form.groupIds != null">
-          <van-col class="labelcolmt26" :span="4">
-            <div class="label">楼盘</div>
-          </van-col>
-          <van-col class="labelcolmt26" :span="20">
-            <uni-data-checkbox
-              v-model="form.loupan_value"
-              mode="tag"
-              :localdata="loupan_loacldata"
-              selectedTextColor="#1D18BC"
-              selectedColor="rgba(29,24,188,0.05);"
-              @change="getSelectedLoupan"
-            >
-            </uni-data-checkbox>
-          </van-col>
-        </van-row>
-        <van-row>
-          <van-col class="labelcolmt26" :span="4">
-            <div class="label">状态</div>
-          </van-col>
-          <van-col class="labelcolmt26 status" :span="20">
-            <uni-data-checkbox
-              v-model="form.statusArray"
-              :localdata="statusList"
-              :multiple="true"
-              selectedTextColor="#1D18BC"
-              selectedColor="rgba(29,24,188,0.05);"
-              @change="getSelectedStatus"
-            >
-            </uni-data-checkbox>
-          </van-col>
-        </van-row>
-        <van-row>
-          <van-col class="labelcolmt26" :span="4">
-            <div class="label">朝向</div>
-          </van-col>
-          <van-col class="labelcolmt26 status" :span="20">
-            <uni-data-checkbox
-              v-model="form.chaoxiangArray"
-              :localdata="fangxiangList"
-              :multiple="true"
-              selectedTextColor="#1D18BC"
-              selectedColor="rgba(29,24,188,0.05);"
-              @change="getChaoxiang"
-            >
-            </uni-data-checkbox>
-          </van-col>
-        </van-row>
-        <van-row>
-          <van-col class="labelcolmt26" :span="6">
-            <div class="label">载体性质</div>
-          </van-col>
-          <van-col class="labelcolmt26" :span="18">
-            <uni-data-checkbox
-              v-model="form.zaitiTypeArray"
-              mode="tag"
-              :localdata="xinzhiList"
-              selectedTextColor="#1D18BC"
-              selectedColor="rgba(29,24,188,0.05);"
-              @change="getSelectedXingZhi"
-            >
-            </uni-data-checkbox>
-          </van-col>
-        </van-row>
-        <van-row>
-          <van-col class="labelcolmt26" :span="5">
-            <div class="label">指导价</div>
-          </van-col>
-          <van-col class="labelcolmt26" :span="9">
-            <input
-              v-model="form.guidePrice1"
-              type="number"
-              placeholder="最低价"
-            />
-          </van-col>
-          <van-col :span="1">
-            <div class="width100 txt_center" style="margin-top: 30rpx">-</div>
-          </van-col>
-          <van-col class="labelcolmt26" :span="9">
-            <input
-              v-model="form.guidePrice2"
-              type="number"
-              placeholder="最高价"
-            />
-          </van-col>
-        </van-row>
-        <van-row>
-          <van-col class="labelcolmt26" :span="5">
-            <div class="label">面积</div>
-          </van-col>
-          <van-col class="labelcolmt26" :span="9">
-            <input
-              v-model="form.roomSize1"
-              type="number"
-              placeholder="最小面积"
-            />
-          </van-col>
-          <van-col :span="1">
-            <div class="width100 txt_center" style="margin-top: 30rpx">-</div>
-          </van-col>
-          <van-col class="labelcolmt26" :span="9">
-            <input
-              v-model="form.roomSize2"
-              type="number"
-              placeholder="最大面积"
-            />
-          </van-col>
-        </van-row>
-        <van-row>
-          <van-col class="labelcolmt26" :span="6">
-            <van-button color="#F1F2F9" custom-class="reset_btn" @click="reast"
-              >重置</van-button
-            >
-          </van-col>
-          <van-col class="labelcolmt26" :span="18">
-            <van-button
-              color="#2527AA"
-              custom-class="search_btn"
-              @click="search"
-            >
-              <van-icon name="search" />
-              搜索
-            </van-button>
-          </van-col>
-        </van-row>
-      </div>
-      <div class="list" style="padding-bottom: 200rpx">
-        <div v-if="vamTabStatus">
-          <van-tabs
-            id="tabs"
-            @change="getSelectedLoudong"
-            @before-change="onBeforeChange"
-            line-width="80rpx"
-            title-active-color="#1D18BC"
-          >
-            <van-tab
-              v-for="(item, index) in loudongList"
-              :title="item.ldmc"
-              :name="item.id"
-              :key="index"
-            >
-            </van-tab>
-          </van-tabs>
-        </div>
-        <div class="total" v-if="roomList.length != 0">
-          共
-          <span style="color: #1d18bc">{{ form.total }}</span>
-          间
-        </div>
-        <van-checkbox-group :value="result" @change="onChange">
-          <div
-            class="list-row"
-            v-if="roomList.length != 0"
-            v-for="item in roomList"
-            :key="item.id"
-          >
-            <div class="cell_0">
-              <van-checkbox :name="item.id"> </van-checkbox>
-            </div>
-            <div class="cell_1">
-              <div class="width100 height44rpx mb8rpx">
-                <div class="first_title" style="font-size: 30rpx">
-                  {{
-                    item.yuanquName +
-                    item.quyuName +
-                    item.loudongName +
-                    item.roomNo
-                  }}
-                </div>
-              </div>
-              <div class="width100 height40rpx mb8rpx">
-                <div class="second_title">
-                  用途:{{
-                    getDicType("roomUse", item.roomUse) == undefined
-                      ? "未知"
-                      : getDicType("roomUse", item.roomUse)
-                  }}
-                </div>
-                <div class="second_title_1 width50 chaochuyincang">
-                  装修情况:{{
-                    !item.decorationSituation
-                      ? "未知"
-                      : item.decorationSituation
-                  }}
-                </div>
-              </div>
-              <div class="width100 height36rpx mb14rpx">
-                <div class="third_title" v-if="item.roomSize">
-                  面积(㎡):{{ item.roomSize }}平米
-                </div>
-                <div class="third_title" v-if="!item.roomSize">
-                  面积(㎡):未知
-                </div>
-                <div class="third_title_1">
-                  朝向:{{ item.roomDirection ? item.roomDirection : "未知" }}
-                </div>
-              </div>
-              <div class="width100 height50rpx mb14rpx">
-                <div
-                  class="roomstatus"
-                  v-if="getDicType('zaiti', item.zaitiType)"
-                >
-                  {{ getDicType("zaiti", item.zaitiType) }}
-                </div>
-                <div class="roomstatus" v-if="item.currentState == 1">空置</div>
-                <div class="roomstatus" v-if="item.currentState == 2">锁定</div>
-                <div class="roomstatus" v-if="item.currentState == 3">预约</div>
-                <div class="roomstatus" v-if="item.currentState == 4">临期</div>
-                <div class="roomstatus" v-if="item.currentState == 5">已租</div>
-                <div class="roomstatus" v-if="item.currentState == 6">到期</div>
-              </div>
-              <div class="width100 height36rpx">
-                <div class="float_left chuzu_label">
-                  出租指导价(元/㎡/月):
-                </div>
-                <span class="float_left chuzu_vlaue">
-                  <span class="float_left chuzu_vlaue">
-                    {{ !item.guidePrice ? "未知" : item.guidePrice }}
-                  </span>
-                </span>
-              </div>
-            </div>
-            <!-- <div class="cell_2" @click="jumpPage(item.id)">
-              <img src="../../../static/mine/youjiantou.png" alt="" />
-            </div> -->
-          </div>
-          <div class="list-row" v-if="roomList.length == 0">
-            <van-empty
-              class="disblock marginauto"
-              style="background: white"
-              description="暂无数据"
-            />
-          </div>
-        </van-checkbox-group>
-      </div>
-    </div>
-    <view class="‘btn-view‘">
-      <div class="btn" @click="takeParamsGoBack()">添加</div>
-    </view>
-  </div>
-</template>
-
-<script>
-import vanTab from "../../../wxcomponents/weapp/dist/tab/index";
-import vanTabs from "../../../wxcomponents/weapp/dist/tabs/index";
-import vanEmpty from "../../../wxcomponents/weapp/dist/empty/index";
-import {
-  findYuanQuList,
-  findLongPanList,
-  findLouDongList,
-  findRoomByCondition,
-  getByCodes,
-} from "@/js_sdk/http.js";
-
-const form = {
-  isFromApp: 1,
-  status: [],
-  chaoxiang: [],
-  statusArray: [],
-  chaoxiangArray: [],
-  zaitiTypeArray: [],
-  roomSize1: "",
-  roomSize2: "",
-  guidePrice1: "",
-  guidePrice2: "",
-  loupan_value: null,
-  groupIds: null,
-  pageNum: 1,
-  pageSize: 10,
-  total: 0,
-  mnpBuildingIds: "",
-  currentState: "",
-};
-
-export default {
-  components: {
-    vanTab,
-    vanTabs,
-    vanEmpty,
-  },
-  name: "chosseHouser.vue",
-  data() {
-    return {
-      housetype: "",
-      result: [],
-      copy_result: [],
-      dic_key: ["PROPERTY_NATURE", "HOUSE_USAGE"],
-      dic_SelectList: {},
-      loudongList: [],
-      activezhaoshang: "0",
-      form: {
-        ...form,
-      },
-      active: 0,
-      formData: {},
-      value: 0,
-      vamTabStatus: false,
-      yuanqu_loacldata: [],
-      loupan_loacldata: [],
-      range: [
-        {
-          value: 0,
-          text: "科教产业园",
-        },
-        {
-          value: 1,
-          text: "红沙湾",
-        },
-        {
-          value: 2,
-          text: "胡埭",
-        },
-      ],
-      loupanList: [
-        {
-          value: 0,
-          text: "一期",
-        },
-        {
-          value: 1,
-          text: "二期",
-        },
-        {
-          value: 2,
-          text: "三期",
-        },
-        {
-          value: 3,
-          text: "四期",
-        },
-        {
-          value: 4,
-          text: "五期",
-        },
-        {
-          value: 5,
-          text: "六期",
-        },
-        {
-          value: 6,
-          text: "七期",
-        },
-        {
-          value: 7,
-          text: "八期",
-        },
-        {
-          value: 8,
-          text: "九期",
-        },
-      ],
-      statusList: [
-        {
-          value: 1,
-          text: "空置",
-        },
-
-        {
-          value: 3,
-          text: "预约",
-        },
-        {
-          value: 4,
-          text: "临期",
-        },
-
-        {
-          value: 6,
-          text: "到期",
-        },
-      ],
-      roomList: [],
-      fangxiangList: [
-        {
-          value: 0,
-          text: "东",
-        },
-        {
-          value: 1,
-          text: "南",
-        },
-        {
-          value: 2,
-          text: "西",
-        },
-        {
-          value: 3,
-          text: "北",
-        },
-      ],
-      xinzhiList: [
-        {
-          value: 1,
-          text: "自有物业",
-        },
-        {
-          value: 2,
-          text: "社会物业",
-        },
-      ],
-    };
-  },
-
-  mounted() {
-    this.findYuanQuList();
-    this.getByCodes();
-  },
-
-  methods: {
-    async searchMore() {
-      let data = await findRoomByCondition(this.form);
-      this.roomList.push(...data.rows);
-      this.form.total = data.total;
-    },
-    onReachBottom() {
-      this.form.pageNum += 1;
-      this.searchMore();
-      console.log("滑动到距离底部100px的时候触发,可以放 。。业务逻辑");
-    }, //下拉执行的时候触发 (下拉刷新)
-    reast() {
-      this.roomList = [];
-      this.form = { ...form };
-      this.findYuanQuList();
-      this.getByCodes();
-    },
-    async search() {
-      if (!this.form.groupIds && !this.form.loupan_value) {
-        return this.$showToast("请选择园区和楼盘后重试");
-      }
-      if (!this.form.groupIds) {
-        return this.$showToast("请选择园区后重试");
-      }
-      if (!this.form.loupan_value) {
-        return this.$showToast("请选择楼盘后重试");
-      }
-      this.form.pageNum = 1;
-      this.form.pageSize = 10;
-      this.form.total = 0;
-      let data = await findRoomByCondition(this.form);
-      this.roomList = data.rows;
-      this.form.total = data.total;
-    },
-    async getByCodes() {
-      let data = await getByCodes(JSON.stringify(this.dic_key));
-      this.dic_SelectList = this.$common.handleDicList(data);
-    },
-    onBeforeChange() {
-      this.copy_result = [...this.result];
-    },
-    getSelectedLoudong(event) {
-      let that = this;
-      let result = [...that.result];
-      that.result = [];
-      that.roomList = [];
-      that.form.pageNum = 1;
-      this.form.mnpBuildingIds =
-        event.detail.title == "全部" ? "" : event.detail.name;
-      // this.form
-
-      findRoomByCondition(that.form).then((res) => {
-        res.rows.forEach((element) => {
-          that.roomList.push(element);
-        });
-        that.form.total = res.total;
-
-        // setTimeout(() => {
-        that.result = result;
-        // }, 200);
-      });
-    },
-    async getSelectedYuanqu() {
-      let data = await findLongPanList(this.form.groupIds);
-      this.roomList = [];
-
-      this.loudongList = [];
-      if (data.length > 0) {
-        this.loupan_loacldata = data.map((e) => {
-          return {
-            value: e.id,
-            text: e.name,
-          };
-        });
-      } else {
-        this.loupan_loacldata = [{ value: null, text: "暂无" }];
-      }
-      console.log(this.loupan_loacldata);
-    },
-    async getSelectedLoupan() {
-      try {
-        let data = await findLouDongList(this.form.loupan_value);
-        this.vamTabStatus = false;
-        console.log(data);
-        if (data.length == 0) {
-          this.loudongList = [];
-          this.roomList = [];
-          this.tabsStatus = !this.tabsStatus;
-          return;
-        } else {
-          console.log("我tm有数据的", data);
-          this.loudongList = [...data];
-          this.form.mnpBuildingIds = data[0].id;
-          this.roomList = [];
-        }
-
-        let row = await findRoomByCondition(this.form);
-        console.log("我是row", row);
-        this.roomList = row.rows;
-        this.form.total = row.total;
-        this.vamTabStatus = true;
-        console.log(row);
-      } catch (e) {
-        console.log("e这天真热", e);
-      }
-    },
-    findYuanQuList() {
-      findYuanQuList().then((data) => {
-        let yuanqu_list = [...data];
-        let yuanqu_loacldata = yuanqu_list.map((e) => {
-          return {
-            value: e.id,
-            text: e.groupName,
-          };
-        });
-        this.yuanqu_loacldata = yuanqu_loacldata;
-      });
-
-      // console.log(yuanqu_loacldata)
-    },
-    jumpPage(id) {
-      uni.navigateTo({
-        url: "/pages/subPackages/housedetails/housedetails?id=" + id,
-      });
-    },
-    getDicType(type, value) {
-      if (!value) return;
-      if (type == "zaiti") {
-        let PROPERTY_NATURE = this.dic_SelectList.PROPERTY_NATURE;
-        let index = PROPERTY_NATURE.findIndex((e) => e.value == value);
-        return PROPERTY_NATURE[index].label;
-      }
-      if (type == "roomUse") {
-        let HOUSE_USAGE = this.dic_SelectList.HOUSE_USAGE;
-        let index = HOUSE_USAGE.findIndex((e) => e.value == value);
-        return HOUSE_USAGE[index].label;
-      }
-    },
-    onLoadMore() {},
-    onLoad: function (option) {
-      //option为object类型,会序列化上个页面传递的参数
-      console.log(option.isEnable);
-
-      if (option.housetype && option.housetype != "无合同") {
-        this.housetype = option.housetype;
-        this.form.isEnable = 1;
-      } else {
-        this.housetype = option.housetype;
-        this.form.isEnable = 1;
-        this.form.propertyNature = 2;
-      }
-      if (option.type) this.type = option.type; //打印出上个页面传递的参数。
-    },
-    getChaoxiang() {
-      this.form.roomDirection = this.form.chaoxiangArray.join(",");
-    },
-    getSelectedStatus(e) {
-      this.form.currentState = this.form.statusArray.join(",");
-    },
-    getSelectedXingZhi() {
-      this.form.zaitiType = this.form.zaitiTypeArray.join(",");
-    },
-    takeParamsGoBack() {
-      let params = {
-        type: this.type,
-        result: this.result,
-        housetype: this.housetype,
-      };
-      uni.$emit("getuser", params);
-      uni.navigateBack();
-    },
-
-    change(e) {},
-
-    getStatus() {},
-    onChange(event) {
-      this.result = event.detail;
-    },
-  },
-  onPullDownRefresh: function () {
-    // 加载数据
-  },
-  onReachBottom() {}, //下拉执行的时候触发 (下拉刷新)
-};
-</script>
-
-<style lang="scss">
-.chaochuyincang {
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-}
-/deep/.van-cell {
-  padding: 0 0 0 28rpx !important;
-}
-.inputClass {
-  padding: 0 0 0 28rpx !important;
-}
-.chosseHouse {
-  .search_btn {
-    margin-left: 18rpx;
-    width: calc(100% - 18rpx);
-    height: 60rpx;
-  }
-  .reset_btn {
-    color: #2628a9 !important;
-    width: 100%;
-    height: 60rpx;
-  }
-  .btn-view {
-    width: 100%;
-    height: 100rpx;
-    padding: 20rpx 10%;
-    background-color: #ffffff;
-    position: fixed;
-    bottom: 0;
-    left: 0;
-  }
-  .btn {
-    width: 80%;
-    height: 90rpx;
-    border-radius: 50rpx 50rpx 50rpx 50rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    text-align: center;
-  }
-  .float_left {
-    float: left;
-  }
-  .chuzu_label {
-    width: 312rpx;
-    height: 36rpx;
-    font-size: 26rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #333333;
-    line-height: 36rpx;
-  }
-  .chuzu_vlaue {
-    width: 86rpx;
-    font-size: 32rpx;
-    font-family: PingFang SC-Bold, PingFang SC;
-    font-weight: bold;
-    color: #ec7359;
-    line-height: 38rpx;
-  }
-  .mb14rpx {
-    margin-bottom: 14rpx;
-  }
-  .height34rpx {
-    height: 34rpx;
-  }
-  .height50rpx {
-    height: 50rpx;
-  }
-  .roomstatus {
-    height: 50rpx;
-    line-height: 50rpx;
-    font-size: 24rpx;
-    padding: 0rpx 16rpx;
-    float: left;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #1d18bc;
-    border: 2rpx solid #1d18bc;
-    margin-left: 16rpx;
-  }
-  .roomstatus:first-child {
-    margin-left: 0 !important;
-  }
-  .height50px {
-    height: 50rpx;
-  }
-  .mb8rpx {
-    margin-bottom: 8rpx;
-  }
-  .width100 {
-    width: 100%;
-  }
-  .height36rpx {
-    height: 36rpx;
-  }
-  .height40rpx {
-    height: 40rpx;
-  }
-  .height66rpx {
-    height: 66rpx;
-  }
-  .height44rpx {
-    height: 44rpx;
-  }
-
-  .total {
-    padding: 8rpx 32rpx 8rpx 0;
-    text-align: right;
-    background: #ffffff;
-  }
-
-  .roomstatus {
-    height: 50rpx;
-    line-height: 50rpx;
-    font-size: 24rpx;
-    padding: 0rpx 16rpx;
-    float: left;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #1d18bc;
-    border: 2rpx solid #1d18bc;
-    margin-left: 16rpx;
-  }
-  .roomstatus:first-child {
-    margin-left: 0 !important;
-  }
-  .list-row {
-    width: calc(100% - 64rpx);
-    padding: 16rpx 32rpx 18rpx 32rpx;
-    background: #ffffff;
-    margin-bottom: 16rpx;
-    display: flex;
-    //height: 278rpx;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-  }
-  .second_title {
-    float: left;
-    width: 40%;
-    font-size: 28rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #777777;
-  }
-  .second_title_1 {
-    float: left;
-    width: 60%;
-    font-size: 28rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #777777;
-  }
-  .cell_0 {
-    float: left;
-    width: 10%;
-  }
-  .cell_1 {
-    float: left;
-    width: 80%;
-  }
-  .cell_2 {
-    float: left;
-    width: 10%;
-    img {
-      height: 60rpx;
-      width: 60rpx;
-      float: right;
-      margin: 96rpx 0rpx 94rpx 0;
-    }
-  }
-  .list {
-    width: calc(100% - 64rpx);
-
-    margin: 32rpx;
-  }
-
-  .form {
-    width: calc(100% - 128rpx);
-    margin: 32rpx;
-    background: #ffffff;
-    padding: 32rpx;
-
-    .label {
-      height: 53rpx;
-      line-height: 53rpx;
-    }
-  }
-
-  .checklist-box {
-    margin-right: 16rpx !important;
-  }
-
-  .labelcolmt26 {
-    input {
-      font-size: 24rpx;
-      border-radius: 8rpx 8rpx 8rpx 8rpx;
-      border: 2rpx solid #cccccc;
-      text-align: center;
-    }
-    .van-col {
-      margin-top: 26rpx !important;
-    }
-
-    label {
-      color: #333333;
-      font-size: 30rpx;
-      margin-top: 10rpx !important;
-    }
-
-    .uni-data-checklist {
-      margin-top: -10rpx !important;
-    }
-  }
-
-  .status {
-    .uni-data-checklist {
-      margin-top: 0rpx !important;
-    }
-
-    label {
-      color: #333333;
-      font-size: 30rpx;
-      padding-right: 0rpx !important;
-    }
-  }
-}
-</style>

Разница между файлами не показана из-за своего большого размера
+ 0 - 1052
pages/subPackages/companyDetails/companyDetails.vue


Разница между файлами не показана из-за своего большого размера
+ 0 - 1637
pages/subPackages/companyDetailsEdit/companyDetailsEdit.vue


+ 0 - 161
pages/subPackages/companyDetailsEdit/isSelectedTags.vue

@@ -1,161 +0,0 @@
-<template>
-  <van-popup :show="show" @close="onClose" position="bottom" round>
-    <div class="vanpoup_1">
-      <div style="display: flex">
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333"
-            >已选择({{ isSelectedList.length }})</span
-          >
-          <span
-            @click="clearAll()"
-            style="float: right; color: #1d18bc; font-size: 30rpx"
-          >
-            清空</span
-          >
-        </div>
-      </div>
-      <scroll-view scroll-y="true" style="height: 50vh">
-        <div
-          style="display: flex"
-          v-for="(item, index) in isSelectedList"
-          :key="index"
-        >
-          <div class="vanpoup_1_1">
-            <span style="font-size: 30rpx; color: #333333">
-              {{ item.label }}
-            </span>
-
-            <span
-              @click="spiliceIsSelectedList(item, index)"
-              style="float: right; color: #1d18bc; font-size: 30rpx"
-            >
-              <van-icon name="cross"
-            /></span>
-          </div>
-        </div>
-      </scroll-view>
-      <view class="btn-view">
-        <button
-          class="btn"
-          @click="closeTagsDialog()"
-          style="
-            border-top-left-radius: 5rem;
-            border-bottom-left-radius: 5rem;
-            background: white;
-            color: #1d18bc;
-            border: 1px solid;
-          "
-        >
-          已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-        </button>
-        <button
-          style="
-            border-radius: 0;
-            border: 1px solid #1d18bc;
-            border-top-right-radius: 5rem;
-            border-bottom-right-radius: 5rem;
-          "
-          class="btn"
-          @click="updown()"
-        >
-          确认提交
-        </button>
-      </view>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  props: {
-    isSelectedList: {
-      type: Array,
-      default: [],
-    },
-  },
-  data() {
-    return {
-      show: false,
-    };
-  },
-  methods: {
-    closeTagsDialog() {
-      this.show = false;
-    },
-    updown() {
-      this.$emit("updown");
-    },
-    cancel() {
-      this.show = false;
-    },
-    onOpen(e) {
-      this.show = true;
-    },
-    spiliceIsSelectedList(item, index) {
-      this.$emit("spiliceIsSelectedList", item, index);
-    },
-    clearAll() {
-      this.$emit("clearAll");
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style lang="scss">
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-  button {
-    &::after {
-      border: none;
-    }
-  }
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.vanpoup_1 {
-  height: 50vh;
-  width: 100%;
-  width: calc(100% - 128rpx);
-  margin-bottom: 74rpx;
-  padding: 64rpx;
-}
-.vanpoup_1_1 {
-  width: 100%;
-  border-bottom: 2rpx solid #cccccc;
-  height: 64rpx;
-  line-height: 64rpx;
-}
-</style>

+ 0 - 530
pages/subPackages/companyDetailsEdit/momo-multipleSelect.vue

@@ -1,530 +0,0 @@
-<template>
-  <view class="select-container" v-show="show" @touchmove.stop.prevent>
-    <view
-      class="mask"
-      :class="activeClass ? 'mask-show' : ''"
-      @tap="onCancel(true)"
-    ></view>
-    <view class="select-box" :class="activeClass ? 'select-box-show' : ''">
-      <div style="height: 900rpx">
-        <div style="display: flex">
-          <uni-easyinput
-            type="text"
-            class="searchinput"
-            v-model="formData.qymc"
-            placeholder="输入关联企业名称(模糊查询)"
-            style="height: 70rpx"
-          />
-          <van-button
-            class="searchbutton"
-            style="height: 70rpx"
-            type="primary"
-            @click="getCompaynList()"
-            >搜索</van-button
-          >
-        </div>
-        <div class="chooseCompanyTags">
-          <scroll-view
-            class="body"
-            scroll-y="true"
-            style="position: absolute; z-index: 1000"
-          >
-            <div
-              v-for="(item, index) in companyList"
-              :key="index"
-              class="selectlist"
-            >
-              <div class="title_2">
-                {{ item.label }}
-              </div>
-              <div
-                v-if="!item.isSelected"
-                class="title_1"
-                @click="chosseTags(item, index)"
-              >
-                <uni-icons type="plusempty" size="30rpx"></uni-icons>
-              </div>
-            </div>
-          </scroll-view>
-        </div>
-      </div>
-
-      <view class="btn-view">
-        <button
-          class="btn"
-          @click="openTagsDialog()"
-          style="
-            border-top-left-radius: 5rem;
-            border-bottom-left-radius: 5rem;
-            background: white;
-            color: #1d18bc;
-            border: 1px solid;
-          "
-        >
-          已选择({{ isSelectedList.length }})<van-icon name="arrow-down" />
-        </button>
-        <button
-          style="
-            border-radius: 0;
-            border: 1px solid #1d18bc;
-            border-top-right-radius: 5rem;
-            border-bottom-right-radius: 5rem;
-          "
-          class="btn"
-          @click="updown()"
-        >
-          确认提交
-        </button>
-      </view>
-    </view>
-    <is-selected-tags
-      ref="isSelectedTags"
-      :isSelectedList="isSelectedList"
-      @clearAll="clearAll"
-      @updown="updown"
-      @spiliceIsSelectedList="spiliceIsSelectedList"
-    />
-  </view>
-</template>
-<!-- 多选组件 -->
-<script>
-import isSelectedTags from "./isSelectedTags.vue";
-export default {
-  data() {
-    return {
-      isSelectedList: [],
-      companyList: [],
-      isSelectList: [],
-      formData: {},
-      show: false, //是否显示
-      activeClass: false, //激活样式状态
-      selectedArr: [], //选择对照列表
-      selectedArrOld: [], //选择对照列表上一次的数据
-    };
-  },
-  components: {
-    isSelectedTags,
-  },
-  onShow() {
-    this.show = this.value;
-  },
-  methods: {
-    async updown() {
-      console.log(this.isSelectedList);
-      this.$emit("confirm", this.isSelectedList);
-      this.show = false;
-    },
-    clearAll() {
-      this.isSelectedList = [];
-      this.companyList.forEach((e) => {
-        e.isSelected = false;
-        this.$forceUpdate();
-      });
-    },
-    spiliceIsSelectedList(item, index) {
-      this.isSelectedList.splice(index, 1);
-      let changeIndex = this.companyList.findIndex(
-        (e) => e.tagCategoryId == item.tagCategoryId
-      );
-      this.companyList[changeIndex].isSelected = false;
-      this.$forceUpdate();
-    },
-    chosseTags(item, index) {
-      let filterIndex = this.isSelectedList.findIndex(
-        (e) => e.value == item.value
-      );
-      if (filterIndex != -1) {
-        this.$showToast("该标签与已选择标签重复");
-        return;
-      }
-      if (item.isEffective == 1) {
-        this.openChooseTimeDialog(item, index);
-      } else {
-        this.isSelectedList.push(this.companyList[index]);
-        this.companyList[index].isSelected = true;
-        this.companyList = [...this.companyList];
-      }
-    },
-    openTagsDialog() {
-      this.$refs.isSelectedTags.onOpen([]);
-    },
-    getAllList(data) {
-      this.companyList = data;
-    },
-    getCompaynList() {
-      console.log(this.companyList);
-      console.log(this.selectedArr);
-      this.$emit("getCompanyAll", this.formData.qymc);
-    },
-    // 设置默认选中通用办法
-    setItemActiveState() {
-      if (this.companyList.length && this.defaultSelected.length) {
-        this.companyList.forEach((item, i) => {
-          for (let n = 0; n < this.defaultSelected.length; n++) {
-            if (
-              !item.disabled &&
-              item[this.valueName] === this.defaultSelected[n]
-            ) {
-              this.selectedArr.splice(i, 1, true);
-              break;
-            }
-          }
-        });
-      }
-    },
-    /**
-     * 选择事件
-     * @index {Number} 点击下标
-     */
-    onSelected(index) {
-      if (this.companyList[index].disabled) return;
-      console.log(this.companyList[index]);
-      if (!this.companyList[index].isSelect) {
-        this.isSelectList.push(this.companyList[index].value);
-        this.companyList[index].isSelect = true;
-      } else {
-        let deleteIndex = this.isSelectList.findIndex(
-          (e) => e.value == this.companyList[index].value
-        );
-        this.isSelectList.splice(deleteIndex, 1);
-        this.companyList[index].isSelect = false;
-      }
-      this.$forceUpdate();
-      this.companyList = [...this.companyList];
-      //   let index2Active = this.selectedArr[index];
-      //   this.selectedArr.splice(index, 1, !index2Active);
-    },
-    // 取消事件
-    onCancel(isMask) {
-      if (!isMask || this.maskCloseAble) {
-        this.show = false;
-        this.selectedArr = JSON.parse(JSON.stringify(this.selectedArrOld));
-      } else {
-        return;
-      }
-      this.$emit("cancel");
-    },
-    // 返回去除了disabled状态后的对照列表
-    returnWipeDisabledList() {
-      let arr = [];
-      this.selectedArr.forEach((el, index) => {
-        if (!this.companyList[index].disabled) arr.push(el);
-      });
-      return arr;
-    },
-    // 全选/非全选事件
-    onAllToggle() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      // 如果去除了disabled的对照列表有false的数据,代表未全选
-      if (wipeDisabledList.includes(false)) {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.companyList[index].disabled)
-            this.selectedArr.splice(index, 1, true);
-        });
-      } else {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.companyList[index].disabled)
-            el = this.selectedArr.splice(index, 1, false);
-        });
-      }
-    },
-    // 确定事件
-    onConfirm() {
-      this.show = false;
-      let selectedData = [];
-      this.companyList.forEach((e, index) => {
-        if (e.isSelect) {
-          selectedData.push(this.companyList[index]);
-        }
-      });
-      if (this.mode === "multiple") {
-        this.$emit("confirm", selectedData);
-      } else {
-        let backData = selectedData[0] || {};
-        this.$emit("confirm", backData);
-      }
-    },
-  },
-  computed: {
-    // 返回是否全选
-    isAll() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      if (!wipeDisabledList.length) return false;
-      return !wipeDisabledList.includes(false);
-    },
-  },
-  props: {
-    // 双向绑定
-    value: {
-      type: Boolean,
-      default: false,
-    },
-    // 取消按钮文字
-    cancelText: {
-      type: String,
-      default: "取消",
-    },
-    // 确认按钮文字
-    confirmText: {
-      type: String,
-      default: "确认",
-    },
-    // label对应的key名称
-    labelName: {
-      type: String,
-      default: "label",
-    },
-    // value对应的key名称
-    valueName: {
-      type: String,
-      default: "value",
-    },
-    // 是否允许点击遮罩层关闭
-    maskCloseAble: {
-      type: Boolean,
-      default: true,
-    },
-    // 是否显示全选
-    allShow: {
-      type: Boolean,
-      default: true,
-    },
-    // 模式
-    mode: {
-      type: String,
-      default: "multiple",
-    },
-    // 默认选中值
-    defaultSelected: {
-      type: Array,
-      default: function () {
-        return [];
-      },
-    },
-    // 数据源
-    // data: {
-    //   type: Array,
-    //   required: true,
-    //   default: () => {
-    //     return [];
-    //   },
-    // },
-  },
-  watch: {
-    async value(newVal) {
-      this.show = newVal;
-      await this.$nextTick();
-      this.activeClass = newVal;
-      if (newVal) {
-        this.selectedArrOld = JSON.parse(JSON.stringify(this.selectedArr));
-      }
-    },
-    show(newVal) {
-      this.$emit("input", newVal);
-      this.$emit("change", newVal);
-    },
-
-    defaultSelected: {
-      handler() {
-        this.setItemActiveState();
-      },
-      deep: true,
-      immediate: true,
-    },
-  },
-};
-</script>
-<style lang="scss">
-.searchbutton {
-  button {
-    height: 69rpx;
-    line-height: 69rpx;
-  }
-}
-.searchinput {
-  .uni-easyinput__content-input {
-    height: 70rpx;
-  }
-}
-
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-  button {
-    &::after {
-      border: none;
-    }
-  }
-}
-</style>
-<style lang="scss" scoped>
-.selectlist {
-  border-bottom: 2rpx solid #cccccc;
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-}
-.chooseCompanyTags {
-  .title_1 {
-    font-size: 28rpx;
-    font-weight: 500;
-    color: #333333;
-    text-align: right;
-    height: 64rpx;
-    line-height: 64rpx;
-  }
-  .title_2 {
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-    height: 64rpx;
-    line-height: 64rpx;
-    text-align: left;
-  }
-  .title_3 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-  }
-  .cell_1 {
-    float: left;
-    width: 10%;
-  }
-  .checkbox {
-    border: 1px solid #cccccc;
-    border-radius: 4rpx  4rpx  4rpx  4rpx;
-    height: 30rpx;
-    width: 30rpx;
-  }
-  .cell_2 {
-    float: left;
-    width: 90%;
-
-    img {
-      height: 60rpx;
-      width: 60rpx;
-      float: right;
-      margin: 96rpx 0rpx 94rpx 0;
-    }
-  }
-
-  .btn {
-    width: 40%;
-    height: 90rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    float: left;
-  }
-  .jichuback {
-    width: calc(100% - 64rpx);
-    margin: 32rpx;
-    background: white;
-    border-bottom: 2rpx solid #cccccc;
-  }
-  .tags_type {
-    width: calc(100% - 64rpx);
-    margin: 16rpx;
-  }
-}
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-  z-index: 1000;
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.select-container {
-  width: 100vw;
-  height: 100vh;
-  position: fixed;
-  left: 0;
-  top: 0;
-  z-index: 999;
-  $paddingLR: 18rpx;
-  .mask {
-    width: 100%;
-    height: 100%;
-    background-color: $uni-bg-color-mask;
-    opacity: 0;
-    transition: opacity 0.3s;
-    &.mask-show {
-      opacity: 1;
-    }
-  }
-  // 选择器内容区域
-  .select-box {
-    width: 100%;
-    position: absolute;
-    bottom: 0;
-    left: 0;
-    transform: translate3d(0px, 100%, 0px);
-    background-color: $uni-bg-color;
-    transition: all 0.3s;
-    &.select-box-show {
-      transform: translateZ(0);
-    }
-    .header {
-      display: flex;
-      box-sizing: border-box;
-      width: 100%;
-      justify-content: space-between;
-      border-bottom: 1px solid $uni-border-color;
-      line-height: 76rpx;
-      font-size: 30rpx;
-      padding: 0 $paddingLR;
-      .cancel {
-        color: $uni-text-color-grey;
-      }
-      .all {
-        .all-active {
-          &::after {
-            display: inline-block;
-            content: "✔";
-            padding-left: 8rpx;
-          }
-        }
-      }
-      .confirm {
-        color: $uni-color-primary;
-      }
-    }
-    .body-warp {
-      width: 100%;
-      height: 30vh;
-      box-sizing: border-box;
-      padding: 20rpx $paddingLR;
-    }
-    .body {
-      width: 96%;
-      height: 70%;
-      overflow-y: auto;
-      padding: 2%;
-      .empty-tips {
-        margin-top: 25%;
-        text-align: center;
-        font-size: 26rpx;
-        color: $uni-color-error;
-      }
-    }
-  }
-}
-</style>

+ 0 - 243
pages/subPackages/companyHouse/companyHouse.vue

@@ -1,243 +0,0 @@
-<template>
-  <div class="companyhouse">
-    <div class="searchbox">
-      <van-row>
-        <van-col :span="22">
-          <uni-search-bar
-            placeholder="请输入公司名称"
-            @confirm="confirm"
-            clearButton="none"
-            cancelButton="none"
-            v-model="search.qymc"
-          ></uni-search-bar>
-        </van-col>
-        <van-col :span="2">
-          <img
-            @click="jumpAddCompanyPage()"
-            src="../../../static/add_company.png"
-            style="height: 50rpx; width: 50rpx; margin-top: 25rpx"
-            alt=""
-          />
-        </van-col>
-      </van-row>
-    </div>
-    <van-tabs :active="active" @change="onChange">
-      <van-tab title="全部" :name="null"></van-tab>
-      <van-tab title="在园" :name="1"></van-tab>
-      <van-tab title="挂靠" :name="2"></van-tab>
-      <van-tab title="异地生产" :name="3"></van-tab>
-      <van-tab title="飞地" :name="4"></van-tab>
-    </van-tabs>
-    <div style="display: flex; background: white; padding: 0rpx 16rpx">
-      <uni-data-checkbox
-        v-model="entryArray"
-        mode="tag"
-        :multiple="true"
-        :localdata="dic_SelectList.SETTLE_IN_STATUS"
-        selectedTextColor="#1D18BC"
-        selectedColor="rgba(29,24,188,0.05);"
-        @change="getCompanyList"
-      >
-      </uni-data-checkbox>
-    </div>
-    <div class="list">
-      <div v-if="companyList.length != 0">
-        <div class="list-row" v-for="(item, index) in companyList" :key="index">
-          <div class="cell_1 width90">
-            <div class="width70 height44rpx mb8rpx float_left">
-              <div class="first_title chaochuyincang">{{ item.qymc }}</div>
-            </div>
-            <div class="width30 height44rpx mb8rpx float_left">
-              <div class="roomstatus1 txt_center" style="font-size: 24rpx">
-                {{ getDicType(item.settleInType) }}
-              </div>
-            </div>
-            <div class="width100 height40rpx mb8rpx clear_both">
-              <div
-                class="second_title width50 height40rpx float_left"
-                style="
-                  overflow: hidden;
-                  text-overflow: ellipsis;
-                  white-space: nowrap;
-                "
-              >
-                所属楼盘:{{
-                  item.area == null || !item.area ? "未知" : item.area
-                }}
-              </div>
-              <div class="second_title_1 width50 height40rpx float_left">
-                注册资本:{{ !item.zczj ? "暂无" : item.zczj + "万" }}
-              </div>
-            </div>
-            <div
-              class="width100 height28rpx font24rpx fontcolor251FCA chaochuyincang"
-            >
-              {{ item.qybq == null || !item.qybq ? "暂无标签" : item.qybq }}
-            </div>
-          </div>
-          <div class="cell_3 width10" @click="jumpPage(item.id)">
-            <img src="../../../static/mine/youjiantou.png" alt="" />
-          </div>
-        </div>
-      </div>
-      <div v-else>
-        <van-empty
-          class="disblock marginauto"
-          style="background: white"
-          description="暂无数据"
-        />
-      </div>
-    </div>
-  </div>
-</template>
-  
-  <script>
-import { listVo, getByCodes, getUserLocalStorageInfo } from "@/js_sdk/http";
-import vanEmpty from "../../../wxcomponents/weapp/dist/empty/index";
-
-export default {
-  components: {
-    vanEmpty,
-  },
-  data() {
-    return {
-      entryArray: [],
-      dic_key: ["MNP_BUILDING_TYPE", "SETTLE_IN_STATUS"],
-      dic_SelectList: {},
-      active: 0,
-      form: {
-        entryStatus: [],
-      },
-      statusList: [
-        { label: "全部", value: null },
-        { label: "在园", value: "1" },
-        { label: "挂靠", value: "2" },
-        { label: "异地生产", value: "3" },
-        { label: "飞地", value: "4" },
-      ],
-      companyList: [],
-      search: {
-        pageSize: 10,
-        userId: "",
-        pageNum: 1,
-      },
-    };
-  },
-  onShow() {
-    this.search.userId = getUserLocalStorageInfo().user.id;
-    this.getByCodes();
-    this.getCompanyList();
-  },
-  methods: {
-    async getMoreListData() {
-      let that = this;
-
-      that.search.pageNum = that.search.pageNum + 1;
-      let list = await listVo(that.search);
-
-      if (list.rows == 0) {
-        that.$showToast("没有更多数据了");
-      } else {
-        list.rows.forEach((e) => {
-          that.companyList.push(e);
-        });
-      }
-    },
-    onReachBottom() {
-      this.getMoreListData();
-    }, //下拉执行的时候触发 (下拉刷新)
-    onChange(e) {
-      this.search.settleInType = e.detail.name == null ? "" : e.detail.name;
-      this.getCompanyList();
-    },
-    getDicType(value) {
-      if (this.dic_SelectList.MNP_BUILDING_TYPE) {
-        let MNP_BUILDING_TYPE = this.dic_SelectList.MNP_BUILDING_TYPE;
-        let index = MNP_BUILDING_TYPE.findIndex((e) => e.value == value);
-
-        if (index != -1) return MNP_BUILDING_TYPE[index].label;
-        else return "暂无";
-      }
-    },
-    async getByCodes() {
-      this.search.pageNum = 1;
-      let data = await getByCodes(JSON.stringify(this.dic_key));
-      this.dic_SelectList = this.$common.handleDicList(data);
-      this.dic_SelectList.SETTLE_IN_STATUS =
-        this.dic_SelectList.SETTLE_IN_STATUS.map((e) => {
-          return {
-            text: e.label,
-            value: e.value,
-          };
-        });
-    },
-    async getCompanyList() {
-      this.search.entryStatus = this.entryArray.toString();
-      this.search.pageSize = 10;
-      this.search.pageNum = 1;
-      let list = await listVo(this.search);
-
-      this.companyList = list.rows;
-    },
-    jumpAddCompanyPage() {
-      uni.navigateTo({
-        url: "/pages/subPackages/addCompany/addCompany",
-      });
-    },
-    blur(e) {},
-    focus(e) {
-      //   pages / subPackages / merchants / merchants;
-    },
-    input(e) {},
-    cancel(e) {},
-    change(e) {},
-    clear(e) {},
-    confirm(e) {
-      this.getCompanyList();
-    },
-    jumpPage(e) {
-      uni.navigateTo({
-        url: "/pages/subPackages/companyDetails/companyDetails?id=" + e,
-      });
-    },
-  },
-};
-</script>
-  
-  
-  <style lang="scss">
-.searchbox {
-  display: block;
-  background: white;
-}
-.chaochuyincang {
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-}
-.labelcolmt26 {
-  input {
-    font-size: 24rpx;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-    border: 2rpx solid #cccccc;
-    text-align: center;
-  }
-  .van-col {
-    margin-top: 26rpx !important;
-  }
-
-  label {
-    color: #333333;
-    font-size: 30rpx;
-    margin: 0;
-    margin-top: 0 !important;
-  }
-
-  .uni-data-checklist {
-    margin-top: -10rpx !important;
-  }
-}
-</style>
-  
-  
-  

+ 0 - 143
pages/subPackages/companyTagsDelete/componets/chooseTime.vue

@@ -1,143 +0,0 @@
-<template>
-  <van-popup
-    :z-index="1000"
-    :show="show"
-    @close="onClose"
-    position="bottom"
-    round
-    class="chosseTime"
-  >
-    <div class="vanpoup_1">
-      <div class="choostimetitle">有效期选择</div>
-
-      <div
-        class="choostimetitle"
-        style="color: #333333; margin-top: 32rpx; border: none"
-      >
-        标签开始生效年月
-      </div>
-      <picker
-        mode="date"
-        :value="form.effectiveDate"
-        fields="month"
-        @change="bindDateChange"
-      >
-        <input
-          disabled="true"
-          class="pickerclass"
-          v-model="form.effectiveDate"
-          placeholder="请选择月份"
-        />
-      </picker>
-      <div style="margin-top: 16rpx; width: 100%">
-        <van-button type="default" class="button100" @click="closeDialog()"
-          >取消</van-button
-        >
-        <van-button
-          type="info"
-          class="button100"
-          custom-class="userinfobtn"
-          @click="pushIsCheckItem()"
-          >确定</van-button
-        >
-      </div>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  data() {
-    return {
-      form: {
-        effectiveDate: "",
-        checkIndex: null,
-      },
-      checkIndex: null,
-      show: false,
-      isSelectedList: [],
-    };
-  },
-  methods: {
-    closeDialog() {
-      this.show = false;
-    },
-    pushIsCheckItem() {
-      if (this.form.effectiveDate == "") {
-        this.$showToast("该标签需要效期,请选择");
-      } else {
-        this.$emit("pushIsCheckItem", this.form);
-        this.show = false;
-      }
-    },
-    bindDateChange(event) {
-      this.form.effectiveDate = event.detail.value;
-      this.$forceUpdate();
-    },
-    cancel() {
-      this.show = false;
-    },
-    onOpen(item, index) {
-      this.form = { ...item };
-      this.form.effectiveDate = "";
-      this.form.checkIndex = index;
-      this.show = true;
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style lang="scss">
-.button100 {
-  button {
-    width: 100% !important;
-    margin-top: 32rpx;
-  }
-  .van-button--info {
-  }
-}
-.userinfobtn {
-  background: #1d18bc !important;
-  border: none;
-}
-.chosseTime {
-  .choostimetitle {
-    padding-bottom: 32rpx;
-    color: #1d18bc;
-    font-size: 30rpx;
-    border-bottom: 2px solid #cccccc;
-  }
-  .vanpoup_1 {
-    width: 100%;
-    width: calc(100% - 128rpx);
-
-    padding: 64rpx;
-  }
-  .vanpoup_1_1 {
-    width: 100%;
-    border-bottom: 2rpx solid #cccccc;
-    height: 104rpx;
-    line-height: 104rpx;
-  }
-}
-</style>

+ 0 - 98
pages/subPackages/companyTagsDelete/componets/isSelectedTags.vue

@@ -1,98 +0,0 @@
-<template>
-  <van-popup :show="show" @close="onClose" position="bottom" round>
-    <div class="vanpoup_1">
-      <div style="display: flex">
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333"
-            >已选择({{ isSelectedList.length }})</span
-          >
-          <span style="float: right; color: #1d18bc; font-size: 30rpx">
-            清空</span
-          >
-        </div>
-      </div>
-      <div
-        style="display: flex"
-        v-for="(item, index) in isSelectedList"
-        :key="index"
-      >
-        <div class="vanpoup_1_1">
-          <span style="font-size: 30rpx; color: #333333">
-            {{ item.tagName }}
-            {{ !item.effectiveDate ? "" : item.effectiveDate }}
-          </span>
-
-          <span
-            @click="spiliceIsSelectedList(item, index)"
-            style="float: right; color: #1d18bc; font-size: 30rpx"
-          >
-            <van-icon name="cross"
-          /></span>
-        </div>
-      </div>
-    </div>
-  </van-popup>
-</template>
-  
-  <script>
-import vanPopup from "../../../../wxcomponents/weapp/dist/popup/index";
-import vanDatetimePicker from "../../../../wxcomponents/weapp/dist/datetime-picker/index";
-export default {
-  components: {
-    vanPopup,
-    vanDatetimePicker,
-  },
-  props: {
-    isSelectedList: {
-      type: Array,
-      default: [],
-    },
-  },
-  data() {
-    return {
-      show: false,
-    };
-  },
-  methods: {
-    cancel() {
-      this.show = false;
-    },
-    onOpen(e) {
-      this.show = true;
-    },
-    spiliceIsSelectedList(item, index) {
-      this.$emit("spiliceIsSelectedList", item, index);
-    },
-    formatTime(date) {
-      date = new Date(date);
-      var year = date.getFullYear();
-      var month = date.getMonth() + 1;
-      var day = date.getDate();
-      return [year, month, day].map(this.formatNumber).join("/");
-    },
-
-    onClose() {
-      this.show = false;
-    },
-    confirm1(value) {
-      //   this.currentDate = event.detail;
-    },
-  },
-};
-</script>
-  
-  <style>
-.vanpoup_1 {
-  height: 50vh;
-  width: 100%;
-  width: calc(100% - 128rpx);
-  margin-bottom: 74rpx;
-  padding: 64rpx;
-}
-.vanpoup_1_1 {
-  width: 100%;
-  border-bottom: 2rpx solid #cccccc;
-  height: 104rpx;
-  line-height: 104rpx;
-}
-</style>

+ 0 - 191
pages/subPackages/companyTagsDelete/index.vue

@@ -1,191 +0,0 @@
-<template>
-  <div class="companyTagsDelete">
-    <div class="jichuback">
-      <div
-        class="isSelectedList"
-        v-if="tagsList.length != 0"
-        v-for="(item, index) in tagsList"
-        :key="index"
-      >
-        <div class="cell_2">
-          <div class="title_1">{{ item.tagName }}</div>
-          <div class="title_2">
-            效期:{{ item.effectiveDate == null ? "无" : item.effectiveDate }}
-          </div>
-          <div class="title_2">
-            有无效期:{{ item.isEffective == 1 ? "有" : "无" }}
-          </div>
-          <div class="title_3">
-            标签说明:{{
-              item.remark == "null" || !item.remark ? "暂无说明" : item.remark
-            }}
-          </div>
-        </div>
-        <div class="cell_1">
-          <van-icon
-            @click="tgasSpilice(index)"
-            name="delete-o"
-            style="
-              color: #1d18bc;
-              line-height: 89rpx;
-              margin: 52rpx 0;
-              font-size: 36rpx;
-              float: right;
-            "
-          />
-        </div>
-      </div>
-      <van-empty
-        v-if="tagsList.length == 0"
-        class="disblock marginauto"
-        style="background: white"
-        description="暂无数据"
-      />
-    </div>
-  </div>
-</template>
-
-<script>
-const form = {
-  groupIds: "",
-  id: "",
-};
-import { findCompanyTags, removeTagsBind } from "@/js_sdk/http";
-export default {
-  data() {
-    return {
-      isSelectedList: [],
-      form: { ...form },
-      tagsList: [],
-      yuanqu_loacldata: [
-        { value: 1, text: "通用属性" },
-        { value: 2, text: "商务属性" },
-        { value: 3, text: "科技属性" },
-        { value: 4, text: "规模属性" },
-        { value: 5, text: "人才属性" },
-        { value: 6, text: "其他属性" },
-      ],
-    };
-  },
-
-  watch: {},
-  onLoad(option) {
-    this.form.id = option.id;
-    this.findCompanyTags();
-  },
-
-  methods: {
-    async tgasSpilice(i) {
-      let that = this;
-      uni.showModal({
-        title: "提示",
-        content: "是否确认删除?",
-        cancelText: "取消", // 取消按钮的文字
-        confirmText: "确认", // 确认按钮的文字
-        showCancel: true, // 是否显示取消按钮,默认为 true
-        async success(res) {
-          if (res.confirm) {
-            let tagsList = [...that.tagsList];
-            tagsList.splice(i, 1);
-            let form = {
-              tagInfo: JSON.stringify(tagsList),
-              enterpriseId: that.form.id,
-            };
-            let data = await removeTagsBind(form);
-            that.$showToast("已删除");
-            that.findCompanyTags();
-          } else {
-          }
-        },
-      });
-    },
-    async findCompanyTags() {
-      let data = await findCompanyTags(this.form.id);
-      this.tagsList = data;
-    },
-  },
-};
-</script>
-
-<style lang="scss">
-.companyTagsDelete {
-  .title_1 {
-    margin-bottom: 12rpx;
-    font-size: 32rpx;
-
-    font-weight: 500;
-    color: #333333;
-  }
-  .title_2 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-
-    font-weight: 500;
-
-    color: #777777;
-  }
-  .title_3 {
-    margin-bottom: 12rpx;
-    font-size: 26rpx;
-    font-weight: 500;
-    color: #777777;
-  }
-  .cell_1 {
-    float: left;
-    width: 15%;
-  }
-  .checkbox {
-    border: 1px solid #cccccc;
-    border-radius: 4rpx  4rpx  4rpx  4rpx;
-    height: 30rpx;
-    width: 30rpx;
-  }
-  .cell_2 {
-    float: left;
-    width: 85%;
-
-    img {
-      height: 60rpx;
-      width: 60rpx;
-      float: right;
-      margin: 96rpx 0rpx 94rpx 0;
-    }
-  }
-  button::after {
-    border: none;
-  }
-  .btn-view {
-    width: 100%;
-    height: 100rpx;
-    padding: 20rpx 10%;
-    background-color: #ffffff;
-    position: fixed;
-    bottom: 0;
-    left: 0;
-    z-index: 1000;
-  }
-  .btn {
-    width: 40%;
-    height: 90rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    float: left;
-  }
-  .jichuback {
-    width: calc(100% - 32rpx);
-    margin: 16rpx;
-  }
-  .tags_type {
-    width: calc(100% - 64rpx);
-    margin: 16rpx;
-  }
-}
-.isSelectedList {
-  display: flex;
-  background: white;
-  padding: 32rpx;
-  margin: 32rpx;
-  border-bottom: 2rpx solid #cccccc;
-}
-</style>

+ 0 - 159
pages/subPackages/companyreport/companyreport.vue

@@ -1,159 +0,0 @@
-<template>
-  <div>
-    <van-tabs
-      class="companyreport"
-      :active="active"
-      @change="onChange"
-      title-active-color="#1D18BC"
-    >
-      <van-tab title="走访上报" class="housemange">
-        <go-report ref="goReport" @changeActive="changeActive" />
-      </van-tab>
-      <van-tab title="上报历史">
-        <report-history ref="reportHistory" />
-      </van-tab>
-    </van-tabs>
-  </div>
-</template>
-  
-  <script>
-import goReport from "./components/goReport.vue";
-import reportHistory from "./components/reportHistory.vue";
-import { findYuanQuList } from "@/js_sdk/http.js";
-const form = {
-  status: [],
-  chaoxiang: [],
-};
-export default {
-  components: {
-    goReport,
-    reportHistory,
-  },
-  data() {
-    return {
-      active: 0,
-    };
-  },
-  // onLoad: function (){
-  // 	this.$refs.findYuanQuList()
-  // },
-  onShow() {
-    this.$refs.reportHistory.getInterviewList();
-  },
-  methods: {
-    onLoadMore() {},
-    getChaoxiang() {},
-    getStatus() {},
-    changeActive() {
-      this.active = 1;
-      this.$refs.reportHistory.getInterviewList();
-    },
-    onChange(e) {
-      this.active = e.detail.name;
-    },
-  },
-  onPullDownRefresh: function () {
-    // 加载数据
-  },
-
-  onReachBottom() {
-    if (this.active == 1) {
-      this.$refs.reportHistory.getMoreList();
-    }
-    console.log("滑动到距离底部100px的时候触发,可以放 。。业务逻辑");
-  }, //下拉执行的时候触发 (下拉刷新)
-};
-</script>
-  
-  <style lang="scss">
-.gaisideshurukuang {
-  .uni-forms-item__label {
-    font-size: 26rpx !important;
-  }
-}
-.float_left {
-  float: left;
-}
-.chuzu_label {
-  width: 312rpx;
-  height: 36rpx;
-  font-size: 26rpx;
-  font-family: PingFang SC-Medium, PingFang SC;
-  font-weight: 500;
-  color: #333333;
-  line-height: 36rpx;
-}
-.chuzu_vlaue {
-  width: 86rpx;
-  font-size: 32rpx;
-  font-family: PingFang SC-Bold, PingFang SC;
-  font-weight: bold;
-  color: #ec7359;
-  line-height: 38rpx;
-}
-.mb14rpx {
-  margin-bottom: 14rpx;
-}
-.height34rpx {
-  height: 34rpx;
-}
-.height50rpx {
-  height: 50rpx;
-}
-.roomstatus {
-  height: 50rpx;
-  line-height: 50rpx;
-  font-size: 24rpx;
-  padding: 0rpx 16rpx;
-  float: left;
-  border-radius: 8rpx 8rpx 8rpx 8rpx;
-  font-family: PingFang SC-Medium, PingFang SC;
-  font-weight: 500;
-  color: #1d18bc;
-  border: 2rpx solid #1d18bc;
-  margin-left: 16rpx;
-}
-.roomstatus:first-child {
-  margin-left: 0;
-}
-.height50px {
-  height: 50rpx;
-}
-.mb8rpx {
-  margin-bottom: 8rpx;
-}
-.width100 {
-  width: 100%;
-}
-.height36rpx {
-  height: 36rpx;
-}
-.height40rpx {
-  height: 40rpx;
-}
-.height66rpx {
-  height: 66rpx;
-}
-.height44rpx {
-  height: 44rpx;
-}
-
-.total {
-  padding: 8rpx 32rpx 8rpx 0;
-  text-align: right;
-  background: #ffffff;
-}
-.gaisideshurukuang {
-  .is-input-border {
-    border-top: none;
-    border-left: none;
-    border-right: none;
-    border: none;
-    border-radius: 0;
-  }
-  .uni-forms-item {
-    border-bottom: 2rpx solid #cccccc;
-  }
-}
-</style>
-  

+ 0 - 437
pages/subPackages/companyreport/components/goReport.vue

@@ -1,437 +0,0 @@
-<template>
-  <div class="goreport">
-    <div class="form gaisideshurukuang">
-      <uni-forms
-        ref="baseForm"
-        style="font-size: 26rpx"
-        :modelValue="form"
-        label-width="170rpx"
-      >
-        <uni-forms-item
-          label="走访公司"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div
-            @click="chosseAboutCompany()"
-            style="height: 73rpx; line-height: 73rpx"
-          >
-            {{
-              !companyAllList[form.companyIndex].label
-                ? "请选择走访公司"
-                : companyAllList[form.companyIndex].label
-            }}
-          </div>
-        </uni-forms-item>
-        <uni-forms-item
-          label="走访时间:"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="line-height: 73rpx">
-            <!-- <picker
-              style="float: left; width: 100%; height: 40rpx; color: #777"
-              mode="time"
-              :value="form.interviewTime"
-              @change="getInterviewTime"
-            >
-              {{ !form.interviewTime ? "请选择走访时间" : form.interviewTime }}
-            </picker> -->
-            <uni-datetime-picker
-              type="datetime"
-              v-model="form.interviewTime"
-              :border="false"
-            />
-          </div>
-        </uni-forms-item>
-
-        <uni-forms-item
-          label="走访类型:"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx">
-            <picker
-              style="float: left; width: 100%; height: 40rpx; color: #777"
-              :range="dic_SelectList.interviewType"
-              :value="0"
-              @change="bindPickerChange"
-              range-key="label"
-            >
-              {{
-                !form.interviewType
-                  ? "请选择"
-                  : dic_SelectList.interviewType[form.interviewTypeIndex].label
-              }}
-            </picker>
-          </div>
-        </uni-forms-item>
-        <uni-forms-item
-          label="是否需要处理"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx">
-            <uni-data-checkbox
-              v-model="form.isStatus"
-              :localdata="range"
-              @change="change"
-            ></uni-data-checkbox>
-          </div>
-        </uni-forms-item>
-      </uni-forms>
-    </div>
-
-    <div class="form" style="margin-bottom: 146rpx">
-      <van-row>
-        <van-col :span="24"> 走访记录 </van-col>
-        <van-col :span="24">
-          <div class="margint16rpx">
-            <uni-easyinput
-              type="textarea"
-              inputBorder
-              class="textarea_info"
-              style="background: #f9f9f9; margin-top: 16rpx"
-              v-model="form.interviewRecord"
-              placeholder="请输入"
-            />
-          </div>
-        </van-col>
-      </van-row>
-    </div>
-    <van-popup :show="show" bind:close="onClose" round position="bottom">
-      <div style="display: flex; justify-content: space-between">
-        <div style="margin: 32rpx" @click="closePopup()">取消</div>
-        <div style="margin: 32rpx" @click="getSelectValue()">确认</div>
-      </div>
-      <uni-easyinput
-        v-model="companyName"
-        placeholder="请输入内容"
-      ></uni-easyinput>
-      <picker-view
-        indicator-style="height: 50px;"
-        style="width: 100%; height: 300px"
-        @change="getRowValue"
-        :value="value"
-      >
-        <picker-view-column>
-          <view
-            v-for="(item, index) in filtedCompanyAllList()"
-            :key="index"
-            style="line-height: 50px; text-align: center"
-            >{{ item.label }}</view
-          >
-        </picker-view-column>
-      </picker-view>
-    </van-popup>
-    <view class="btn-view">
-      <button class="btn" @click="takeParamsGoBack(0)">保存</button>
-      <button
-        class="btn"
-        @click="takeParamsGoBack(1)"
-        style="margin-left: 10rpx"
-      >
-        添加
-      </button>
-    </view>
-  </div>
-</template>
-
-  <script>
-import multipleSelect from "../../../subPackages/components/momo-multipleSelect/momo-multipleSelect";
-
-import {
-  getByCodes,
-  addInterview,
-  getBySaveStatus,
-  editInterview,
-  getCompanyAll,
-} from "@/js_sdk/http.js";
-import vanRow from "../../../../wxcomponents/weapp/dist/row";
-import vanCol from "../../../../wxcomponents/weapp/dist/col";
-
-// import { findYuanQuList } from "@/js_sdk/http.js";
-const form = {
-  id: null,
-  isStatus: null,
-  interviewTime: null,
-  interviewType: null,
-  interviewTypeIndex: null,
-  companyId: null,
-  companyIndex: null,
-  projectType: "",
-  interviewRecord: "",
-  associationCompanyString: [],
-};
-export default {
-  components: {
-    vanRow,
-    vanCol,
-    multipleSelect,
-  },
-  data() {
-    return {
-      companyName: "",
-      value: 0,
-      isSelectedIndex: null,
-      isStatus: 2,
-      range: [
-        { value: 2, text: "是" },
-        { value: 1, text: "否" },
-      ],
-      defaultSelected: [],
-      dic_key: ["interviewType"],
-      dic_SelectList: {},
-      companyIndex: null,
-      companyAllList: [],
-      show: false,
-      active: 0,
-      form: { ...form },
-      index: 0,
-    };
-  },
-  computed: {},
-  mounted() {
-    this.getCompanyAll();
-    this.getByCodes();
-  },
-  methods: {
-    closePopup() {
-      this.show = false;
-      this.form.companyIndex = null;
-      this.form.companyId = null;
-    },
-    filtedCompanyAllList() {
-      let companyAllList;
-      if (this.companyName && this.companyName.length > 0) {
-        companyAllList = this.companyAllList.filter((e) =>
-          e.label.includes(this.companyName)
-        );
-        if (companyAllList.length > 0 && companyAllList[0].value) {
-          let index = this.companyAllList.findIndex(
-            (e) => e.value == companyAllList[0].value
-          );
-          this.form.companyIndex = index;
-          this.form.companyId =
-            this.companyAllList[this.form.companyIndex].value;
-        } else {
-          this.form.companyIndex = null;
-          this.form.companyId = null;
-        }
-      } else {
-        companyAllList = this.companyAllList;
-      }
-      console.log(companyAllList);
-      return companyAllList;
-    },
-    getRowValue(e) {
-      this.isSelectedIndex = e.detail.value[0];
-    },
-    getSelectValue() {
-      console.log(this.value);
-      if (this.isSelectedIndex == null) {
-        this.form.companyIndex = 0;
-        this.form.companyId = this.companyAllList[0].value;
-      } else {
-        this.form.companyIndex = this.isSelectedIndex;
-        this.form.companyId = this.companyAllList[this.form.companyIndex].value;
-      }
-      this.$forceUpdate();
-      this.show = false;
-    },
-    changeLog(e) {},
-    async getBySaveStatus() {
-      const token = uni.getStorageSync("laocui_user_info");
-      let data = await getBySaveStatus(JSON.parse(token).user.id);
-      this.form.id = data.id ? data.id : null;
-      this.form.isStatus = Number(data.isStatus);
-      this.form.interviewTime = data.interviewTime ? data.interviewTime : "";
-      this.form.interviewRecord = data.interviewRecord
-        ? data.interviewRecord
-        : "";
-      if (
-        data.id &&
-        data.interviewType != null &&
-        data.interviewType != "null"
-      ) {
-        this.getInterviewLableByApiList(data);
-      }
-      if (data.id && data.companyId != null) {
-        this.getCompanyIdByApiList(data);
-      }
-    },
-    getCompanyIdByApiList(params) {
-      this.form.companyId = params.companyId;
-      console.log(
-        "this.companyAllListthis.companyAllListthis.companyAllList",
-        this.companyAllList
-      );
-      let companyIndex = this.companyAllList.findIndex(
-        (e) => e.value == params.companyId
-      );
-      this.form.companyIndex = companyIndex;
-    },
-    getInterviewLableByApiList(params) {
-      let interviewTypeIndex = this.dic_SelectList.interviewType.findIndex(
-        (e) => e.value == params.interviewType
-      );
-      this.form.interviewType =
-        this.dic_SelectList.interviewType[interviewTypeIndex].value;
-      this.form.interviewTypeIndex = interviewTypeIndex;
-    },
-    getInterviewTime(e) {
-      this.form.interviewTime = e.detail.value;
-    },
-    async takeParamsGoBack(e) {
-      const token = uni.getStorageSync("laocui_user_info");
-      let data;
-      if (e == 1) {
-        if (this.form.companyId == null) {
-          return this.$showToast("请选择走访公司");
-        }
-        if (this.form.interviewTime == null || this.form.interviewTime == "") {
-          return this.$showToast("请选择走访时间");
-        }
-        if (this.form.interviewType == null) {
-          return this.$showToast("请选择走访类型");
-        }
-        if (this.form.isStatus == null) {
-          return this.$showToast("请选择是否需要处理");
-        }
-      }
-
-      if (e == 0) {
-        data = await editInterview({
-          ...this.form,
-          status: e,
-          createdBy: JSON.parse(token).user.id,
-          InterviewUserId: JSON.parse(token).user.id,
-        });
-      } else {
-        data = await addInterview({
-          ...this.form,
-          status: e,
-          createdBy: JSON.parse(token).user.id,
-          InterviewUserId: JSON.parse(token).user.id,
-        });
-      }
-
-      if (data.code == 200) {
-        if (e == 1) {
-          this.$emit("changeActive");
-          this.$showToast("提交成功");
-          this.form = { ...form };
-        }
-        if (e == 0) {
-          this.$showToast("保存成功");
-        }
-      }
-    },
-    getCompany(e) {
-      this.form.companyIndex = e.detail.value;
-      this.form.companyId = this.companyAllList[e.detail.value].value;
-    },
-    chosseAboutCompany() {
-      this.show = true;
-      // this.$refs.popup.open('top')
-    },
-    async getCompanyAll() {
-      let companyAllList = await getCompanyAll();
-      this.companyAllList = companyAllList.map((e) => {
-        return {
-          label: e.qymc,
-          value: e.id,
-        };
-      });
-      this.getBySaveStatus();
-    },
-    async getByCodes() {
-      let data = await getByCodes(JSON.stringify(this.dic_key));
-      this.dic_SelectList = this.$common.handleDicList(data);
-      this.dic_SelectList.interviewType[0].id;
-    },
-    confirm(e) {
-      let associationCompanyString = [];
-      let associationCompany = [];
-      for (var p in e) {
-        associationCompanyString.push(e[p].label);
-        associationCompany.push(e[p].value);
-      }
-      this.form.associationCompanyString = associationCompanyString.join(",");
-      this.form.associationCompany = associationCompany.join(",");
-    },
-    bindPickerChange(e) {
-      this.form.interviewTypeIndex = e.detail.value;
-      this.form.interviewType =
-        this.dic_SelectList.interviewType[e.detail.value].value;
-    },
-  },
-  // onLoad: function (){
-  // 	this.$refs.findYuanQuList()
-  // },
-};
-</script>
-
-  <style lang="scss">
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-}
-.btn {
-  width: 40%;
-  height: 90rpx;
-  border-radius: 8rpx 8rpx 8rpx 8rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  color: white;
-  float: left;
-}
-.gaisideshurukuang {
-  font-size: 26rpx !important;
-  .is-input-border {
-    border-top: none !important;
-    border-left: none !important;
-    border-right: none !important;
-    border: none;
-    border-radius: 0 !important;
-  }
-  .uni-forms-item {
-    border-bottom: 2rpx solid #cccccc !important;
-    margin-top: 42rpx !important;
-    padding-bottom: 42rpx !important;
-  }
-  .uni-forms-item__content {
-    border-bottom: 2rpx solid #cccccc !important;
-  }
-}
-.goreport {
-  .textarea_info {
-    textarea {
-      background: #f9f9f9;
-    }
-  }
-  .form {
-    width: calc(100% - 128rpx);
-    margin: 32rpx;
-    background: #ffffff;
-    padding: 32rpx;
-
-    .label {
-      height: 53rpx;
-      line-height: 53rpx;
-    }
-    .is-input-border {
-      border-top: none !important;
-      border-left: none !important;
-      border-right: none !important;
-      border-radius: 0 !important;
-    }
-    .uni-forms-item {
-      border-bottom: 2rpx solid #cccccc !important;
-      margin-top: 42rpx !important;
-      padding-bottom: 42rpx !important;
-    }
-  }
-}
-</style>

+ 0 - 162
pages/subPackages/companyreport/components/handlereport.vue

@@ -1,162 +0,0 @@
-<template>
-  <van-popup :show="show" @close="onClose" round closeable>
-    <div class="height554rpx width622rpx allpd32rpx" style="margin-top: 70rpx">
-      <div class="width100 height35px marginb16 mt32rpx">
-        <div class="handlefont width20 float_left height35px l35pxheight">
-          处理人:
-        </div>
-        <div class="width80 float_left">
-          <uni-easyinput
-            :inputBorder="true"
-            v-model="form.handleUserName"
-            placeholder="请输入"
-          ></uni-easyinput>
-        </div>
-      </div>
-      <div class="width100 mb32rpx">
-        <div class="handlefont width100 mb32rpx">处理说明</div>
-        <div class="width100">
-          <uni-easyinput
-            v-model="form.handleResult"
-            autoHeight
-            type="textarea"
-            placeholder="请输入"
-          ></uni-easyinput>
-        </div>
-      </div>
-      <div class="width100">
-        <div class="button_row cancel_btn" @click="onClose()">取消</div>
-        <div class="button_row ok_btn" @click="dialogInputConfirm()">确认</div>
-      </div>
-    </div>
-  </van-popup>
-</template>
-
-<script>
-import vanPopup from "../../../../wxcomponents/weapp/dist/popup/index";
-import vanField from "../../../../wxcomponents/weapp/dist/field/index";
-import { editInterview } from "@/js_sdk/http.js";
-export default {
-  name: "handlereport",
-  data() {
-    return {
-      show: false,
-      form: {
-        name: "",
-        message: "",
-      },
-    };
-  },
-  components: {
-    vanPopup,
-    vanField,
-  },
-  methods: {
-    openDianlog(item) {
-      this.form = { ...item };
-      this.show = true;
-    },
-    onClose() {
-      this.show = false;
-    },
-    getNowDate() {
-      var date = new Date();
-      var sign2 = ":";
-      var year = date.getFullYear(); // 年
-      var month = date.getMonth() + 1; // 月
-      var day = date.getDate(); // 日
-      var hour = date.getHours(); // 时
-      var minutes = date.getMinutes(); // 分
-      var seconds = date.getSeconds(); //秒
-      var weekArr = [
-        "星期一",
-        "星期二",
-        "星期三",
-        "星期四",
-        "星期五",
-        "星期六",
-        "星期天",
-      ];
-      var week = weekArr[date.getDay()];
-      // 给一位数的数据前面加 “0”
-      if (month >= 1 && month <= 9) {
-        month = "0" + month;
-      }
-      if (day >= 0 && day <= 9) {
-        day = "0" + day;
-      }
-      if (hour >= 0 && hour <= 9) {
-        hour = "0" + hour;
-      }
-      if (minutes >= 0 && minutes <= 9) {
-        minutes = "0" + minutes;
-      }
-      if (seconds >= 0 && seconds <= 9) {
-        seconds = "0" + seconds;
-      }
-      return (
-        year +
-        "-" +
-        month +
-        "-" +
-        day +
-        " " +
-        hour +
-        sign2 +
-        minutes +
-        sign2 +
-        seconds
-      );
-    },
-    async dialogInputConfirm() {
-      if (!this.form.handleUserName || this.form.handleUserName.length == 0) {
-        this.$showToast("请填写处理人名称");
-        return;
-      }
-      if (!this.form.handleResult || this.form.handleResult.length == 0) {
-        this.$showToast("请填写处理说明");
-        return;
-      }
-      this.form.handleTime = this.getNowDate();
-      let data = await editInterview({ ...this.form });
-      if (data.code == 200) {
-        this.$showToast("登记完成");
-
-        this.show = false;
-        this.$emit("changeActive");
-      }
-    },
-  },
-};
-</script>
-
-<style scoped>
-.handlefont {
-  font-size: 28rpx;
-  font-family: Segoe UI-Regular, Segoe UI;
-  font-weight: 400;
-  color: #777777;
-}
-.button_row {
-  color: #ffffff;
-  background: #1d18bc;
-  width: 140rpx;
-  height: 50rpx;
-  border-radius: 8rpx 8rpx 8rpx 8rpx;
-  opacity: 1;
-  text-align: center;
-  line-height: 50rpx;
-  font-size: 24rpx;
-  border: 2rpx solid #1d18bc;
-}
-.cancel_btn {
-  position: absolute;
-  top: 545rpx;
-  left: 20rpx;
-}
-.ok_btn {
-  position: absolute;
-  right: 20rpx;
-  top: 545rpx;
-}
-</style>

+ 0 - 426
pages/subPackages/companyreport/components/reportDetails.vue

@@ -1,426 +0,0 @@
-<template>
-  <div class="goreport">
-    <div class="form gaisideshurukuang">
-      <uni-forms
-        ref="baseForm"
-        style="font-size: 26rpx"
-        :modelValue="form"
-        label-width="170rpx"
-      >
-        <uni-forms-item
-          label="走访公司"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div
-            @click="chosseAboutCompany()"
-            style="height: 73rpx; line-height: 73rpx"
-          >
-            <picker
-              style="float: left; width: 440rpx; height: 40rpx; color: #777"
-              @change="getCompany"
-              range-key="label"
-              :range="companyAllList"
-            >
-              {{
-                !form.companyId
-                  ? "请选择走访公司"
-                  : companyAllList[form.companyIndex].label
-              }}
-            </picker>
-          </div>
-        </uni-forms-item>
-        <uni-forms-item
-          label="走访时间:"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx">
-            <picker
-              style="float: left; width: 100%; height: 40rpx; color: #777"
-              mode="date"
-              :value="form.interviewTime"
-              @change="getInterviewTime"
-            >
-              {{ !form.interviewTime ? "请选择走访时间" : form.interviewTime }}
-            </picker>
-          </div>
-        </uni-forms-item>
-
-        <uni-forms-item
-          label="走访类型:"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx">
-            <picker
-              style="float: left; width: 100%; height: 40rpx; color: #777"
-              :range="dic_SelectList.interviewType"
-              :value="0"
-              @change="bindPickerChange"
-              range-key="label"
-            >
-              {{
-                !form.interviewType
-                  ? "请选择"
-                  : dic_SelectList.interviewType[form.interviewTypeIndex].label
-              }}
-            </picker>
-          </div>
-        </uni-forms-item>
-        <uni-forms-item
-          label="是否需要处理"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx; width: 100%">
-            <span style="color: #777" v-if="form.isStatus == 2">是</span>
-            <span style="color: #777" v-if="form.isStatus == 1">否</span>
-          </div>
-        </uni-forms-item>
-      </uni-forms>
-    </div>
-
-    <div class="form zoufangjilu" style="margin-bottom: 146rpx">
-      <van-row>
-        <van-col :span="24"> 走访记录 </van-col>
-        <van-col :span="24">
-          <div class="margint16rpx">
-            <uni-easyinput
-              type="textarea"
-              inputBorder
-              class="textarea_info"
-              style="margin-top: 16rpx"
-              v-model="form.interviewRecord"
-              placeholder="请输入"
-            />
-          </div>
-        </van-col>
-      </van-row>
-      <uni-forms
-        v-if="form.isStatus != 1"
-        ref="baseForm"
-        style="font-size: 26rpx"
-        :modelValue="form"
-        label-width="170rpx"
-      >
-        <uni-forms-item
-          label="处理人"
-          class="mt42rpx mb42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx; width: 100%">
-            <input
-              v-model="form.handleUserName"
-              style="
-                height: 73rpx;
-                line-height: 73rpx;
-                width: 100%;
-                color: #777;
-              "
-            />
-            <!-- <span style="color: #777">{{ form.handleUserName }}</span> -->
-          </div>
-        </uni-forms-item>
-        <div style="margin-top: 16rpx">
-          <van-row>
-            <van-col :span="24" style="margin-top: 15rpx"> 处理结果 </van-col>
-            <van-col :span="24">
-              <div class="margint16rpx">
-                <uni-easyinput
-                  type="textarea"
-                  inputBorder
-                  class="textarea_info"
-                  style="margin-top: 16rpx"
-                  v-model="form.handleResult"
-                  placeholder="请输入"
-                />
-              </div>
-            </van-col>
-          </van-row>
-        </div>
-
-        <uni-forms-item
-          label="处理时间"
-          class="mt42rpx pd42rpx border_bottom_ccc"
-        >
-          <div style="height: 73rpx; line-height: 73rpx; width: 100%">
-            <span style="color: #777">{{ form.handleTime }}</span>
-          </div>
-        </uni-forms-item>
-      </uni-forms>
-    </div>
-    <!-- <multiple-select
-        v-model="show"
-        model="false"
-        :all-show="false"
-        :data="companyAllList"
-        :default-selected="defaultSelected"
-        @confirm="confirm"
-      ></multiple-select> -->
-    <view class="btn-view">
-      <div class="btn" @click="dialogInputConfirm()" style="margin-left: 10rpx">
-        编辑完成
-      </div>
-    </view>
-  </div>
-</template>
-    
-    <script>
-import multipleSelect from "../../../subPackages/components/momo-multipleSelect/momo-multipleSelect";
-
-import {
-  getByCodes,
-  addInterview,
-  getBySaveStatus,
-  editInterview,
-  getCompanyAll,
-  getInterviewDetails,
-} from "@/js_sdk/http.js";
-import vanRow from "../../../../wxcomponents/weapp/dist/row";
-import vanCol from "../../../../wxcomponents/weapp/dist/col";
-
-// import { findYuanQuList } from "@/js_sdk/http.js";
-const form = {
-  id: null,
-  isStatus: null,
-  interviewTime: null,
-  interviewType: null,
-  interviewTypeIndex: null,
-  companyId: null,
-  companyIndex: null,
-  projectType: "",
-  interviewRecord: "",
-  associationCompanyString: [],
-};
-export default {
-  components: {
-    vanRow,
-    vanCol,
-    multipleSelect,
-  },
-  data() {
-    return {
-      id: "",
-      isStatus: 2,
-      range: [
-        { value: 2, text: "是" },
-        { value: 1, text: "否" },
-      ],
-      defaultSelected: [],
-      dic_key: ["interviewType"],
-      dic_SelectList: {},
-      companyIndex: null,
-      companyAllList: [],
-      defaultSelected: [],
-      show: false,
-      active: 0,
-      form: { ...form },
-      index: 0,
-    };
-  },
-  onLoad: function (option) {
-    this.getCompanyAll();
-    this.id = option.id; //打印出上个页面传递的参数。\
-    this.getByCodes();
-  },
-  methods: {
-    async dialogInputConfirm() {
-      let data = await editInterview({ ...this.form });
-      if (data.code == 200) {
-        this.$showToast("修改成功");
-        uni.navigateBack({});
-      }
-    },
-    async getInterviewDetails() {
-      let detail = await getInterviewDetails(this.id);
-      this.form = detail;
-      this.getCompanyIdByApiList({ companyId: detail.companyId });
-      this.getInterviewLableByApiList({
-        interviewType: this.form.interviewType,
-      });
-      this.form.isStatus = detail.isStatus;
-    },
-
-    getCompanyIdByApiList(params) {
-      this.form.companyId = params.companyId;
-
-      let companyIndex = this.companyAllList.findIndex(
-        (e) => e.value == params.companyId
-      );
-      this.form.companyIndex = companyIndex;
-    },
-    getInterviewLableByApiList(params) {
-      let interviewTypeIndex = this.dic_SelectList.interviewType.findIndex(
-        (e) => e.value == params.interviewType
-      );
-      this.form.interviewType =
-        this.dic_SelectList.interviewType[interviewTypeIndex].value;
-      this.form.interviewTypeIndex = interviewTypeIndex;
-    },
-    getInterviewTime(e) {
-      this.form.interviewTime = e.detail.value;
-    },
-    async takeParamsGoBack(e) {
-      const token = uni.getStorageSync("laocui_user_info");
-      let data;
-      if (this.form.id) {
-        data = await editInterview({
-          ...this.form,
-          status: e,
-          createdBy: JSON.parse(token).user.id,
-        });
-      } else {
-        if (this.form.companyId == null) {
-          return this.$showToast("请选择走访公司");
-        }
-        if (this.form.interviewTime == null || this.form.interviewTime == "") {
-          return this.$showToast("请选择走访时间");
-        }
-        if (this.form.interviewType == null) {
-          return this.$showToast("请选择走访类型");
-        }
-        if (this.form.isStatus == null) {
-          return this.$showToast("请选择是否需要处理");
-        }
-        data = await addInterview({
-          ...this.form,
-          status: e,
-          createdBy: JSON.parse(token).user.id,
-        });
-      }
-
-      if (data.code == 200) {
-        if (e == 1) {
-          this.$emit("changeActive");
-          this.$showToast("提交成功");
-          this.form = { ...form };
-        }
-        if (e == 0) {
-          this.$showToast("保存成功");
-        }
-      }
-    },
-    getCompany(e) {
-      this.form.companyIndex = e.detail.value;
-      this.form.companyId = this.companyAllList[e.detail.value].value;
-    },
-    chosseAboutCompany() {
-      this.show = true;
-    },
-    async getCompanyAll() {
-      let companyAllList = await getCompanyAll();
-      this.getInterviewDetails();
-      this.companyAllList = companyAllList.map((e) => {
-        return {
-          label: e.qymc,
-          value: e.id,
-        };
-      });
-    },
-    async getByCodes() {
-      let data = await getByCodes(JSON.stringify(this.dic_key));
-      this.dic_SelectList = this.$common.handleDicList(data);
-    },
-    confirm(e) {
-      let associationCompanyString = [];
-      let associationCompany = [];
-      for (var p in e) {
-        associationCompanyString.push(e[p].label);
-        associationCompany.push(e[p].value);
-      }
-      this.form.associationCompanyString = associationCompanyString.join(",");
-      this.form.associationCompany = associationCompany.join(",");
-    },
-    bindPickerChange(e) {
-      this.form.interviewTypeIndex = e.detail.value;
-      this.form.interviewType =
-        this.dic_SelectList.interviewType[e.detail.value].value;
-    },
-  },
-  // onLoad: function (){
-  // 	this.$refs.findYuanQuList()
-  // },
-};
-</script>
-    
-    <style lang="scss">
-.gaisideshurukuang {
-  .btn-view {
-    width: 100%;
-    height: 100rpx;
-    padding: 20rpx 10%;
-    background-color: #ffffff;
-    position: fixed;
-    bottom: 0;
-    text-align: center;
-    left: 0;
-  }
-  .btn {
-    width: 80%;
-    height: 90rpx;
-    border-radius: 50rpx 50rpx 50rpx 50rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    text-align: center;
-    color: white;
-  }
-  font-size: 26rpx !important;
-  .is-input-border {
-    border-top: none !important;
-    border-left: none !important;
-    border-right: none !important;
-    border: none;
-    border-radius: 0 !important;
-  }
-  .uni-forms-item {
-    margin-bottom: 0px;
-    border-bottom: 2rpx solid #cccccc !important;
-  }
-}
-.btn-view {
-  width: 100%;
-  height: 100rpx;
-  padding: 20rpx 10%;
-  background-color: #ffffff;
-  position: fixed;
-  bottom: 0;
-  left: 0;
-}
-.btn {
-  width: 80%;
-  height: 90rpx;
-  border-radius: 50rpx 50rpx 50rpx 50rpx;
-  background: #1d18bc;
-  line-height: 90rpx;
-  text-align: center;
-  color: white;
-}
-.goreport {
-  .uni-forms-item {
-    margin-bottom: 0px;
-    border-bottom: 2rpx solid #cccccc !important;
-  }
-  .textarea_info {
-    textarea {
-      background: #f9f9f9;
-    }
-  }
-  .is-disabled {
-    background: white !important;
-    color: #777;
-  }
-  .form {
-    width: calc(100% - 128rpx);
-    margin: 32rpx;
-    background: #ffffff;
-    padding: 32rpx;
-
-    .label {
-      height: 53rpx;
-      line-height: 53rpx;
-    }
-    .is-input-border {
-    }
-    .uni-forms-item {
-      border-bottom: 2rpx solid #cccccc !important;
-    }
-  }
-}
-</style>
-    

+ 0 - 280
pages/subPackages/companyreport/components/reportHistory.vue

@@ -1,280 +0,0 @@
-<template>
-  <div class="reportHistory">
-    <div class="list">
-      <div
-        class="list-row"
-        v-for="(item, index) in pageList"
-        :key="index"
-        @click="jumpDetailsPage(item, item.id)"
-      >
-        <div class="cell_1 width100">
-          <div class="width100 height44rpx mb8rpx">
-            <div class="report_title" @click="jumpDetailsPage(item, item.id)">
-              走访类型:
-
-              {{ getDicType(item.interviewType) }}
-            </div>
-          </div>
-          <div class="width100 height40rpx mb8rpx">
-            <div class="second_title height40rpx width100">
-              是否需要处理:
-              {{ item.isStatus == "1" ? "否" : "是" }}
-            </div>
-          </div>
-          <div class="width100 height40rpx mb8rpx border_bottom_f5f5f5">
-            <div class="second_title height40rpx" style="width: 100%">
-              公司名称:{{ item.companyName ? item.companyName : "未知企业" }}
-            </div>
-          </div>
-          <div
-            class="width60 float_left list_date height40rpx lh40rpx margint8rpx"
-          >
-            {{ item.interviewTime }}
-          </div>
-          <div
-            class="width40 float_left margint8rpx"
-            v-if="
-              !(
-                (item.handleUserName || item.handleUserName == 'null') &&
-                (item.handleResult || item.handleResult == 'null')
-              )
-            "
-          >
-            <van-button
-              color="#1D18BC"
-              class="colorfffff height40rpx float_right"
-              size="mini"
-              v-if="item.isStatus == 2"
-              @click="openHandleReportDialog(item)"
-            >
-              处理登记
-            </van-button>
-          </div>
-        </div>
-      </div>
-      <div class="list-row" v-if="pageList.length == 0">
-        <van-empty
-          class="disblock marginauto"
-          style="background: white"
-          description="暂无数据"
-        />
-      </div>
-      <handle-report ref="handleReport" @changeActive="getInterviewList()" />
-    </div>
-  </div>
-</template>
-
-<script>
-import vanTab from "../../../../wxcomponents/weapp/dist/tab/index";
-import vanTabs from "../../../../wxcomponents/weapp/dist/tabs/index";
-import vanButton from "../../../../wxcomponents/weapp/dist/button/index";
-import vanEmpty from "../../../../wxcomponents/weapp/dist/empty/index";
-import vanDivider from "../../../../wxcomponents/weapp/dist/divider/index";
-import handleReport from "./handlereport.vue";
-import { getInterviewList, getByCodes } from "@/js_sdk/http.js";
-const form = {
-  status: [],
-  chaoxiang: [],
-  statusArray: [],
-  chaoxiangArray: [],
-  zaitiTypeArray: [],
-  roomSize1: "",
-  roomSize2: "",
-  guidePrice1: "",
-  guidePrice2: "",
-  loupan_value: null,
-  groupIds: null,
-  pageNum: 1,
-  dic_key: ["interviewType"],
-  dic_SelectList: {},
-  pageSize: 10,
-  total: 0,
-  mnpBuildingIds: "",
-};
-
-export default {
-  components: {
-    vanTab,
-    vanTabs,
-    vanEmpty,
-    vanDivider,
-    vanButton,
-    handleReport,
-  },
-  name: "reportHistoryr.vue",
-  data() {
-    return {
-      dic_key: ["interviewType"],
-      dic_SelectList: {},
-      pageList: [],
-      search: {
-        pageSize: 10,
-        pageNum: 1,
-      },
-    };
-  },
-  mounted() {
-    this.getInterviewList();
-    this.getByCodes();
-
-    // this.findYuanQuList()
-    // this.getByCodes()
-  },
-  onLoad() {
-    this.getInterviewList();
-  },
-  methods: {
-    jumpDetailsPage(item, id) {
-      if (item.isStatus == 2 && !item.handleUserName && !item.handleResult) {
-        return;
-      }
-      uni.navigateTo({
-        url:
-          "/pages/subPackages/companyreport/components/reportDetails?id=" + id,
-      });
-    },
-    changeActive() {
-      this.$emit("changeActive");
-      const token = uni.getStorageSync("laocui_user_info");
-      this.search.createdBy = JSON.parse(token).user.id;
-      this.getInterviewList();
-      this.getByCodes();
-    },
-    async getByCodes() {
-      let data = await getByCodes(JSON.stringify(this.dic_key));
-      this.dic_SelectList = this.$common.handleDicList(data);
-      this.dic_SelectList.interviewType[0].id;
-    },
-    getDicType(value) {
-      if (!value) return;
-
-      let interviewType = this.dic_SelectList.interviewType;
-      console.log(interviewType);
-      let index = interviewType.findIndex((e) => e.value == value);
-      if (index != -1) return interviewType[index].label;
-    },
-    async getMoreListData() {
-      let that = this;
-
-      that.search.pageNum = that.search.pageNum + 1;
-      let list = await getInterviewList(that.search);
-
-      if (list.rows == 0) {
-        that.$showToast("没有更多数据了");
-      } else {
-        list.rows.forEach((e) => {
-          that.pageList.push(e);
-        });
-      }
-    },
-
-    async getInterviewList() {
-      const token = uni.getStorageSync("laocui_user_info");
-      this.search.createdBy = JSON.parse(token).user.id;
-      this.search.pageNum = 1;
-      this.search.pageSize = 10;
-      this.search.total = 0;
-      let data = await getInterviewList(this.search);
-      this.pageList = data.rows;
-    },
-    openHandleReportDialog(item) {
-      this.$refs.handleReport.openDianlog(item);
-    },
-  },
-};
-</script>
-
-<style lang="scss">
-/deep/.van-cell {
-  padding: 0 0 0 28rpx !important;
-}
-.inputClass {
-  padding: 0 0 0 28rpx !important;
-}
-.reportHistory {
-  .search_btn {
-    margin-left: 18rpx;
-    width: calc(100% - 18rpx);
-    height: 60rpx;
-  }
-  .reset_btn {
-    color: #2628a9 !important;
-    width: 100%;
-    height: 60rpx;
-  }
-  .list-row {
-    width: calc(100% - 64rpx);
-    padding: 32rpx;
-    background: #ffffff;
-    margin-bottom: 16rpx;
-    display: flex;
-    //height: 278rpx;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-  }
-  .second_title {
-    float: left;
-    width: 50%;
-
-    font-size: 28rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #777777;
-  }
-
-  .list {
-    width: calc(100% - 64rpx);
-
-    margin: 32rpx;
-  }
-
-  .form {
-    width: calc(100% - 128rpx);
-    margin: 32rpx;
-    background: #ffffff;
-    padding: 32rpx;
-
-    .label {
-      height: 53rpx;
-      line-height: 53rpx;
-    }
-  }
-
-  .checklist-box {
-    margin: 0 !important;
-    margin-right: 16rpx !important;
-  }
-
-  .labelcolmt26 {
-    input {
-      border-radius: 8rpx 8rpx 8rpx 8rpx;
-      border: 2rpx solid #cccccc;
-      text-align: center;
-    }
-    .van-col {
-      margin-top: 26rpx !important;
-    }
-
-    label {
-      color: #333333;
-      font-size: 30rpx;
-      margin-top: 10rpx !important;
-    }
-
-    .uni-data-checklist {
-      margin-top: -10rpx !important;
-    }
-  }
-
-  .status {
-    .uni-data-checklist {
-      margin-top: 0rpx !important;
-    }
-
-    label {
-      color: #333333;
-      font-size: 30rpx;
-      padding-right: 0rpx !important;
-    }
-  }
-}
-</style>

+ 0 - 330
pages/subPackages/components/momo-multipleSelect/momo-multipleSelect.vue

@@ -1,330 +0,0 @@
-<template>
-  <view class="select-container" v-show="show" @touchmove.stop.prevent>
-    <view
-      class="mask"
-      :class="activeClass ? 'mask-show' : ''"
-      @tap="onCancel(true)"
-    ></view>
-    <view class="select-box" :class="activeClass ? 'select-box-show' : ''">
-      <view class="header">
-        <text class="cancel" @tap="onCancel">{{ cancelText }}</text>
-        <view class="all" @tap="onAllToggle" v-if="allShow">
-          <text :class="isAll ? 'all-active' : ''">全选</text>
-        </view>
-        <text class="confirm" @tap="onConfirm">{{ confirmText }}</text>
-      </view>
-      <view class="body-warp">
-        <scroll-view class="body" scroll-y="true">
-          <slot v-if="!data.length" name="tips">
-            <view class="empty-tips">暂无数据~</view>
-          </slot>
-          <view
-            class="select-item"
-            :class="[
-              item.disabled ? 'disabled' : '',
-              selectedArr[index] ? 'selected' : '',
-            ]"
-            v-for="(item, index) in data"
-            :key="item[valueName]"
-            @tap="onSelected(index)"
-          >
-            <view class="label">{{ item[labelName] }}</view>
-            <text v-show="selectedArr[index]" class="selected-icon">✔</text>
-          </view>
-        </scroll-view>
-      </view>
-    </view>
-  </view>
-</template>
-<!-- 多选组件 -->
-<script>
-export default {
-  model: {
-    prop: "value",
-    event: ["input"],
-  },
-  data() {
-    return {
-      show: false, //是否显示
-      activeClass: false, //激活样式状态
-      selectedArr: [], //选择对照列表
-      selectedArrOld: [], //选择对照列表上一次的数据
-    };
-  },
-  onShow() {
-    this.show = this.value;
-  },
-  computed: {
-    // 返回是否全选
-    isAll() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      if (!wipeDisabledList.length) return false;
-      return !wipeDisabledList.includes(false);
-    },
-  },
-  props: {
-    // 双向绑定
-    value: {
-      type: Boolean,
-      default: false,
-    },
-    // 取消按钮文字
-    cancelText: {
-      type: String,
-      default: "取消",
-    },
-    // 确认按钮文字
-    confirmText: {
-      type: String,
-      default: "确认",
-    },
-    // label对应的key名称
-    labelName: {
-      type: String,
-      default: "label",
-    },
-    // value对应的key名称
-    valueName: {
-      type: String,
-      default: "value",
-    },
-    // 是否允许点击遮罩层关闭
-    maskCloseAble: {
-      type: Boolean,
-      default: true,
-    },
-    // 是否显示全选
-    allShow: {
-      type: Boolean,
-      default: true,
-    },
-    // 模式
-    mode: {
-      type: String,
-      default: "multiple",
-    },
-    // 默认选中值
-    defaultSelected: {
-      type: Array,
-      default: function () {
-        return [];
-      },
-    },
-    // 数据源
-    data: {
-      type: Array,
-      required: true,
-      default: () => {
-        return [];
-      },
-    },
-  },
-  watch: {
-    async value(newVal) {
-      this.show = newVal;
-      await this.$nextTick();
-      this.activeClass = newVal;
-      if (newVal) {
-        this.selectedArrOld = JSON.parse(JSON.stringify(this.selectedArr));
-      }
-    },
-    show(newVal) {
-      this.$emit("input", newVal);
-      this.$emit("change", newVal);
-    },
-    data: {
-      // 设置初始选择对照列表
-      handler(list) {
-        this.selectedArr = list.map((el) => false);
-        this.setItemActiveState();
-      },
-      deep: true,
-      immediate: true,
-    },
-    defaultSelected: {
-      handler() {
-        this.setItemActiveState();
-      },
-      deep: true,
-      immediate: true,
-    },
-  },
-  methods: {
-    // 设置默认选中通用办法
-    setItemActiveState() {
-      if (this.data.length && this.defaultSelected.length) {
-        this.data.forEach((item, i) => {
-          for (let n = 0; n < this.defaultSelected.length; n++) {
-            if (
-              !item.disabled &&
-              item[this.valueName] === this.defaultSelected[n]
-            ) {
-              this.selectedArr.splice(i, 1, true);
-              break;
-            }
-          }
-        });
-      }
-    },
-    /**
-     * 选择事件
-     * @index {Number} 点击下标
-     */
-    onSelected(index) {
-      if (this.data[index].disabled) return;
-      let index2Active = this.selectedArr[index];
-      this.selectedArr.splice(index, 1, !index2Active);
-    },
-    // 取消事件
-    onCancel(isMask) {
-      if (!isMask || this.maskCloseAble) {
-        this.show = false;
-        this.selectedArr = JSON.parse(JSON.stringify(this.selectedArrOld));
-      } else {
-        return;
-      }
-      this.$emit("cancel");
-    },
-    // 返回去除了disabled状态后的对照列表
-    returnWipeDisabledList() {
-      let arr = [];
-      this.selectedArr.forEach((el, index) => {
-        if (!this.data[index].disabled) arr.push(el);
-      });
-      return arr;
-    },
-    // 全选/非全选事件
-    onAllToggle() {
-      let wipeDisabledList = this.returnWipeDisabledList();
-      // 如果去除了disabled的对照列表有false的数据,代表未全选
-      if (wipeDisabledList.includes(false)) {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.data[index].disabled)
-            this.selectedArr.splice(index, 1, true);
-        });
-      } else {
-        this.selectedArr.forEach((el, index) => {
-          if (!this.data[index].disabled)
-            el = this.selectedArr.splice(index, 1, false);
-        });
-      }
-    },
-    // 确定事件
-    onConfirm() {
-      this.show = false;
-      let selectedData = [];
-      this.selectedArr.forEach((el, index) => {
-        if (el) {
-          selectedData.push(this.data[index]);
-        }
-      });
-      if (this.mode === "multiple") {
-        this.$emit("confirm", selectedData);
-      } else {
-        let backData = selectedData[0] || {};
-        this.$emit("confirm", backData);
-      }
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-.select-container {
-  width: 100vw;
-  height: 100vh;
-  position: fixed;
-  left: 0;
-  top: 0;
-  z-index: 999;
-  $paddingLR: 18rpx;
-  .mask {
-    width: 100%;
-    height: 100%;
-    background-color: $uni-bg-color-mask;
-    opacity: 0;
-    transition: opacity 0.3s;
-    &.mask-show {
-      opacity: 1;
-    }
-  }
-  // 选择器内容区域
-  .select-box {
-    width: 100%;
-    position: absolute;
-    bottom: 0;
-    left: 0;
-    transform: translate3d(0px, 100%, 0px);
-    background-color: $uni-bg-color;
-    transition: all 0.3s;
-    &.select-box-show {
-      transform: translateZ(0);
-    }
-    .header {
-      display: flex;
-      box-sizing: border-box;
-      width: 100%;
-      justify-content: space-between;
-      border-bottom: 1px solid $uni-border-color;
-      line-height: 76rpx;
-      font-size: 30rpx;
-      padding: 0 $paddingLR;
-      .cancel {
-        color: $uni-text-color-grey;
-      }
-      .all {
-        .all-active {
-          &::after {
-            display: inline-block;
-            content: "✔";
-            padding-left: 8rpx;
-          }
-        }
-      }
-      .confirm {
-        color: $uni-color-primary;
-      }
-    }
-    .body-warp {
-      width: 100%;
-      height: 30vh;
-      box-sizing: border-box;
-      padding: 20rpx $paddingLR;
-    }
-    .body {
-      width: 100%;
-      height: 100%;
-      overflow-y: auto;
-      .empty-tips {
-        margin-top: 25%;
-        text-align: center;
-        font-size: 26rpx;
-        color: $uni-color-error;
-      }
-      .select-item {
-        display: flex;
-        font-size: 26rpx;
-        line-height: 58rpx;
-        color: #303133;
-        position: relative;
-        transition: all 0.3s;
-        &.selected {
-          color: $uni-color-primary;
-        }
-        &.disabled {
-          color: $uni-text-color-disable;
-        }
-        > .label {
-          flex: 1;
-          text-align: center;
-        }
-        > .selected-icon {
-          position: absolute;
-          right: 0;
-          top: 50%;
-          transform: translateY(-50%);
-        }
-      }
-    }
-  }
-}
-</style>

+ 0 - 170
pages/subPackages/components/selectGenzongDep/style.css

@@ -1,170 +0,0 @@
-.tkitree-mask {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9998;
-    background-color: rgba(0, 0, 0, 0.6);
-    opacity: 0;
-    transition: all 0.3s ease;
-    visibility: hidden;
-}
-
-.tkitree-mask.show {
-    visibility: visible;
-    opacity: 1;
-}
-
-.tkitree-cnt {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9999;
-    top: 225rpx;
-    transition: all 0.3s ease;
-    transform: translateY(100%);
-}
-
-.tkitree-cnt.show {
-    transform: translateY(0);
-}
-
-.tkitree-bar {
-    background-color: #fff;
-    height: 72rpx;
-    padding-left: 20rpx;
-    padding-right: 20rpx;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    box-sizing: border-box;
-    border-bottom-width: 1rpx !important;
-    border-bottom-style: solid;
-    border-bottom-color: #f5f5f5;
-    font-size: 32rpx;
-    color: #757575;
-    line-height: 1;
-}
-
-.tkitree-bar-confirm {
-    color: #07bb07;
-}
-
-.tkitree-view {
-    position: absolute;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    top: 72rpx;
-    background-color: #fff;
-    padding-top: 20rpx;
-    padding-right: 20rpx;
-    padding-bottom: 20rpx;
-    padding-left: 20rpx;
-}
-
-.tkitree-view-sc {
-    height: 100%;
-    overflow: hidden;
-}
-
-.tkitree-item {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    font-size: 26rpx;
-    color: #757575;
-    line-height: 1;
-    height: 0;
-    opacity: 0;
-    transition: 0.2s;
-    position: relative;
-    overflow: hidden;
-}
-
-.tkitree-item.show {
-    height: 80rpx;
-    opacity: 1;
-}
-
-.tkitree-item.showchild:before {
-    transform: rotate(90deg);
-}
-
-.tkitree-item.last:before {
-    opacity: 0;
-}
-
-.tkitree-icon {
-    width: 26rpx;
-    height: 26rpx;
-    margin-right: 8rpx;
-}
-
-.tkitree-label {
-    flex: 1;
-    display: flex;
-    align-items: center;
-    height: 100%;
-    line-height: 1.2;
-}
-
-.tkitree-check {
-    width: 40px;
-    height: 40px;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-}
-
-.tkitree-check-yes,
-.tkitree-check-no {
-    width: 20px;
-    height: 20px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    border-top-width: 1rpx;
-    border-left-width: 1rpx;
-    border-bottom-width: 1rpx;
-    border-right-width: 1rpx;
-    border-style: solid;
-    border-color: #07bb07;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    box-sizing: border-box;
-}
-
-.tkitree-check-yes-b {
-    width: 12px;
-    height: 12px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    background-color: #07bb07;
-}
-
-.tkitree-check .radio {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.tkitree-check .radio .tkitree-check-yes-b {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.hover-c {
-    opacity: 0.6;
-}

Разница между файлами не показана из-за своего большого размера
+ 0 - 679
pages/subPackages/components/selectGenzongDep/tkitree.vue


+ 0 - 78
pages/subPackages/components/selectGenzongDep/tools.js

@@ -1,78 +0,0 @@
-export default {
-  /** 将平面树json转为带children的json
-   * @param {Object} a
-   * @param {Object} idStr
-   * @param {Object} pidStr
-   * @param {Object} childrenStr
-   */
-  transData(a, idStr, pidStr, childrenStr){
-    var r = [], hash = {}, id = idStr, pid = pidStr, children = childrenStr, i = 0, j = 0, len = a.length;
-    for(; i < len; i++){
-      hash[a[i][id]] = a[i];
-    }
-    for(; j < len; j++){
-      var aVal = a[j], hashVP = hash[aVal[pid]];
-      if(hashVP){
-        !hashVP[children] && (hashVP[children] = []);
-        hashVP[children].push(aVal);
-      }else{
-        r.push(aVal);
-      }
-    }
-    return r;
-  },
-  /**从字典缓存中返回数组用于页面上作下拉,
-   * @param {Object} k 字典名称
-   * @param {Object} v value取哪个字典属性
-   * @param {Object} t
-   */
-  arrByDic(k,v,t){
-    var map = uni.getStorageSync("dic");
-    var  arr = map[k];
-    var r = [];
-    arr.forEach(obj=>{
-      r.push({
-        value: obj[v],
-        text: obj[t]
-      });
-    })
-    return r;
-  },
-
-  dateFmtyyyyMMddHHmmss(target) {
-    let date = new Date(target);
-    let y = date.getFullYear(); // 年
-    let MM = date.getMonth() + 1; // 月
-    MM = MM < 10 ? ('0' + MM) : MM;
-    let d = date.getDate(); // 日
-    d = d < 10 ? ('0' + d) : d;
-    let h = date.getHours(); // 时
-    h = h < 10 ? ('0' + h) : h;
-    let m = date.getMinutes(); // 分
-    m = m < 10 ? ('0' + m) : m;
-    let s = date.getSeconds(); // 秒
-    s = s < 10 ? ('0' + s) : s;
-    return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s;
-  },
-  // 比较时间大小
-  compareDate(date1,date2){
-    var oDate1 = new Date(date1);
-    var oDate2 = new Date(date2);
-    if(oDate1.getTime() > oDate2.getTime()){
-      return true; //第一个大
-    } else {
-      return false; //第二个大
-    }
-  },
-  uploadPreview(url, lists, name){
-    var ext = url.substring(url.lastIndexOf(".")+1);
-    ext = ext.toLowerCase();
-    console.log(ext);
-    if(ext=="pdf"){
-      uni.navigateTo({
-        url:"/pages/pdf/index?url=" + url
-      })
-    }
-  }
-
-}

+ 0 - 170
pages/subPackages/components/selectXiangguanDep/style.css

@@ -1,170 +0,0 @@
-.tkitree-mask {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9998;
-    background-color: rgba(0, 0, 0, 0.6);
-    opacity: 0;
-    transition: all 0.3s ease;
-    visibility: hidden;
-}
-
-.tkitree-mask.show {
-    visibility: visible;
-    opacity: 1;
-}
-
-.tkitree-cnt {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9999;
-    top: 225rpx;
-    transition: all 0.3s ease;
-    transform: translateY(100%);
-}
-
-.tkitree-cnt.show {
-    transform: translateY(0);
-}
-
-.tkitree-bar {
-    background-color: #fff;
-    height: 72rpx;
-    padding-left: 20rpx;
-    padding-right: 20rpx;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    box-sizing: border-box;
-    border-bottom-width: 1rpx !important;
-    border-bottom-style: solid;
-    border-bottom-color: #f5f5f5;
-    font-size: 32rpx;
-    color: #757575;
-    line-height: 1;
-}
-
-.tkitree-bar-confirm {
-    color: #07bb07;
-}
-
-.tkitree-view {
-    position: absolute;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    top: 72rpx;
-    background-color: #fff;
-    padding-top: 20rpx;
-    padding-right: 20rpx;
-    padding-bottom: 20rpx;
-    padding-left: 20rpx;
-}
-
-.tkitree-view-sc {
-    height: 100%;
-    overflow: hidden;
-}
-
-.tkitree-item {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    font-size: 26rpx;
-    color: #757575;
-    line-height: 1;
-    height: 0;
-    opacity: 0;
-    transition: 0.2s;
-    position: relative;
-    overflow: hidden;
-}
-
-.tkitree-item.show {
-    height: 80rpx;
-    opacity: 1;
-}
-
-.tkitree-item.showchild:before {
-    transform: rotate(90deg);
-}
-
-.tkitree-item.last:before {
-    opacity: 0;
-}
-
-.tkitree-icon {
-    width: 26rpx;
-    height: 26rpx;
-    margin-right: 8rpx;
-}
-
-.tkitree-label {
-    flex: 1;
-    display: flex;
-    align-items: center;
-    height: 100%;
-    line-height: 1.2;
-}
-
-.tkitree-check {
-    width: 40px;
-    height: 40px;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-}
-
-.tkitree-check-yes,
-.tkitree-check-no {
-    width: 20px;
-    height: 20px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    border-top-width: 1rpx;
-    border-left-width: 1rpx;
-    border-bottom-width: 1rpx;
-    border-right-width: 1rpx;
-    border-style: solid;
-    border-color: #07bb07;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    box-sizing: border-box;
-}
-
-.tkitree-check-yes-b {
-    width: 12px;
-    height: 12px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    background-color: #07bb07;
-}
-
-.tkitree-check .radio {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.tkitree-check .radio .tkitree-check-yes-b {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.hover-c {
-    opacity: 0.6;
-}

Разница между файлами не показана из-за своего большого размера
+ 0 - 679
pages/subPackages/components/selectXiangguanDep/tkitree.vue


+ 0 - 78
pages/subPackages/components/selectXiangguanDep/tools.js

@@ -1,78 +0,0 @@
-export default {
-  /** 将平面树json转为带children的json
-   * @param {Object} a
-   * @param {Object} idStr
-   * @param {Object} pidStr
-   * @param {Object} childrenStr
-   */
-  transData(a, idStr, pidStr, childrenStr){
-    var r = [], hash = {}, id = idStr, pid = pidStr, children = childrenStr, i = 0, j = 0, len = a.length;
-    for(; i < len; i++){
-      hash[a[i][id]] = a[i];
-    }
-    for(; j < len; j++){
-      var aVal = a[j], hashVP = hash[aVal[pid]];
-      if(hashVP){
-        !hashVP[children] && (hashVP[children] = []);
-        hashVP[children].push(aVal);
-      }else{
-        r.push(aVal);
-      }
-    }
-    return r;
-  },
-  /**从字典缓存中返回数组用于页面上作下拉,
-   * @param {Object} k 字典名称
-   * @param {Object} v value取哪个字典属性
-   * @param {Object} t
-   */
-  arrByDic(k,v,t){
-    var map = uni.getStorageSync("dic");
-    var  arr = map[k];
-    var r = [];
-    arr.forEach(obj=>{
-      r.push({
-        value: obj[v],
-        text: obj[t]
-      });
-    })
-    return r;
-  },
-
-  dateFmtyyyyMMddHHmmss(target) {
-    let date = new Date(target);
-    let y = date.getFullYear(); // 年
-    let MM = date.getMonth() + 1; // 月
-    MM = MM < 10 ? ('0' + MM) : MM;
-    let d = date.getDate(); // 日
-    d = d < 10 ? ('0' + d) : d;
-    let h = date.getHours(); // 时
-    h = h < 10 ? ('0' + h) : h;
-    let m = date.getMinutes(); // 分
-    m = m < 10 ? ('0' + m) : m;
-    let s = date.getSeconds(); // 秒
-    s = s < 10 ? ('0' + s) : s;
-    return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s;
-  },
-  // 比较时间大小
-  compareDate(date1,date2){
-    var oDate1 = new Date(date1);
-    var oDate2 = new Date(date2);
-    if(oDate1.getTime() > oDate2.getTime()){
-      return true; //第一个大
-    } else {
-      return false; //第二个大
-    }
-  },
-  uploadPreview(url, lists, name){
-    var ext = url.substring(url.lastIndexOf(".")+1);
-    ext = ext.toLowerCase();
-    console.log(ext);
-    if(ext=="pdf"){
-      uni.navigateTo({
-        url:"/pages/pdf/index?url=" + url
-      })
-    }
-  }
-
-}

+ 0 - 170
pages/subPackages/components/select_dengjiren/style.css

@@ -1,170 +0,0 @@
-.tkitree-mask {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 10000;
-    background-color: rgba(0, 0, 0, 0.6);
-    opacity: 0;
-    transition: all 0.3s ease;
-    visibility: hidden;
-}
-
-.tkitree-mask.show {
-    visibility: visible;
-    opacity: 1;
-}
-
-.tkitree-cnt {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 10001;
-    top: 225rpx;
-    transition: all 0.3s ease;
-    transform: translateY(100%);
-}
-
-.tkitree-cnt.show {
-    transform: translateY(0);
-}
-
-.tkitree-bar {
-    background-color: #fff;
-    height: 72rpx;
-    padding-left: 20rpx;
-    padding-right: 20rpx;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    box-sizing: border-box;
-    border-bottom-width: 1rpx !important;
-    border-bottom-style: solid;
-    border-bottom-color: #f5f5f5;
-    font-size: 32rpx;
-    color: #757575;
-    line-height: 1;
-}
-
-.tkitree-bar-confirm {
-    color: #07bb07;
-}
-
-.tkitree-view {
-    position: absolute;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    top: 72rpx;
-    background-color: #fff;
-    padding-top: 20rpx;
-    padding-right: 20rpx;
-    padding-bottom: 20rpx;
-    padding-left: 20rpx;
-}
-
-.tkitree-view-sc {
-    height: 100%;
-    overflow: hidden;
-}
-
-.tkitree-item {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    font-size: 26rpx;
-    color: #757575;
-    line-height: 1;
-    height: 0;
-    opacity: 0;
-    transition: 0.2s;
-    position: relative;
-    overflow: hidden;
-}
-
-.tkitree-item.show {
-    height: 80rpx;
-    opacity: 1;
-}
-
-.tkitree-item.showchild:before {
-    transform: rotate(90deg);
-}
-
-.tkitree-item.last:before {
-    opacity: 0;
-}
-
-.tkitree-icon {
-    width: 26rpx;
-    height: 26rpx;
-    margin-right: 8rpx;
-}
-
-.tkitree-label {
-    flex: 1;
-    display: flex;
-    align-items: center;
-    height: 100%;
-    line-height: 1.2;
-}
-
-.tkitree-check {
-    width: 40px;
-    height: 40px;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-}
-
-.tkitree-check-yes,
-.tkitree-check-no {
-    width: 20px;
-    height: 20px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    border-top-width: 1rpx;
-    border-left-width: 1rpx;
-    border-bottom-width: 1rpx;
-    border-right-width: 1rpx;
-    border-style: solid;
-    border-color: #07bb07;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    box-sizing: border-box;
-}
-
-.tkitree-check-yes-b {
-    width: 12px;
-    height: 12px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    background-color: #07bb07;
-}
-
-.tkitree-check .radio {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.tkitree-check .radio .tkitree-check-yes-b {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.hover-c {
-    opacity: 0.6;
-}

Разница между файлами не показана из-за своего большого размера
+ 0 - 678
pages/subPackages/components/select_dengjiren/tkitree.vue


+ 0 - 78
pages/subPackages/components/select_dengjiren/tools.js

@@ -1,78 +0,0 @@
-export default {
-  /** 将平面树json转为带children的json
-   * @param {Object} a
-   * @param {Object} idStr
-   * @param {Object} pidStr
-   * @param {Object} childrenStr
-   */
-  transData(a, idStr, pidStr, childrenStr){
-    var r = [], hash = {}, id = idStr, pid = pidStr, children = childrenStr, i = 0, j = 0, len = a.length;
-    for(; i < len; i++){
-      hash[a[i][id]] = a[i];
-    }
-    for(; j < len; j++){
-      var aVal = a[j], hashVP = hash[aVal[pid]];
-      if(hashVP){
-        !hashVP[children] && (hashVP[children] = []);
-        hashVP[children].push(aVal);
-      }else{
-        r.push(aVal);
-      }
-    }
-    return r;
-  },
-  /**从字典缓存中返回数组用于页面上作下拉,
-   * @param {Object} k 字典名称
-   * @param {Object} v value取哪个字典属性
-   * @param {Object} t
-   */
-  arrByDic(k,v,t){
-    var map = uni.getStorageSync("dic");
-    var  arr = map[k];
-    var r = [];
-    arr.forEach(obj=>{
-      r.push({
-        value: obj[v],
-        text: obj[t]
-      });
-    })
-    return r;
-  },
-
-  dateFmtyyyyMMddHHmmss(target) {
-    let date = new Date(target);
-    let y = date.getFullYear(); // 年
-    let MM = date.getMonth() + 1; // 月
-    MM = MM < 10 ? ('0' + MM) : MM;
-    let d = date.getDate(); // 日
-    d = d < 10 ? ('0' + d) : d;
-    let h = date.getHours(); // 时
-    h = h < 10 ? ('0' + h) : h;
-    let m = date.getMinutes(); // 分
-    m = m < 10 ? ('0' + m) : m;
-    let s = date.getSeconds(); // 秒
-    s = s < 10 ? ('0' + s) : s;
-    return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s;
-  },
-  // 比较时间大小
-  compareDate(date1,date2){
-    var oDate1 = new Date(date1);
-    var oDate2 = new Date(date2);
-    if(oDate1.getTime() > oDate2.getTime()){
-      return true; //第一个大
-    } else {
-      return false; //第二个大
-    }
-  },
-  uploadPreview(url, lists, name){
-    var ext = url.substring(url.lastIndexOf(".")+1);
-    ext = ext.toLowerCase();
-    console.log(ext);
-    if(ext=="pdf"){
-      uni.navigateTo({
-        url:"/pages/pdf/index?url=" + url
-      })
-    }
-  }
-
-}

+ 0 - 170
pages/subPackages/components/select_dengjiyuan/style.css

@@ -1,170 +0,0 @@
-.tkitree-mask {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9998;
-    background-color: rgba(0, 0, 0, 0.6);
-    opacity: 0;
-    transition: all 0.3s ease;
-    visibility: hidden;
-}
-
-.tkitree-mask.show {
-    visibility: visible;
-    opacity: 1;
-}
-
-.tkitree-cnt {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9999;
-    top: 225rpx;
-    transition: all 0.3s ease;
-    transform: translateY(100%);
-}
-
-.tkitree-cnt.show {
-    transform: translateY(0);
-}
-
-.tkitree-bar {
-    background-color: #fff;
-    height: 72rpx;
-    padding-left: 20rpx;
-    padding-right: 20rpx;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    box-sizing: border-box;
-    border-bottom-width: 1rpx !important;
-    border-bottom-style: solid;
-    border-bottom-color: #f5f5f5;
-    font-size: 32rpx;
-    color: #757575;
-    line-height: 1;
-}
-
-.tkitree-bar-confirm {
-    color: #07bb07;
-}
-
-.tkitree-view {
-    position: absolute;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    top: 72rpx;
-    background-color: #fff;
-    padding-top: 20rpx;
-    padding-right: 20rpx;
-    padding-bottom: 20rpx;
-    padding-left: 20rpx;
-}
-
-.tkitree-view-sc {
-    height: 100%;
-    overflow: hidden;
-}
-
-.tkitree-item {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    font-size: 26rpx;
-    color: #757575;
-    line-height: 1;
-    height: 0;
-    opacity: 0;
-    transition: 0.2s;
-    position: relative;
-    overflow: hidden;
-}
-
-.tkitree-item.show {
-    height: 80rpx;
-    opacity: 1;
-}
-
-.tkitree-item.showchild:before {
-    transform: rotate(90deg);
-}
-
-.tkitree-item.last:before {
-    opacity: 0;
-}
-
-.tkitree-icon {
-    width: 26rpx;
-    height: 26rpx;
-    margin-right: 8rpx;
-}
-
-.tkitree-label {
-    flex: 1;
-    display: flex;
-    align-items: center;
-    height: 100%;
-    line-height: 1.2;
-}
-
-.tkitree-check {
-    width: 40px;
-    height: 40px;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-}
-
-.tkitree-check-yes,
-.tkitree-check-no {
-    width: 20px;
-    height: 20px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    border-top-width: 1rpx;
-    border-left-width: 1rpx;
-    border-bottom-width: 1rpx;
-    border-right-width: 1rpx;
-    border-style: solid;
-    border-color: #07bb07;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    box-sizing: border-box;
-}
-
-.tkitree-check-yes-b {
-    width: 12px;
-    height: 12px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    background-color: #07bb07;
-}
-
-.tkitree-check .radio {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.tkitree-check .radio .tkitree-check-yes-b {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.hover-c {
-    opacity: 0.6;
-}

Разница между файлами не показана из-за своего большого размера
+ 0 - 675
pages/subPackages/components/select_dengjiyuan/tkitree.vue


+ 0 - 78
pages/subPackages/components/select_dengjiyuan/tools.js

@@ -1,78 +0,0 @@
-export default {
-  /** 将平面树json转为带children的json
-   * @param {Object} a
-   * @param {Object} idStr
-   * @param {Object} pidStr
-   * @param {Object} childrenStr
-   */
-  transData(a, idStr, pidStr, childrenStr){
-    var r = [], hash = {}, id = idStr, pid = pidStr, children = childrenStr, i = 0, j = 0, len = a.length;
-    for(; i < len; i++){
-      hash[a[i][id]] = a[i];
-    }
-    for(; j < len; j++){
-      var aVal = a[j], hashVP = hash[aVal[pid]];
-      if(hashVP){
-        !hashVP[children] && (hashVP[children] = []);
-        hashVP[children].push(aVal);
-      }else{
-        r.push(aVal);
-      }
-    }
-    return r;
-  },
-  /**从字典缓存中返回数组用于页面上作下拉,
-   * @param {Object} k 字典名称
-   * @param {Object} v value取哪个字典属性
-   * @param {Object} t
-   */
-  arrByDic(k,v,t){
-    var map = uni.getStorageSync("dic");
-    var  arr = map[k];
-    var r = [];
-    arr.forEach(obj=>{
-      r.push({
-        value: obj[v],
-        text: obj[t]
-      });
-    })
-    return r;
-  },
-
-  dateFmtyyyyMMddHHmmss(target) {
-    let date = new Date(target);
-    let y = date.getFullYear(); // 年
-    let MM = date.getMonth() + 1; // 月
-    MM = MM < 10 ? ('0' + MM) : MM;
-    let d = date.getDate(); // 日
-    d = d < 10 ? ('0' + d) : d;
-    let h = date.getHours(); // 时
-    h = h < 10 ? ('0' + h) : h;
-    let m = date.getMinutes(); // 分
-    m = m < 10 ? ('0' + m) : m;
-    let s = date.getSeconds(); // 秒
-    s = s < 10 ? ('0' + s) : s;
-    return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s;
-  },
-  // 比较时间大小
-  compareDate(date1,date2){
-    var oDate1 = new Date(date1);
-    var oDate2 = new Date(date2);
-    if(oDate1.getTime() > oDate2.getTime()){
-      return true; //第一个大
-    } else {
-      return false; //第二个大
-    }
-  },
-  uploadPreview(url, lists, name){
-    var ext = url.substring(url.lastIndexOf(".")+1);
-    ext = ext.toLowerCase();
-    console.log(ext);
-    if(ext=="pdf"){
-      uni.navigateTo({
-        url:"/pages/pdf/index?url=" + url
-      })
-    }
-  }
-
-}

+ 0 - 73
pages/subPackages/components/tel-number/index.vue

@@ -1,73 +0,0 @@
-<template>
-  <div class="custom-tel-component" @click="makePhoneCall(num)">
-    <div class="custom-tel-component-left" v-if="showTel">
-      {{ num }}
-    </div>
-    <a :href="'tel:' + num" class="custom-tel-component-right">
-      <van-icon
-        name="phone-circle-o"
-        style="color: white"
-        class="iconfont icon-dianhua1"
-      />
-    </a>
-  </div>
-</template>
-
-<script>
-export default {
-  props: {
-    showTel: {
-      // 是否显示电话号码
-      type: Boolean,
-      default: true,
-    },
-    num: {
-      // 电话号码
-      type: String | Number,
-      default: "",
-    },
-  },
-  methods: {
-    makePhoneCall(num) {
-      wx.makePhoneCall({
-        phoneNumber: num, //此号码仅用于测试 。
-
-        success: function () {
-          console.log("拨打电话成功!");
-        },
-
-        fail: function () {
-          console.log("拨打电话失败!");
-        },
-      });
-    },
-  },
-};
-</script>
-
-<style lang="scss" type="text/scss" scoped>
-.custom-tel-component {
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-  .custom-tel-component-left {
-    flex: 1;
-    font-size: 24rpx;
-    line-height: 66rpx;
-    color: #333333;
-  }
-  .custom-tel-component-right {
-    width: 50rpx;
-    height: 50rpx;
-    background-color: rgba(102, 0, 255, 1);
-    border-radius: 50%;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    i {
-      color: #fff;
-      font-size: 25rpx;
-    }
-  }
-}
-</style>

+ 0 - 170
pages/subPackages/components/tkitree/style.css

@@ -1,170 +0,0 @@
-.tkitree-mask {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9998;
-    background-color: rgba(0, 0, 0, 0.6);
-    opacity: 0;
-    transition: all 0.3s ease;
-    visibility: hidden;
-}
-
-.tkitree-mask.show {
-    visibility: visible;
-    opacity: 1;
-}
-
-.tkitree-cnt {
-    position: fixed;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    z-index: 9999;
-    top: 225rpx;
-    transition: all 0.3s ease;
-    transform: translateY(100%);
-}
-
-.tkitree-cnt.show {
-    transform: translateY(0);
-}
-
-.tkitree-bar {
-    background-color: #fff;
-    height: 72rpx;
-    padding-left: 20rpx;
-    padding-right: 20rpx;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    box-sizing: border-box;
-    border-bottom-width: 1rpx !important;
-    border-bottom-style: solid;
-    border-bottom-color: #f5f5f5;
-    font-size: 32rpx;
-    color: #757575;
-    line-height: 1;
-}
-
-.tkitree-bar-confirm {
-    color: #07bb07;
-}
-
-.tkitree-view {
-    position: absolute;
-    top: 0rpx;
-    right: 0rpx;
-    bottom: 0rpx;
-    left: 0rpx;
-    top: 72rpx;
-    background-color: #fff;
-    padding-top: 20rpx;
-    padding-right: 20rpx;
-    padding-bottom: 20rpx;
-    padding-left: 20rpx;
-}
-
-.tkitree-view-sc {
-    height: 100%;
-    overflow: hidden;
-}
-
-.tkitree-item {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    font-size: 26rpx;
-    color: #757575;
-    line-height: 1;
-    height: 0;
-    opacity: 0;
-    transition: 0.2s;
-    position: relative;
-    overflow: hidden;
-}
-
-.tkitree-item.show {
-    height: 80rpx;
-    opacity: 1;
-}
-
-.tkitree-item.showchild:before {
-    transform: rotate(90deg);
-}
-
-.tkitree-item.last:before {
-    opacity: 0;
-}
-
-.tkitree-icon {
-    width: 26rpx;
-    height: 26rpx;
-    margin-right: 8rpx;
-}
-
-.tkitree-label {
-    flex: 1;
-    display: flex;
-    align-items: center;
-    height: 100%;
-    line-height: 1.2;
-}
-
-.tkitree-check {
-    width: 40px;
-    height: 40px;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-}
-
-.tkitree-check-yes,
-.tkitree-check-no {
-    width: 20px;
-    height: 20px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    border-top-width: 1rpx;
-    border-left-width: 1rpx;
-    border-bottom-width: 1rpx;
-    border-right-width: 1rpx;
-    border-style: solid;
-    border-color: #07bb07;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    box-sizing: border-box;
-}
-
-.tkitree-check-yes-b {
-    width: 12px;
-    height: 12px;
-    border-top-left-radius: 20%;
-    border-top-right-radius: 20%;
-    border-bottom-right-radius: 20%;
-    border-bottom-left-radius: 20%;
-    background-color: #07bb07;
-}
-
-.tkitree-check .radio {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.tkitree-check .radio .tkitree-check-yes-b {
-    border-top-left-radius: 50%;
-    border-top-right-radius: 50%;
-    border-bottom-right-radius: 50%;
-    border-bottom-left-radius: 50%;
-}
-
-.hover-c {
-    opacity: 0.6;
-}

Разница между файлами не показана из-за своего большого размера
+ 0 - 687
pages/subPackages/components/tkitree/tkitree.vue


+ 0 - 78
pages/subPackages/components/tkitree/tools.js

@@ -1,78 +0,0 @@
-export default {
-  /** 将平面树json转为带children的json
-   * @param {Object} a
-   * @param {Object} idStr
-   * @param {Object} pidStr
-   * @param {Object} childrenStr
-   */
-  transData(a, idStr, pidStr, childrenStr){
-    var r = [], hash = {}, id = idStr, pid = pidStr, children = childrenStr, i = 0, j = 0, len = a.length;
-    for(; i < len; i++){
-      hash[a[i][id]] = a[i];
-    }
-    for(; j < len; j++){
-      var aVal = a[j], hashVP = hash[aVal[pid]];
-      if(hashVP){
-        !hashVP[children] && (hashVP[children] = []);
-        hashVP[children].push(aVal);
-      }else{
-        r.push(aVal);
-      }
-    }
-    return r;
-  },
-  /**从字典缓存中返回数组用于页面上作下拉,
-   * @param {Object} k 字典名称
-   * @param {Object} v value取哪个字典属性
-   * @param {Object} t
-   */
-  arrByDic(k,v,t){
-    var map = uni.getStorageSync("dic");
-    var  arr = map[k];
-    var r = [];
-    arr.forEach(obj=>{
-      r.push({
-        value: obj[v],
-        text: obj[t]
-      });
-    })
-    return r;
-  },
-
-  dateFmtyyyyMMddHHmmss(target) {
-    let date = new Date(target);
-    let y = date.getFullYear(); // 年
-    let MM = date.getMonth() + 1; // 月
-    MM = MM < 10 ? ('0' + MM) : MM;
-    let d = date.getDate(); // 日
-    d = d < 10 ? ('0' + d) : d;
-    let h = date.getHours(); // 时
-    h = h < 10 ? ('0' + h) : h;
-    let m = date.getMinutes(); // 分
-    m = m < 10 ? ('0' + m) : m;
-    let s = date.getSeconds(); // 秒
-    s = s < 10 ? ('0' + s) : s;
-    return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s;
-  },
-  // 比较时间大小
-  compareDate(date1,date2){
-    var oDate1 = new Date(date1);
-    var oDate2 = new Date(date2);
-    if(oDate1.getTime() > oDate2.getTime()){
-      return true; //第一个大
-    } else {
-      return false; //第二个大
-    }
-  },
-  uploadPreview(url, lists, name){
-    var ext = url.substring(url.lastIndexOf(".")+1);
-    ext = ext.toLowerCase();
-    console.log(ext);
-    if(ext=="pdf"){
-      uni.navigateTo({
-        url:"/pages/pdf/index?url=" + url
-      })
-    }
-  }
-
-}

+ 0 - 34
pages/subPackages/error/404.vue

@@ -1,34 +0,0 @@
-<template>
-    <view>
-        <view>
-            <text style="font-size: 25px;color: #333;">
-                404 Page Not Found
-            </text>
-        </view>
-        <view>
-            <text style="font-size: 18px;color: #999;">
-                {{errMsg}}
-            </text>
-        </view>
-    </view>
-</template>
-
-<script>
-    export default {
-        data() {
-            return {
-
-            }
-        },
-        onLoad(query) {
-            this.errMsg = query.errMsg || ''
-        },
-        methods: {
-
-        }
-    }
-</script>
-
-<style>
-
-</style>

+ 0 - 503
pages/subPackages/housedetails/housedetails.vue

@@ -1,503 +0,0 @@
-<template>
-  <div class="housedetails" style="padding-bottom: 500rpx">
-    <div class="content" v-if="planPictureList.length != 0">
-      <uni-swiper-dot
-        class="uni-swiper-dot-box"
-        @clickItem="clickItem"
-        :info="info"
-        :current="current"
-        :mode="mode"
-        :dots-styles="dotsStyles"
-        field="content"
-      >
-        <swiper class="swiper-box" @change="change" :current="swiperDotIndex">
-          <swiper-item v-for="(item, index) in planPictureList" :key="index">
-            <view class="swiper-item" :class="'swiper-item' + index">
-              <img :src="item.url" alt="" style="width: 100%; height: 100%" />
-            </view>
-          </swiper-item>
-        </swiper>
-      </uni-swiper-dot>
-    </div>
-    <div class="list-row">
-      <div class="cell_1">
-        <div class="width100 mb8rpx">
-          <div class="first_title">
-            {{
-              form.groupName + form.floorDiscName + form.buildName + form.roomNo
-            }}
-          </div>
-        </div>
-        <div class="width100 mb8rpx height50rpx chuzuborder">
-          <div class="float_left chuzu_label">出租指导价(元/㎡/月):</div>
-          <div class="float_left chuzu_vlaue">
-            {{ form.guidePrice ? form.guidePrice : "未知" }}
-          </div>
-        </div>
-        <div class="width100 pdt32 pdb32 chuzuborder">
-          <van-row>
-            <van-col :span="6">
-              <div class="yongtu_first_title">
-                {{
-                  form.roomUse ? getDicType("roomUse", form.roomUse) : "暂无"
-                }}
-              </div>
-              <div class="yongtu_second_title">用途</div>
-            </van-col>
-            <van-col :span="6">
-              <div class="yongtu_first_title over_hidden textflow">
-                {{
-                  !form.decorationSituation ||
-                  form.decorationSituation != "null"
-                    ? "暂无"
-                    : form.decorationSituation
-                }}
-                <!--							decorationSituation-->
-              </div>
-              <div class="yongtu_second_title">装修情况</div>
-            </van-col>
-            <van-col :span="6">
-              <div class="yongtu_first_title">
-                {{ form.direction ? form.direction : "暂无" }}
-              </div>
-              <div class="yongtu_second_title">朝向</div>
-            </van-col>
-            <van-col :span="6">
-              <div class="yongtu_first_title">
-                {{ form.size ? form.size : "暂无" }}
-              </div>
-              <div class="yongtu_second_title">面积(m²)</div>
-            </van-col>
-          </van-row>
-        </div>
-        <div class="width100 pdt32 height50rpx pdb32 chuzuborder">
-          <div class="roomstatus" v-if="form.propertyNature">
-            {{ getDicType("zaiti", form.propertyNature) }}
-          </div>
-          <div class="roomstatus" v-if="form.currentState == '1'">空置</div>
-          <div class="roomstatus" v-if="form.currentState == '2'">锁定</div>
-          <div class="roomstatus" v-if="form.currentState == '3'">预约</div>
-          <div class="roomstatus" v-if="form.currentState == '4'">临期</div>
-          <div class="roomstatus" v-if="form.currentState == '5'">已租</div>
-          <div class="roomstatus" v-if="form.currentState == '6'">到期</div>
-        </div>
-        <div class="width100 pdt32 pdb32 chuzuborder">
-          <van-row>
-            <van-col :span="4">
-              <div style="white-space: nowrap">说明</div>
-            </van-col>
-            <van-col :span="20">
-              <span>{{ form.remark ? form.remark : "暂无" }}</span>
-            </van-col>
-          </van-row>
-        </div>
-      </div>
-    </div>
-    <div class="project-column pdt32 pdl32 pdr32">
-      <div class="pdb16 chuzuborder">关联项目</div>
-    </div>
-    <div class="list-row" v-for="item in list">
-      <div class="cell_1">
-        <div class="width100 height44rpx mb8rpx">
-          <div class="first_title float_left chaochuyincang" style="width: 80%">
-            {{ item.projectName }}
-          </div>
-          <div class="width20 float_left">
-            <div
-              class="button_primary float_right"
-              v-if="item.reservationStatus == '1'"
-            >
-              空置
-            </div>
-            <div
-              class="button_primary float_right"
-              v-if="item.reservationStatus == '2'"
-            >
-              锁定
-            </div>
-            <div
-              class="button_primary float_right"
-              v-if="item.reservationStatus == '3'"
-            >
-              预约
-            </div>
-            <div
-              class="button_primary float_right"
-              v-if="item.reservationStatus == '4'"
-            >
-              临期
-            </div>
-            <div
-              class="button_primary float_right"
-              v-if="item.reservationStatus == '5'"
-            >
-              已租
-            </div>
-            <div
-              class="button_primary float_right"
-              v-if="item.reservationStatus == '6'"
-            >
-              到期
-            </div>
-          </div>
-        </div>
-        <div class="width100 height44rpx mb8rpx">
-          <div class="second_title width100">
-            企业名称:{{
-              !item.companyId || item.companyId == null
-                ? "未知"
-                : item.companyId
-            }}
-          </div>
-        </div>
-        <div class="width100 height44rpx mb8rpx">
-          <div class="second_title width100">
-            招商联系人:{{ item.projectManager }}
-          </div>
-        </div>
-        <div class="width100 height44rpx mb8rpx">
-          <div class="second_title width100">
-            联系电话:{{ item.managerPhone }}
-          </div>
-        </div>
-        <div class="width100 height44rpx mb8rpx">
-          <div class="second_title width100">
-            项目介绍:{{ item.projectInfo }}…
-          </div>
-        </div>
-      </div>
-    </div>
-    <view class="btn-view">
-      <button
-        class="btn"
-        @click="jumpCreatedProject()"
-        style="margin-left: 10rpx"
-      >
-        创建项目
-      </button>
-    </view>
-  </div>
-</template>
-
-<script>
-import { getByCodes, getRoomInfo, listByModel } from "@/js_sdk/http";
-export default {
-  components: {},
-  data() {
-    return {
-      dic_key: ["PROPERTY_NATURE", "HOUSE_USAGE"],
-      dic_SelectList: {},
-      search: {
-        pageSize: 10,
-        pageNum: 1,
-      },
-      form: {
-        id: "",
-      },
-      list: [],
-      info: [
-        {
-          colorClass: "uni-bg-red",
-          url: "https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg",
-          content: "内容 A",
-        },
-        {
-          colorClass: "uni-bg-green",
-          url: "https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg",
-          content: "内容 B",
-        },
-        {
-          colorClass: "uni-bg-blue",
-          url: "https://web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg",
-          content: "内容 C",
-        },
-      ],
-      dotStyle: [
-        {
-          backgroundColor: "rgba(0, 0, 0, .3)",
-          border: "1px rgba(0, 0, 0, .3) solid",
-          color: "#fff",
-          selectedBackgroundColor: "rgba(0, 0, 0, .9)",
-          selectedBorder: "1px rgba(0, 0, 0, .9) solid",
-        },
-        {
-          backgroundColor: "rgba(255, 90, 95,0.3)",
-          border: "1px rgba(255, 90, 95,0.3) solid",
-          color: "#fff",
-          selectedBackgroundColor: "rgba(255, 90, 95,0.9)",
-          selectedBorder: "1px rgba(255, 90, 95,0.9) solid",
-        },
-        {
-          backgroundColor: "rgba(83, 200, 249,0.3)",
-          border: "1px rgba(83, 200, 249,0.3) solid",
-          color: "#fff",
-          selectedBackgroundColor: "rgba(83, 200, 249,0.9)",
-          selectedBorder: "1px rgba(83, 200, 249,0.9) solid",
-        },
-      ],
-      modeIndex: -1,
-      styleIndex: -1,
-      current: 0,
-      mode: "default",
-      dotsStyles: {},
-      planPictureList: [],
-      swiperDotIndex: 0,
-    };
-  },
-  onLoad(options) {
-    this.getByCodes();
-    this.form.id = options.id;
-    getRoomInfo(options.id).then((e) => {
-      this.form = e;
-      this.form.currentState = options.currentState;
-      console.log(e.planPicture.split(","));
-      if (e.planPicture.length != 0) {
-        this.planPictureList = e.planPicture.split(",").map((e) => {
-          return {
-            url: this.$constant.BASE_URI + "/FileController/download/" + e,
-          };
-        });
-      } else {
-        this.planPictureList = [];
-      }
-    });
-    //
-    console.log({ id: this.form.id, ...this.search });
-    listByModel({ id: options.id, ...this.search }).then((e) => {
-      this.list = e.rows;
-    });
-  },
-  methods: {
-    jumpCreatedProject() {
-      uni.navigateTo({
-        url: "/pages/subPackages/addintention/addintention?ids=" + this.form.id,
-      });
-    },
-    getDicType(type, value) {
-      if (type == "zaiti" && this.dic_SelectList.PROPERTY_NATURE) {
-        let PROPERTY_NATURE = this.dic_SelectList.PROPERTY_NATURE;
-        let index = PROPERTY_NATURE.findIndex((e) => e.value == value);
-        return PROPERTY_NATURE[index].label;
-      }
-      if (type == "roomUse" && this.dic_SelectList.HOUSE_USAGE) {
-        let HOUSE_USAGE = this.dic_SelectList.HOUSE_USAGE;
-        let index = HOUSE_USAGE.findIndex((e) => e.value == value);
-        return HOUSE_USAGE[index].label;
-      }
-    },
-    async getByCodes() {
-      let data = await getByCodes(JSON.stringify(this.dic_key));
-      this.dic_SelectList = this.$common.handleDicList(data);
-    },
-    getMoreListByModel() {
-      listByModel({ id: this.form.id, ...this.search }).then((e) => {
-        this.list.push(...e.rows);
-      });
-    },
-    onReachBottom() {
-      this.search.pageNum += 1;
-      this.getMoreListByModel();
-      console.log("滑动到距离底部100px的时候触发,可以放 。。业务逻辑");
-    }, //下拉执行的时候触发 (下拉刷新)
-
-    change(e) {
-      this.current = e.detail.current;
-    },
-    selectStyle(index) {
-      this.dotsStyles = this.dotStyle[index];
-      this.styleIndex = index;
-    },
-    selectMode(mode, index) {
-      this.mode = mode;
-      this.modeIndex = index;
-      this.styleIndex = -1;
-      this.dotsStyles = this.dotStyle[0];
-    },
-    clickItem(e) {
-      this.swiperDotIndex = e;
-    },
-    onBanner(index) {
-      console.log(22222, index);
-    },
-  },
-};
-</script>
-
-<style lang="scss">
-.chaochuyincang {
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-}
-.button_primary {
-  width: 96rpx;
-  height: 50rpx;
-  text-align: center;
-  line-height: 50rpx;
-  color: #1d18bc;
-  font-weight: 500;
-  background: rgba(29, 24, 188, 0.05);
-  border-radius: 8rpx 8rpx 8rpx 8rpx;
-}
-.housedetails {
-  .btn-view {
-    width: 100%;
-    height: 100rpx;
-    padding: 20rpx 10%;
-    background-color: #ffffff;
-    position: fixed;
-    bottom: 0;
-    left: 0;
-  }
-  .btn {
-    width: 75%;
-    height: 90rpx;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-    background: #1d18bc;
-    line-height: 90rpx;
-    color: white;
-    float: left;
-  }
-  .over_hidden {
-    overflow: hidden;
-  }
-  .textflow {
-    text-overflow: ellipsis;
-    white-space: nowrap;
-  }
-  .cell_1 {
-    float: left;
-    width: 100%;
-  }
-
-  .project-column {
-    border-radius: 8rpx 8rpx 0rpx 0rpx;
-    //height: 44rpx;
-    font-size: 32rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #333333;
-    background: #ffffff;
-  }
-  .shuomingflex {
-    display: flex;
-    min-height: 110rpx;
-  }
-  .roomstatus {
-    height: 50rpx;
-    line-height: 50rpx;
-    font-size: 24rpx;
-    padding: 0rpx 16rpx;
-    float: left;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #1d18bc;
-    border: 2rpx solid #1d18bc;
-    margin-left: 16rpx;
-  }
-  .roomstatus:first-child {
-    margin-left: 0 !important;
-  }
-
-  .height50rpx {
-    height: 50rpx;
-  }
-  .pd32 {
-    padding: 32rpx;
-  }
-  .cell_1 {
-    float: left;
-    width: 100%;
-  }
-  .float_left {
-    float: left;
-  }
-  .chuzu_label {
-    width: 312rpx;
-    height: 36rpx;
-    font-size: 26rpx;
-    font-family: PingFang SC-Medium, PingFang SC;
-    font-weight: 500;
-    color: #333333;
-    line-height: 36rpx;
-  }
-  .chuzuborder {
-    border-bottom: 2px solid #cccccc;
-  }
-  .chuzu_vlaue {
-    width: 86rpx;
-    font-size: 32rpx;
-    font-family: PingFang SC-Bold, PingFang SC;
-    font-weight: bold;
-    color: #ec7359;
-    line-height: 38rpx;
-  }
-
-  .list-row {
-    width: calc(100% - 64rpx);
-    padding: 16rpx 32rpx 18rpx 32rpx;
-    background: #ffffff;
-    margin-bottom: 16rpx;
-    display: flex;
-    //height: 278rpx;
-    border-radius: 8rpx 8rpx 8rpx 8rpx;
-  }
-  .mb8rpx {
-    margin-bottom: 8rpx;
-  }
-  padding: 32rpx;
-  .swiper-box {
-    height: 200px;
-  }
-  .content {
-    margin-bottom: 32rpx;
-  }
-  .swiper-item {
-    /* #ifndef APP-NVUE */
-    display: flex;
-    /* #endif */
-    flex-direction: column;
-    justify-content: center;
-    align-items: center;
-    height: 200px;
-    color: #fff;
-  }
-
-  .swiper-item0 {
-    background-color: #cee1fd;
-  }
-
-  .swiper-item1 {
-    background-color: #b2cef7;
-  }
-
-  .swiper-item2 {
-    background-color: #cee1fd;
-  }
-
-  .image {
-    width: 750rpx;
-  }
-
-  .uni-bg-red {
-    background-color: #ff5a5f;
-  }
-
-  .uni-bg-green {
-    background-color: #09bb07;
-  }
-
-  .uni-bg-blue {
-    background-color: #007aff;
-  }
-
-  .active {
-    border-style: solid;
-    border-color: #007aff;
-    border-width: 1px;
-  }
-}
-</style>
-
-

+ 0 - 8
pages/subPackages/liu-easy-map/changelog.md

@@ -1,8 +0,0 @@
-## 1.0.3(2023-06-20)
-优化
-## 1.0.2(2023-06-15)
-增加预览二维码
-## 1.0.1(2023-05-30)
-增加示例
-## 1.0.0(2023-05-30)
-初始发布

+ 0 - 425
pages/subPackages/liu-easy-map/components/liu-easy-map/liu-easy-map.vue

@@ -1,425 +0,0 @@
-<template>
-  <view style="width: 100%; height: 100%">
-    <map
-      style="width: 100%; height: 100%"
-      id="esaymap"
-      :scale="scale"
-      :latitude="nowLat ? nowLat : centerLat"
-      :longitude="nowLng ? nowLng : centerLng"
-      :markers="markers"
-      :polygons="polygonsData"
-      :enable-zoom="isEnableZoom"
-      :enable-scroll="isEnableScroll"
-      :enable-satellite="isShowWxMap"
-      :enable-rotate="isEnableRotate"
-      @markertap="chooseItem"
-      @tap="clickMap"
-    >
-    </map>
-    <view class="rightbox">
-      <view class="boxitem" @click="myArea()">
-        <image
-          class="itemimg"
-          :src="tabIndex ? myaddressOnImg : myaddressImg"
-          mode=""
-        ></image>
-        <view class="itemname" :class="tabIndex ? 'active' : ''">我的位置</view>
-      </view>
-      <view class="boxitem" @click="changeTab(2)" v-if="wxMapShow">
-        <image
-          class="itemimg"
-          :src="tabIndex2 ? wxmapOnImg : wxmapImg"
-          mode=""
-        ></image>
-        <view class="itemname" :class="tabIndex2 ? 'active' : ''"
-          >卫星地图</view
-        >
-      </view>
-    </view>
-    <cover-view class="detailbox" v-if="isShowDetail">
-      <cover-image
-        class="closeicon"
-        :src="closeImg"
-        @click="closeDetail"
-      ></cover-image>
-      <cover-view class="boxl">
-        <cover-view
-          class="boxlhd"
-          style="border-bottom: 2rpx solid rgba(204, 204, 204, 0.3)"
-          >{{ detailData.name || "--" }}</cover-view
-        >
-        <cover-view class="boxlbd">
-          经度位置:{{ detailData.latitude || "--" }}
-        </cover-view>
-
-        <cover-view
-          class="boxlbd"
-          style="
-            border-bottom: 2rpx solid rgba(204, 204, 204, 0.3);
-            margin-bottom: 20rpx;
-          "
-        >
-          纬度位置:{{ detailData.longitude || "--" }}
-        </cover-view>
-        <cover-view class="boxlbd" @click="goRoute">
-          <div
-            style="
-              background: #3045db;
-              width: 80rpx;
-              text-align: center;
-              border-radius: 1rem;
-              padding: 10rpx 20rpx;
-              color: white;
-              float: right;
-            "
-          >
-            导航
-          </div>
-        </cover-view>
-      </cover-view>
-    </cover-view>
-  </view>
-</template>
-
-<script>
-export default {
-  props: {
-    //标记点数据
-    markerData: {
-      type: Array,
-      default() {
-        return [];
-      },
-    },
-    //多边形数据
-    polygons: {
-      type: Array,
-      default() {
-        return [];
-      },
-    },
-    //标记点图标宽度
-    markerIconWidth: {
-      type: Number,
-      default: 22,
-    },
-    //标记点图标高度
-    markerIconHeight: {
-      type: Number,
-      default: 32,
-    },
-    //标记点图标路径
-    markerIconUrl: {
-      type: String,
-      default: "",
-    },
-    //缩放级别 取值范围为3-20
-    scale: {
-      type: Number,
-      default: 16,
-    },
-    //是否显示指南针
-    isShowCompass: {
-      type: Boolean,
-      default: false,
-    },
-    //是否支持缩放
-    isEnableZoom: {
-      type: Boolean,
-      default: true,
-    },
-    //是否支持拖动
-    isEnableScroll: {
-      type: Boolean,
-      default: true,
-    },
-    //是否支持旋转
-    isEnableRotate: {
-      type: Boolean,
-      default: false,
-    },
-  },
-  watch: {
-    markerData: {
-      immediate: true, //初始化的时候是否调用
-      deep: true, //是否开启深度监听
-      handler(newValue, oldValue) {
-        this.markerDatas = newValue;
-        this.showMarkers();
-      },
-    },
-    polygons: {
-      immediate: true, //初始化的时候是否调用
-      deep: true, //是否开启深度监听
-      handler(newValue, oldValue) {
-        this.polygonsData = [...newValue];
-      },
-    },
-  },
-  data() {
-    return {
-      markerImg: require("../../static/marker.png"),
-      goImg: require("../../static/go.png"),
-      myaddressImg: require("../../static/myaddress.png"),
-      wxmapImg: require("../../static/wxmap.png"),
-      myaddressOnImg: require("../../static/myaddress-on.png"),
-      wxmapOnImg: require("../../static/wxmap-on.png"),
-      closeImg: require("../../static/close.png"),
-      polygonsData: [], //polygons区域数据
-      markers: [], //markers数据
-      detailData: {}, //选中展示详情数据
-      nowLat: "", //我的当前位置
-      nowLng: "",
-      tabIndex: false,
-      centerLat: "",
-      centerLng: "",
-      tabIndex2: false,
-      isShowWxMap: false, //是否展示卫星地图
-      isShowDetail: false, //是否展示详情弹框
-      wxMapShow: false, //是否展示卫星地图按钮(小程序展示)
-    };
-  },
-  mounted() {
-    const type = uni.getSystemInfoSync().uniPlatform;
-    if (type == "mp-weixin") {
-      this.wxMapShow = true;
-    }
-    this.showMarkers();
-    if (!this.centerLat || !this.centerLng) this.getLocation();
-    this.myArea();
-  },
-  methods: {
-    myArea() {
-      this.tabIndex = !this.tabIndex;
-      this.getLocation();
-    },
-    //右侧类型切换
-    changeTab(index) {
-      if (index == 1) {
-        this.tabIndex = !this.tabIndex;
-        if (this.tabIndex) this.getLocation();
-        else this.showMarkers();
-      } else {
-        this.tabIndex2 = !this.tabIndex2;
-        if (this.tabIndex2) this.isShowWxMap = true;
-        else this.isShowWxMap = false;
-      }
-    },
-    //获取当前的地理位置
-    getLocation() {
-      uni.getLocation({
-        type: "gcj02",
-        isHighAccuracy: true,
-        highAccuracyExpireTime: 3500,
-        success: (res) => {
-          console.log(res);
-          this.centerLat = res.latitude;
-          this.centerLng = res.longitude;
-          let mapObjs = uni.createMapContext("esaymap", this);
-          mapObjs.moveToLocation(
-            {
-              latitude: res.latitude,
-              longitude: res.longitude,
-            },
-            {
-              complete: (res) => {},
-            }
-          );
-        },
-        fail: (res) => {
-          if (res.errMsg == "getLocation:fail auth deny") {
-            uni.showModal({
-              content: "检测到您没打开获取信息功能权限,是否去设置打开?",
-              confirmText: "确认",
-              cancelText: "取消",
-              success: (res) => {
-                if (res.confirm) {
-                  uni.openSetting({
-                    success: (res) => {},
-                  });
-                } else {
-                  return false;
-                }
-              },
-            });
-          }
-        },
-      });
-    },
-    //到这去
-    goRoute() {
-      uni.openLocation({
-        latitude: +this.detailData.latitude,
-        longitude: +this.detailData.longitude,
-        scale: 17,
-        name: this.detailData.name || "--",
-        address: this.detailData.address || "--",
-      });
-    },
-    //地图打点展示marker
-    showMarkers() {
-      if (this.markerDatas && this.markerDatas.length > 0) {
-        var arr = [];
-        for (var i = 0; i < this.markerDatas.length; i++) {
-          arr.push({
-            id: Number(this.markerDatas[i].id),
-            latitude: this.markerDatas[i].latitude || "", //纬度
-            longitude: this.markerDatas[i].longitude || "", //经度
-            iconPath: this.markerDatas[i].markerUrl
-              ? this.markerDatas[i].markerUrl
-              : this.markerImg, //显示的图标
-            rotate: 0, // 旋转度数
-            width: this.markerDatas[i].iconWidth
-              ? this.markerDatas[i].iconWidth
-              : this.markerIconWidth, //宽
-            height: this.markerDatas[i].iconHeight
-              ? this.markerDatas[i].iconHeight
-              : this.markerIconHeight, //高
-            callout: {
-              //自定义标记点上方的气泡窗口 点击有效
-              content: this.markerDatas[i].name, //文本
-              color: this.markerDatas[i].calloutColor || "#ffffff", //文字颜色
-              fontSize: this.markerDatas[i].calloutFontSize || 14, //文本大小
-              borderRadius: this.markerDatas[i].calloutBorderRadius || 6, //边框圆角
-              padding: this.markerDatas[i].calloutPadding || 6,
-              bgColor: this.markerDatas[i].calloutBgColor || "#0B6CFF", //背景颜色
-              display: this.markerDatas[i].calloutDisplay || "BYCLICK", //常显
-            },
-          });
-        }
-        this.markers = arr;
-      }
-    },
-    //点击标记点
-    chooseItem(e) {
-      let markerId = e.detail.markerId;
-      for (var i = 0; i < this.markerDatas.length; i++) {
-        if (this.markerDatas[i].id == markerId) {
-          this.isShowDetail = true;
-          this.detailData = this.markerDatas[i];
-          this.$emit("clickMarker", this.markerDatas[i]);
-          break;
-        }
-      }
-    },
-    //点击地图(仅微信小程序支持)
-    clickMap(e) {
-      // #ifdef MP-WEIXIN
-      let lat = e.detail.latitude.toFixed(5);
-      let lng = e.detail.longitude.toFixed(5);
-      this.$emit("clickMap", {
-        latitude: lat,
-        longitude: lng,
-      });
-      // #endif
-    },
-    //关闭详情弹框
-    closeDetail() {
-      this.detailData = {};
-      this.isShowDetail = false;
-    },
-  },
-};
-</script>
-
-<style>
-.rightbox {
-  padding: 0 8rpx;
-  background: #ffffff;
-  box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(200, 200, 200, 0.5);
-  border-radius: 14rpx;
-  position: fixed;
-  top: 185rpx;
-  right: 20rpx;
-}
-
-.boxitem {
-  display: flex;
-  flex-direction: column;
-  text-align: center;
-  padding-bottom: 8rpx;
-  border-bottom: 2rpx solid #e4e4e4;
-}
-
-.itemimg {
-  width: 40rpx;
-  height: 40rpx;
-  margin: 16rpx auto 4rpx;
-}
-
-.itemname {
-  font-size: 22rpx;
-  font-weight: 400;
-  color: #333333;
-  line-height: 42rpx;
-}
-
-.active {
-  color: #2765f1;
-}
-
-.detailbox {
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-  width: calc(100% - 128rpx);
-  padding: 24rpx 32rpx;
-  background: #ffffff;
-  border-radius: 16rpx;
-  position: fixed;
-  bottom: 32rpx;
-  left: 32rpx;
-}
-
-.closeicon {
-  width: 40rpx;
-  height: 40rpx;
-  position: absolute;
-  right: 16rpx;
-  top: 12rpx;
-}
-
-.boxl {
-  width: 100%;
-}
-
-.boxlhd {
-  margin-bottom: 16rpx;
-  white-space: pre-wrap;
-  font-size: 36rpx;
-  font-weight: bold;
-  color: #333333;
-  line-height: 48rpx;
-}
-
-.boxlbd {
-  font-size: 30rpx;
-  font-weight: 400;
-  color: #333333;
-  line-height: 46rpx;
-  white-space: pre-wrap;
-}
-
-.boxr {
-  width: 96rpx;
-  display: flex;
-  align-items: center;
-  position: relative;
-}
-
-.boxr::before {
-  width: 2rpx;
-  height: 96rpx;
-  background: #e3e3e3;
-  content: "";
-  position: relative;
-  left: 0;
-  z-index: 99;
-}
-
-.boxrimg {
-  width: 64rpx;
-  height: 64rpx;
-  margin: 0 auto;
-}
-</style>

+ 0 - 6
pages/subPackages/liu-easy-map/license.md

@@ -1,6 +0,0 @@
-### 1、本插件可免费下载使用;
-### 2、未经许可,严禁复制本插件派生同类插件上传插件市场;
-### 3、未经许可,严禁在插件市场恶意复制抄袭本插件进行违规获利;
-### 4、对本软件的任何使用都必须遵守这些条款,违反这些条款的个人或组织将面临法律追究。
-
-

+ 0 - 85
pages/subPackages/liu-easy-map/package.json

@@ -1,85 +0,0 @@
-{
-  "id": "liu-easy-map",
-  "displayName": "map地图 标记点、区域、详情弹层",
-  "version": "1.0.3",
-	"description": "(超级简单好用)map地图,支持标记点、画区域、标记点详情弹层、导航等",
-  "keywords": [
-    "map",
-    "地图",
-    "地图组件",
-    "地图区域",
-    "气泡、详情"
-],
-  "repository": "",
-  "engines": {
-    "HBuilderX": "^3.1.0"
-  },
-  "dcloudext": {
-    "type": "component-vue",
-    "sale": {
-      "regular": {
-        "price": "0.00"
-      },
-      "sourcecode": {
-        "price": "0.00"
-      }
-    },
-    "contact": {
-      "qq": ""
-    },
-    "declaration": {
-    	"ads": "无",
-    	"data": "无",
-    	"permissions": "授权位置信息"
-    },
-    "npmurl": ""
-  },
-  "uni_modules": {
-    "dependencies": [],
-    "encrypt": [],
-    "platforms": {
-      "cloud": {
-        "tcb": "y",
-        "aliyun": "y"
-      },
-      "client": {
-        "Vue": {
-          "vue2": "y",
-          "vue3": "u"
-        },
-        "App": {
-          "app-vue": "u",
-          "app-nvue": "u"
-        },
-        "H5-mobile": {
-          "Safari": "y",
-          "Android Browser": "y",
-          "微信浏览器(Android)": "y",
-          "QQ浏览器(Android)": "y"
-        },
-        "H5-pc": {
-          "Chrome": "u",
-          "IE": "u",
-          "Edge": "u",
-          "Firefox": "u",
-          "Safari": "u"
-        },
-        "小程序": {
-          "微信": "y",
-          "阿里": "u",
-          "百度": "u",
-          "字节跳动": "u",
-          "QQ": "u",
-          "钉钉": "u",
-          "快手": "u",
-          "飞书": "u",
-          "京东": "u"
-        },
-        "快应用": {
-          "华为": "u",
-          "联盟": "u"
-        }
-      }
-    }
-  }
-}

+ 0 - 121
pages/subPackages/liu-easy-map/readme.md

@@ -1,121 +0,0 @@
-# liu-easy-map 适用于uni-app项目的map地图组件
-### 本组件目前兼容微信小程序、H5
-### 本组件是超级简单好用map地图,支持标记点、画区域、标记点详情弹层、导航等(走过路过不要错过)
-# --- 扫码预览、关注我们 ---
-
-## 扫码关注公众号,查看更多插件信息,预览插件效果! 
-
-![](https://uni.ckapi.pro/uniapp/publicize.png)
-
-### 注意事项
-### 由于组件内使用getLocation官方api获取当前定位,上线前需在公众平台开通并在manifest.json中配置
-### 因组件根本为内置map组件,组件包含多个属性均与官方文档差异说明一致,建议使用者先大概阅读官方文档
-
-### 使用示例
-``` 
-<template>
-	<view class="page-main">
-		<liu-easy-map ref="liuEasyMap" :centerLat="'36.05709'" :centerLng="'103.82538'" :scale="14"
-			:markerData="markerData" :polygons="polygons" @clickMarker="markerClick"></liu-easy-map>
-	</view>
-</template>
-
-<script>
-	export default {
-		data() {
-			return {
-				markerData: [{
-					id: 1,
-					name: '兰州市政府', //标记点展示名字
-					address: '甘肃省兰州市城关区人民政府',
-					latitude: '36.05989', //标记点纬度
-					longitude: '103.83502', //标记点经度
-					markerUrl: 'https://img0.baidu.com/it/u=550544800,2229099292&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500', //标记点图标地址
-					iconWidth: 32, //标记点图标宽度
-					iconHeight: 32, //标记点图标高度
-					calloutColor: '#ffffff', //气泡窗口 文本颜色
-					calloutFontSize: 14, //气泡窗口 文本大小
-					calloutBorderRadius: 6, //气泡窗口 边框圆角
-					calloutPadding: 8, //气泡窗口 文本边缘留白
-					calloutBgColor: '#0B6CFF', //气泡窗口 背景颜色
-					calloutDisplay: 'ALWAYS', //气泡窗口 展示类型 默认常显 'ALWAYS' 常显 'BYCLICK' 点击显示
-				}, {
-					id: 2,
-					name: '测试地址', //标记点展示名字
-					address: '测试地址详细地址测试地址详细地址测试地址详细地址测试地址详细地址',
-					latitude: "36.05064",
-					longitude: "103.82538"
-				}],
-				//展示区域点位信息
-				polygons: [{
-					points: [{
-						latitude: "36.06637",
-						longitude: "103.82471"
-					}, {
-						latitude: "36.06255",
-						longitude: "103.82321"
-					}, {
-						latitude: "36.06234",
-						longitude: "103.81928"
-					}, {
-						latitude: "36.06036",
-						longitude: "103.82175"
-					}, {
-						latitude: "36.05653",
-						longitude: "103.82152"
-					}, {
-						latitude: "36.05953",
-						longitude: "103.82476"
-					}, {
-						latitude: "36.05690",
-						longitude: "103.82785"
-					}, {
-						latitude: "36.06023",
-						longitude: "103.82747"
-					}, {
-						latitude: "36.06243",
-						longitude: "103.83014"
-					}, {
-						latitude: "36.06245",
-						longitude: "103.82616"
-					}], //经纬度数组
-					strokeWidth: 2, //描边的宽度
-					strokeColor: "#FF000060", //描边的颜色
-					fillColor: "#FF000090" //填充颜色
-				}]
-			}
-		},
-		methods: {
-			//点击标记点
-			markerClick(e) {
-				console.log('点击标记点信息:', e)
-			}
-		}
-	}
-</script>
-
-<style lang="scss">
-	.page-main {
-		width: 100%;
-		height: 100vh;
-	}
-</style>
-```
-
-### 属性说明
-| 名称                         | 类型            | 默认值                 | 描述            |
-| ----------------------------|--------------- | ---------------------- | ---------------|
-| centerLat                   | String         | 当前定位纬度             | 地图展示中心点纬度
-| centerLng                 	| String         | 当前定位经度             | 地图展示中心点经度
-| markerData                  | Array          | []                     | 标记点数据
-| polygons		                | Array          | []                     | 多边形数据
-| markerIconWidth             | Number         | 22                     | 标记点图标宽度
-| markerIconHeight            | Number         | 32                     | 标记点图标高度
-| markerIconUrl               | String         | ''                     | 标记点图标路径
-| scale                      	| Number         | 16                     | 缩放级别 取值范围为3-20
-| isShowCompass               | Boolean        | false                  | 是否显示指南针
-| isEnableZoom                | Boolean        | true                   | 是否支持缩放
-| isEnableScroll              | Boolean        | true                   | 是否支持拖动
-| isEnableRotate              | Boolean        | false                  | 是否支持旋转
-| @clickMarker                | Function        |                       | 点击标记点回调事件
-| @clickMap                   | Function        |                       | 点击地图(微信小程序2.9支持)

BIN
pages/subPackages/liu-easy-map/static/close.png


BIN
pages/subPackages/liu-easy-map/static/go.png


BIN
pages/subPackages/liu-easy-map/static/marker.png


BIN
pages/subPackages/liu-easy-map/static/markerone.png


BIN
pages/subPackages/liu-easy-map/static/myaddress-on.png


BIN
pages/subPackages/liu-easy-map/static/myaddress.png


+ 0 - 0
pages/subPackages/liu-easy-map/static/wxmap-on.png


Некоторые файлы не были показаны из-за большого количества измененных файлов