| | |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const sendLoginCode = (params) => { |
| | | return http.request({ |
| | | url: '/blade-smsSend/smsSend/loginSend', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const checkLoginCode = (params) => { |
| | | return http.request({ |
| | | url: '/blade-smsSend/smsSend/checkCode', |
| | | method: 'get', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const searchContent = (params) => { |
| | | return http.request({ |
| | | url: '/es/es/page', |
| | |
| | | version: '2.0.0', |
| | | // 开发环境接口Url |
| | | // devUrl: 'http://z4042833u6.wicp.vip', |
| | | devUrl: 'http://192.168.2.111:9528', |
| | | devUrl: 'http://192.168.2.105:9528', |
| | | // devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | // devUrl: 'https://kt39592615.goho.co', |
| | | minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/", |
| | |
| | | top:6rpx; |
| | | display: inline-block; |
| | | } |
| | | .login-mode { |
| | | padding: 20rpx; |
| | | } |
| | | |
| | | .login-input { |
| | | height: 90rpx; |
| | | border-radius: 45rpx; |
| | | background-color: #f0f0f0; |
| | | padding: 0 30rpx 0 40rpx; |
| | | margin-top: 20rpx; |
| | | width: 550rpx; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .login-input text { |
| | | flex: 1; |
| | | } |
| | | |
| | | .login-input input { |
| | | height: 90rpx; |
| | | width: 100%; |
| | | // flex: 3 |
| | | } |
| | | |
| | | .login-input-btn { |
| | | width: 200rpx; |
| | | height: 60rpx; |
| | | line-height: 60rpx; |
| | | border-radius: 30rpx; |
| | | padding: 0; |
| | | margin: 0; |
| | | transition: all ease-out .3s; |
| | | border: none; |
| | | } |
| | | |
| | | .login-input-btn::after { |
| | | border: none; |
| | | } |
| | | |
| | | .login-input-btn[disabled] { |
| | | background-color: #fff !important; |
| | | color: #aaa !important; |
| | | } |
| | | |
| | | .login-explain { |
| | | margin-top: 10rpx; |
| | | } |
| | | |
| | | .login-btn { |
| | | width: 550rpx; |
| | | height: 90rpx; |
| | | line-height: 90rpx; |
| | | border-radius: 45rpx; |
| | | margin-top: 50rpx; |
| | | transition: all ease-out .3s; |
| | | } |
| | | |
| | | .login-btn[disabled] { |
| | | background-color: #9DB9F7 !important; |
| | | color: #fff !important; |
| | | } |
| | | |
| | |
| | | </view>
|
| | | </u-grid-item>
|
| | | <!-- <block v-if="curSelectSite.categoryList[0].parentNo == 1601"> -->
|
| | |
|
| | | <u-grid-item @click="navToSchoolClockIn()" v-if="roleName == 'xyty'">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon name="/static/icon/nav-29.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <text class="nav-item-text f-26 mt-10">护学打卡</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | | <block v-if="roleName == 'xyzt' || roleName == 'xyty'">
|
| | | <u-grid-item @click="navToSchoolClockIn()">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon name="/static/icon/nav-29.png" width="80rpx"
|
| | | height="80rpx"></u-icon>
|
| | | <text class="nav-item-text f-26 mt-10">护学打卡</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | | <u-grid-item @click="navigatorPage('/subPackage/school/trouble?type=1')">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon name="/static/icon/nav-29.png" width="80rpx"
|
| | |
| | | <notice-list :data="notice" />
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | </view>
|
| | |
|
| | |
|
| | | <u-popup :show="isShowModal" @close="isShowModal = false" mode="center" :round="10"
|
| | | :closeOnClickOverlay="false">
|
| | | <view class='login-mode'>
|
| | | <view class="f-30 fw">
|
| | | 安全验证
|
| | | </view>
|
| | | <view class="login-input">
|
| | | <input class='f-30 c-33' type='number' placeholder='请输入手机号' v-model="phone"
|
| | | placeholder-class='c-aa f-28'></input>
|
| | | </view>
|
| | |
|
| | | <view class='flex a-i-c login-input'>
|
| | |
|
| | | <input class='f-30 c-33' type='number' placeholder='请输入验证码' v-model="validationCode"
|
| | | placeholder-class='c-aa f-28'></input>
|
| | | <button class='login-input-btn f-24 c-33' :disabled="phone?false:true"
|
| | | @click='getValidationCode'>{{text}}</button>
|
| | | </view>
|
| | | <!-- <button class='login-btn c-ff f-30' :class='validationCode?"bgc-main":""'
|
| | | :disabled="validationCode?false:true">确定</button> -->
|
| | | <button class='login-btn c-ff f-30 bgc-main' @click="confirmValidationCode()">确定</button>
|
| | | </view>
|
| | | </u-popup>
|
| | |
|
| | |
|
| | |
|
| | | <tabBar :current="0" :list="tabList" />
|
| | | </view>
|
| | | </template>
|
| | |
| | | getBannerList,
|
| | | getContact,
|
| | | getQrCodeDetail,
|
| | | searchContent
|
| | | searchContent,
|
| | | sendLoginCode,
|
| | | checkLoginCode
|
| | | } from "@/api/system/index"
|
| | | import {
|
| | | minioBaseUrl
|
| | |
| | | ],
|
| | |
|
| | |
|
| | |
|
| | | tabs3: [{
|
| | | name: '公众服务',
|
| | | list: [{
|
| | |
| | | tabList: [],
|
| | | keyword: "",
|
| | | searchList: [],
|
| | | roleName: ""
|
| | | roleName: "",
|
| | | isShowModal: false,
|
| | | phone: "",
|
| | | validationCode: "",
|
| | | text: "获取验证码",
|
| | | isSendCode: false,
|
| | | isCheckCode: false
|
| | | }
|
| | | },
|
| | |
|
| | | onLoad() {
|
| | |
|
| | | this.init()
|
| | | uni.$on('refresh', () => {
|
| | | this.selectSiteIndex = [0, 0]
|
| | |
| | | onShareAppMessage() {
|
| | |
|
| | | },
|
| | |
|
| | | computed: {
|
| | | hasMenu() {
|
| | | return (name) => {
|
| | |
| | | }
|
| | | }
|
| | | },
|
| | |
|
| | | watch: {
|
| | | 'curSelectSite.id': {
|
| | | handler(newVal, oldVal) {
|
| | |
| | | deep: true,
|
| | | immediate: true
|
| | | },
|
| | |
|
| | | 'curSelectSite.addressType': {
|
| | | handler(newVal, oldVal) {
|
| | | if (newVal) {
|
| | |
| | | let data = res.data;
|
| | | let count = 0;
|
| | | count += Number(data.bqsj) + Number(data.xfzc) + Number(data.xfyhzg) + Number(data.qbhs) +
|
| | | Number(data.cssh) + Number(data.czsh) + Number(data.jzzsq) + Number(data.wztj);
|
| | | Number(data.cssh) + Number(data.czsh) + Number(data.jzzsq) + Number(data.wztj) + Number(
|
| | | data.xyaqyhpc) + Number(data.xyjfmd) + Number(data.xyyh);
|
| | | this.taskCount = count
|
| | | })
|
| | | },
|
| | |
| | | uni.setStorageSync("curHouseCode", data[0].children[0].id)
|
| | | }
|
| | | uni.setStorageSync("curStreet", data[0].name);
|
| | |
|
| | | if (this.selectRole.roleAlias == "xyzt" && uni.getStorageSync("pageType")) {
|
| | | uni.navigateTo({
|
| | | url: `/subPackage/school/trouble?type=${uni.getStorageSync("pageType")}`
|
| | | })
|
| | | }
|
| | | if (this.selectRole.roleAlias == "xyty" && uni.getStorageSync("pageType")) {
|
| | | this.isShowModal = true;
|
| | | }
|
| | | }
|
| | | // this.buildSiteColumn(data, 0)
|
| | | },
|
| | |
|
| | | getValidationCode() {
|
| | | let phone_reg = /^1(3|4|5|6|7|8|9)\d{9}$/;
|
| | | if (!phone_reg.test(this.phone)) {
|
| | | this.$showTips("手机号码有误~");
|
| | | return false;
|
| | | }
|
| | | if (this.isSendCode) return;
|
| | | let second = 60;
|
| | | this.isSendCode = true;
|
| | | sendLoginCode({
|
| | | phone: uni.getStorageSync("userInfo").phone,
|
| | | }).then(res => {
|
| | | if (res.code == 200) {
|
| | | let time = setInterval(() => {
|
| | | second--
|
| | | this.text = `${second}秒后获取`
|
| | | if (second == 0 || !this.isLogin) {
|
| | | clearInterval(time);
|
| | | this.isSendCode = false
|
| | | this.text = "获取验证码";
|
| | | }
|
| | | }, 1000)
|
| | | } else {
|
| | | this.isSendCode = false;
|
| | | }
|
| | | })
|
| | | },
|
| | |
|
| | | confirmValidationCode() {
|
| | | if (!this.validationCode) {
|
| | | this.$showTips("请输入验证码");
|
| | | return
|
| | | }
|
| | | this.checkCodeRequest();
|
| | | },
|
| | |
|
| | | checkCodeRequest() {
|
| | | checkLoginCode({
|
| | | phone: this.phone,
|
| | | code: this.validationCode
|
| | | }).then(res => {
|
| | | if (res.code == 200) {
|
| | | this.navToPage();
|
| | | }
|
| | | })
|
| | | },
|
| | |
|
| | | navToPage() {
|
| | | if (uni.getStorageSync("pageType") == 3) {
|
| | | uni.navigateTo({
|
| | | url: "/subPackage/school/clockIn"
|
| | | })
|
| | | } else {
|
| | | uni.navigateTo({
|
| | | url: `/subPackage/school/trouble?type=${uni.getStorageSync("pageType")}`
|
| | | })
|
| | | }
|
| | | },
|
| | |
|
| | | buildSiteColumn(dataList, index) {
|
| | |
| | | },
|
| | |
|
| | | setLiveMenu(arr) {
|
| | | console.log("0000", arr);
|
| | | if (arr.length) {
|
| | | let index3 = arr.findIndex(item => item.name.trim() == "取保监居")
|
| | | console.log("0000", index3)
|
| | | if (index3 != -1) {
|
| | | console.log(uni.getStorageSync("activeRole").roleName, 11111);
|
| | | this.isBailer = true;
|
| | |
| | | // }]
|
| | | // })
|
| | | } else {
|
| | | console.log(2222)
|
| | | this.isBailer = false;
|
| | | let itemIndex = this.tabs.findIndex(item => item.name.trim() == "警务服务")
|
| | | if (itemIndex != -1) {
|
| | |
| | | form: { |
| | | phone: "", |
| | | password: "", |
| | | |
| | | |
| | | }, |
| | | rules: { |
| | | 'phone': [{ |
| | |
| | | } |
| | | }, |
| | | |
| | | onLoad() { |
| | | onLoad(option) { |
| | | if (option.type) { |
| | | //type 1 安全隐患 2 矛盾纠纷 3 护学打卡 |
| | | |
| | | uni.setStorageSync("pageType", option.type); |
| | | } |
| | | this.screenHeight = `${uni.getSystemInfoSync().screenHeight}px`; |
| | | this.form.phone = uni.getStorageSync("phoneNmber"); |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | accountLogin() { |
| | | // if(!this.isAgreement){ |
| | | |
| | |
| | | margin-top: 40rpx; |
| | | font-weight: 700; |
| | | font-size: 32rpx; |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | height: 104rpx; |
| | | display: block; |
| | | margin: 320rpx 0 120rpx; |
| | | |
| | | } |
| | | |
| | | .content { |
| | |
| | | <template> |
| | | <view class=""> |
| | | |
| | | |
| | | <view class="top item flex j-c-s-b a-i-c bgc-ff" @click="onScan()" v-if="roleName =='mj'"> |
| | | <view class="flex a-i-c"> |
| | | <u-icon name="/static/icon/nav-05.png" width="90rpx" height="90rpx"></u-icon> |
| | | <text class="f-28 ml-10">扫码获取信息</text> |
| | | </view> |
| | | <u-icon name="arrow-right" size="20"></u-icon> |
| | | </view> |
| | | |
| | | <view class="content bgc-ff"> |
| | | <u-form labelPosition="left" :model="info" :rules="rules" ref="form" labelWidth="90" |
| | | :labelStyle="{fontSize:'28rpx'}"> |
| | | <u-form-item label="家长姓名" prop="name" borderBottom ref="name"> |
| | | |
| | | <u-form-item label="角色类型" prop="type" borderBottom ref="phone" @click="showPicker = true" |
| | | v-if="roleName !='mj'"> |
| | | <u-input v-model="clockInRoleTypeValue" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right" disabled disabledColor="#ffffff"></u-input> |
| | | <u-icon slot="right" name="arrow-right"></u-icon> |
| | | </u-form-item> |
| | | |
| | | <u-form-item label="家长姓名" prop="name" borderBottom ref="name" v-if="info.type == 2"> |
| | | <u-input v-model="info.name" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | |
| | | <u-form-item label="家长手机号" prop="phone" borderBottom ref="phone"> |
| | | <u-form-item label="家长手机号" prop="phone" borderBottom ref="phone" v-if="info.type == 2"> |
| | | <u-input v-model="info.phone" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="学生姓名" prop="realName" borderBottom ref="realName"> |
| | | <u-form-item label="学生姓名" prop="realName" borderBottom ref="realName" v-if="info.type != 2"> |
| | | <u-input v-model="info.realName" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="学生班级" prop="gradeAndClass" borderBottom ref="gradeAndClass"> |
| | | <u-form-item label="学生班级" prop="gradeAndClass" borderBottom ref="gradeAndClass" v-if="info.type != 2"> |
| | | <u-input v-model="info.gradeAndClass" border="none" placeholder="请输入" placeholderClass="f-28 c-99" |
| | | inputAlign="right"></u-input> |
| | | </u-form-item> |
| | |
| | | </view> |
| | | |
| | | |
| | | <button class="submit-btn" @click="sumitInfo">提交</button> |
| | | <!-- <button class="submit-btn" @click="sumitInfo">提交</button> --> |
| | | <!-- <button class="list-btn" @click="navigatorPage">我上报的事件</button> --> |
| | | |
| | | <footer-btn @click="sumitInfo"></footer-btn> |
| | | |
| | | |
| | | <u-picker :defaultIndex="clockInRoleTypeIndex" :closeOnClickOverlay="true" :show="showPicker" |
| | | :columns="[statusList]" @close="showPicker = false" @cancel="showPicker = false" keyName="name" |
| | | @confirm="confirmPicker"></u-picker> |
| | | |
| | | |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | |
| | | import { |
| | | addClockIn |
| | | } from "@/api/school/school.js"; |
| | | |
| | | |
| | | import { |
| | | getQrCodeDetail |
| | | } from "@/api/system/index" |
| | | export default { |
| | | mixins: [uploadMixin], |
| | | data() { |
| | | return { |
| | | info: { |
| | | type: "", |
| | | name: "", |
| | | phone: "", |
| | | location: "", |
| | | gradeAndClass: "", |
| | | lat: "", |
| | | lng: "" |
| | | lng: "", |
| | | houseCode: "" |
| | | }, |
| | | rules: { |
| | | 'name': { |
| | |
| | | }, |
| | | desc: "", |
| | | title: "", |
| | | curSelectSite: {} |
| | | curSelectSite: {}, |
| | | statusList: [{ |
| | | name: "家长", |
| | | id: 2 |
| | | }, |
| | | { |
| | | name: "老师", |
| | | id: 3 |
| | | }, |
| | | |
| | | { |
| | | name: "志愿者", |
| | | id: 4 |
| | | } |
| | | ], |
| | | clockInRoleTypeList: [], |
| | | clockInRoleTypeIndex: [0], |
| | | clockInRoleTypeValue: "", |
| | | showPicker: false, |
| | | roleName: "" |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | if (option.type) { |
| | | this.info.type = option.type |
| | | } |
| | | |
| | | let { |
| | | roleAlias |
| | | } = uni.getStorageSync("activeRole"); |
| | | this.roleName = roleAlias |
| | | if (roleAlias == "mj") { |
| | | this.info.type = 1; |
| | | } else { |
| | | this.info.houseCode = uni.getStorageSync("siteInfo").houseCode; |
| | | } |
| | | |
| | | }, |
| | | // onShow() { |
| | |
| | | // this.info.addressCode = this.curSelectSite.houseCode |
| | | // }, |
| | | methods: { |
| | | |
| | | |
| | | getLocation() { |
| | | uni.chooseLocation({ |
| | |
| | | |
| | | |
| | | sumitInfo() { |
| | | |
| | | this.$refs.form.validate().then(valid => { |
| | | if (this.form.images.length > 0) { |
| | | let urls = [] |
| | |
| | | }) |
| | | this.info.images = urls.join(",") |
| | | } |
| | | |
| | | addClockIn(this.info).then(res => { |
| | | this.$showTips("提交成功", "success") |
| | | setTimeout(() => { |
| | |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | //选择隐患类型 |
| | | confirmPicker(e) { |
| | | this.clockInRoleTypeIndex = e.indexs; |
| | | this.clockInRoleTypeValue = e.value[0].name; |
| | | this.info.type = e.value[0].value; |
| | | this.showPicker = false; |
| | | }, |
| | | |
| | | |
| | | navigatorPage() { |
| | | let url = "/subPackage/bs/views/repairList" + "?title=" + this.title + "&type=" + this.info.type |
| | | this.$u.func.globalNavigator(url, "navTo") |
| | | } |
| | | }, |
| | | |
| | | |
| | | onScan() { |
| | | uni.scanCode({ |
| | | success: (res) => { |
| | | let obj = this.getUrlParams(res.result); |
| | | this.getHouseType(obj.stdId); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | getUrlParams(url) { |
| | | let urlStr = url.split('?')[1] |
| | | let obj = {}; |
| | | let paramsArr = urlStr.split('&') |
| | | for (let i = 0, len = paramsArr.length; i < len; i++) { |
| | | let arr = paramsArr[i].split('=') |
| | | obj[arr[0]] = arr[1]; |
| | | } |
| | | return obj |
| | | }, |
| | | |
| | | getHouseType(code) { |
| | | getQrCodeDetail({ |
| | | roleName: uni.getStorageSync("activeRole").roleName, |
| | | addressCode: code |
| | | }).then(res => { |
| | | let { |
| | | isJur, |
| | | doorplateType, |
| | | addressLevel |
| | | } = res.data; |
| | | if (isJur == 1) { |
| | | if (doorplateType == "中门牌" || doorplateType == "小门牌") { |
| | | this.info.houseCode = code; |
| | | } |
| | | } else { |
| | | uni.showModal({ |
| | | title: "提示!", |
| | | content: "该区域不是您管辖范围", |
| | | showCancel: false |
| | | }) |
| | | } |
| | | |
| | | }) |
| | | }, |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | background-color: #F5F5F5; |
| | | } |
| | | |
| | | .top { |
| | | padding: 20rpx; |
| | | margin: 20rpx 30rpx 0; |
| | | } |
| | | |
| | | .content { |
| | | margin: 20rpx 30rpx; |
| | | padding: 0 30rpx; |
| | |
| | | <!-- <block v-if="info.rectificationFlag == 2"> |
| | | |
| | | </block> --> |
| | | <audit-action v-if="roleType == 1 && info.status == 1 && info.rectificationFlag != 3" @handle="submitAudit" /> |
| | | <audit-action v-if="roleType == 1 && info.status == 1 && info.rectificationFlag == 2" @handle="submitAudit" /> |
| | | <block v-if="info.rectificationFlag == 1"> |
| | | <footer-btn v-if="roleType == 2 &&( info.status == 3 || info.status == 1)" text="提交" |
| | | @click="submitInfo()" /> |
| | |
| | | required: true, |
| | | message: '请输入家长姓名', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | |
| | | } |
| | | }, |
| | | desc: "", |
| | | title: "", |
| | |
| | | <view class="list"> |
| | | <view class="list-item bgc-ff mb-20" v-for="item in siteList" :key="item.id" @click="pushPage(item.id)"> |
| | | <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw" v-if="item.type == 1">校园安全隐患排查</text> |
| | | <text class="f-32 fw" v-if="item.type == 2">校园矛盾纠纷排查</text> |
| | | <text class="f-32 fw">{{item.placeName}}</text> |
| | | |
| | | <!-- <u-tag text="待审批" type="warning" plain plainFill></u-tag> --> |
| | | <u-tag class="u_tag" size="mini" :text="findObjValue(item.confirmFlag, tabList).name" |
| | | :type="findObjValue(item.confirmFlag, tabList).type" plain plainFill></u-tag> |
| | |
| | | <audit-action @handle="submit" |
| | | v-if="roleType == 2 && info.confirmFlag == 1 && roleTypeName == 'mj' "></audit-action> |
| | | <footer-btn v-if="roleType == 1 && info.confirmFlag == 3" text="编辑" @click="navToEdit" /> |
| | | <footer-btn v-if="roleTypeName == 'xyzt'" text="上报" @click="submitInfo" /> |
| | | <footer-btn v-if="roleTypeName == 'xyzt'" @click="submitInfo" /> |
| | | </view> |
| | | |
| | | </template> |
| | |
| | | id: 2 |
| | | } |
| | | ], |
| | | roleTypeName: "" |
| | | roleTypeName: "", |
| | | |
| | | } |
| | | }, |
| | | |
| | |
| | | i.count = data.cssh; |
| | | } else if (i.name.trim() == "无诈申请") { |
| | | i.count = data.wztj; |
| | | } else if (i.name.trim() == "校园安全隐患排查") { |
| | | i.count = data.xyaqyhpc; |
| | | } else if (i.name.trim() == "校园纠纷矛盾") { |
| | | i.count = data.xyjfmd; |
| | | } else if (i.name.trim() == "校园安保检查") { |
| | | i.count = data.xyyh; |
| | | } else { |
| | | i.count = data.qbhs; |
| | | } |
| | |
| | | <view class="list-item bgc-ff mb-20" v-for="(i,k) in list" :key="k" |
| | | @click="navTo(i.id,i.reportType,i.status,i.type)"> |
| | | <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw">{{i.name}}</text> |
| | | <text class="f-32 fw" v-if="i.reportType == 4">{{i.placeName}}</text> |
| | | <text class="f-32 fw" v-else>{{i.name}}</text> |
| | | <u-tag v-if="i.status == 4" text="待完成" type="warning" plain plainFill></u-tag> |
| | | <u-tag v-if="i.status == 1" text="待审批" type="warning" plain plainFill></u-tag> |
| | | <u-tag v-if="i.status == 2" text="审核通过" type="success" plain plainFill></u-tag> |
| | |
| | | </u-form-item>
|
| | | </view>
|
| | |
|
| | | <view class="item" v-if="firstId == 1601">
|
| | | <view class="item" v-if="form.label == 160102 || form.label == 160103">
|
| | | <view class="flex j-c-s-b a-i-c">
|
| | | <view class="box-title" style="width:50%;">
|
| | | <box-title title="学校信息"></box-title>
|
| | |
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="专职保安:" prop="securityNumoer">
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.securityNumoer"
|
| | | label="专职保安:" prop="securityNumber">
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.securityNumber"
|
| | | placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="专职门卫:" prop="gusrdNumber">
|
| | | <u--input border="none" v-model="form.placeExtEntity.gusrdNumber" placeholder="请输入">
|
| | | label="专职门卫:" prop="guardNumber">
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.guardNumber"
|
| | | placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="专兼职保卫人员:" prop="temporarySecurityNumber">
|
| | | <u--input border="none" v-model="form.placeExtEntity.temporarySecurityNumber" placeholder="请输入">
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.temporarySecurityNumber"
|
| | | placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="走读/寄宿:" prop="daystudentsNumber">
|
| | | <u--input border="none" v-model="form.placeExtEntity.daystudentsNumber" placeholder="请输入">
|
| | | label="走读/寄宿:" prop="dayStudentsNumber">
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.dayStudentsNumber"
|
| | | placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="住校生人数:" prop="residentialStudentsNumber">
|
| | | <u--input border="none" v-model="form.placeExtEntity.residentialStudentsNumber"
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.residentialStudentsNumber"
|
| | | placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="宿舍管理人员:" prop="housemasterNumber">
|
| | | <u--input border="none" v-model="form.placeExtEntity.housemasterNumber" placeholder="请输入">
|
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.housemasterNumber"
|
| | | placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | </view>
|
| | |
| | |
|
| | | studentNumber: "",
|
| | | workersNumber: "",
|
| | | securityNumoer: "",
|
| | | gusrdNumber: "",
|
| | | securityNumber: "",
|
| | | guardNumber: "",
|
| | | temporarySecurityNumber: "",
|
| | | daystudentsNumber: "",
|
| | | dayStudentsNumber: "",
|
| | | residentialStudentsNumber: "",
|
| | | housemasterNumber: ""
|
| | | }
|
| | |
| | | legalTel: "",
|
| | | legalIdCard: "",
|
| | | placeId: "",
|
| | |
|
| | | studentNumber: "",
|
| | | workersNumber: "",
|
| | | securityNumber: "",
|
| | | guardNumber: "",
|
| | | temporarySecurityNumber: "",
|
| | | dayStudentsNumber: "",
|
| | | residentialStudentsNumber: "",
|
| | | housemasterNumber: ""
|
| | | }
|
| | | }
|
| | | } else {
|
| | |
| | | this.form.placeExtEntity.legalIdCard = this.form.principalIdCard;
|
| | | }
|
| | |
|
| | |
|
| | | console.log("======>", this.form)
|
| | | return;
|
| | |
|
| | | add(this.form).then(res => {
|
| | | uni.showToast({
|
| | | icon: 'success',
|
| | |
| | | </u-form-item> |
| | | </view> |
| | | |
| | | <view class="item" v-if="false"> |
| | | <view class="item" v-if="form.label == 160102 || form.label == 160103"> |
| | | <view class="flex j-c-s-b a-i-c"> |
| | | <view class="box-title" style="width:50%;"> |
| | | <box-title title="学校信息"></box-title> |
| | |
| | | </u--input> |
| | | </u-form-item> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="专职保安:" prop="securityNumoer"> |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.securityNumoer" |
| | | label="专职保安:" prop="securityNumber"> |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.securityNumber" |
| | | placeholder="请输入"> |
| | | </u--input> |
| | | </u-form-item> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="专职门卫:" prop="gusrdNumber"> |
| | | <u--input border="none" v-model="form.placeExtEntity.gusrdNumber" placeholder="请输入"> |
| | | label="专职门卫:" prop="guardNumber"> |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.guardNumber" |
| | | placeholder="请输入"> |
| | | </u--input> |
| | | </u-form-item> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="专兼职保卫人员:" prop="temporarySecurityNumber"> |
| | | <u--input border="none" v-model="form.placeExtEntity.temporarySecurityNumber" placeholder="请输入"> |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.temporarySecurityNumber" |
| | | placeholder="请输入"> |
| | | </u--input> |
| | | </u-form-item> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="走读/寄宿:" prop="daystudentsNumber"> |
| | | <u--input border="none" v-model="form.placeExtEntity.daystudentsNumber" placeholder="请输入"> |
| | | label="走读/寄宿:" prop="dayStudentsNumber"> |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.dayStudentsNumber" |
| | | placeholder="请输入"> |
| | | </u--input> |
| | | </u-form-item> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="住校生人数:" prop="residentialStudentsNumber"> |
| | | <u--input border="none" v-model="form.placeExtEntity.residentialStudentsNumber" |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.residentialStudentsNumber" |
| | | placeholder="请输入"> |
| | | </u--input> |
| | | </u-form-item> |
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled" |
| | | label="宿舍管理人员:" prop="housemasterNumber"> |
| | | <u--input border="none" v-model="form.placeExtEntity.housemasterNumber" placeholder="请输入"> |
| | | <u--input border="none" type="number" v-model="form.placeExtEntity.housemasterNumber" |
| | | placeholder="请输入"> |
| | | </u--input> |
| | | </u-form-item> |
| | | </view> |
| | |
| | | |
| | | studentNumber: "", |
| | | workersNumber: "", |
| | | securityNumoer: "", |
| | | gusrdNumber: "", |
| | | securityNumber: "", |
| | | guardNumber: "", |
| | | temporarySecurityNumber: "", |
| | | daystudentsNumber: "", |
| | | dayStudentsNumber: "", |
| | | residentialStudentsNumber: "", |
| | | housemasterNumber: "" |
| | | |
| | |
| | | </u-form-item>
|
| | | </view>
|
| | | </u-form>
|
| | |
|
| | | <view class="item bgc-ff mt-20" v-if="cateId == 160102 || cateId == 160103">
|
| | | <view class="flex j-c-s-b a-i-c">
|
| | | <view class="box-title" style="width:50%;">
|
| | | <box-title title="学校信息"></box-title>
|
| | | </view>
|
| | | </view>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="学生人数:" prop="studentNumber">
|
| | | <u--input border="none" type="number" v-model="form.studentNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="教职工人数:" prop="workersNumber">
|
| | | <u--input border="none" type="number" v-model="form.workersNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="专职保安:" prop="securityNumber">
|
| | | <u--input border="none" type="number" v-model="form.securityNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="专职门卫:" prop="guardNumber">
|
| | | <u--input border="none" type="number" v-model="form.guardNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="专兼职保卫人员:" prop="temporarySecurityNumber">
|
| | | <u--input border="none" type="number" v-model="form.temporarySecurityNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="走读/寄宿:" prop="dayStudentsNumber">
|
| | | <u--input border="none" type="number" v-model="form.dayStudentsNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="住校生人数:" prop="residentialStudentsNumber">
|
| | | <u--input border="none" type="number" v-model="form.residentialStudentsNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="宿舍管理人员:" prop="housemasterNumber">
|
| | | <u--input border="none" type="number" v-model="form.housemasterNumber" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | </view>
|
| | |
|
| | |
|
| | | <view class="license">
|
| | | <box-title title="营业执照"></box-title>
|
| | | <view class="upload-img">
|
| | |
| | | landlordName: "",
|
| | | landlordPhone: "",
|
| | | landlordIdCard: "",
|
| | | landlordWxAccount: ""
|
| | | landlordWxAccount: "",
|
| | |
|
| | | studentNumber: "",
|
| | | workersNumber: "",
|
| | | securityNumber: "",
|
| | | guardNumber: "",
|
| | | temporarySecurityNumber: "",
|
| | | dayStudentsNumber: "",
|
| | | residentialStudentsNumber: "",
|
| | | housemasterNumber: ""
|
| | | },
|
| | | rules: {
|
| | | "location": {
|
| | |
| | | showNationPicker: false,
|
| | | showGenderPicker: false,
|
| | | personNumArr: [],
|
| | | cateId: ""
|
| | | }
|
| | | },
|
| | | onShow() {
|
| | |
| | | this.jwd = `${Number(data.lng).toFixed(6)},${Number(data.lat).toFixed(6)}`
|
| | | }
|
| | |
|
| | |
|
| | | this.cateId = data.poiCode;
|
| | | const placePractitioner = data?.placePractitioner || []
|
| | | // Object.keys(this.form).forEach(key => {
|
| | | // this.form[key] = data[key]
|
| | |
| | | uni.switchTab({ |
| | | url: '/pages/home/index' |
| | | }) |
| | | |
| | | } |
| | | |
| | | // 退出登录 |
| | |
| | | }) |
| | | vm.$u.vuex('accessToken', '') |
| | | vm.$u.vuex('isLogin', false) |
| | | if (uni.getStorageSync("pageType")) { |
| | | uni.removeStorageSync("pageType") |
| | | } |
| | | |
| | | uni.redirectTo({ |
| | | url: '/pages/login/login-account' |
| | | }) |