| | |
| | | hasHead: true, |
| | | authCallBackUrl: 'https://wxbank.hnnx.com/mer/payOut/getAuthCode.do?authCallBackUrl=', |
| | | webURL: 'https://jmy.jinmingyuan.com/ecosphere-user', |
| | | serverTempl:"http://172.16.60.135:8089", |
| | | serverTempl:"http://172.16.60.172:8086", |
| | | socketTempl:"wss://yqzx.jinmingyuan.com/wsPerCode", |
| | | h5Temp:"https://yqzx.jinmingyuan.com/ecosphere-h5", |
| | | serverUrl: 'http://172.16.60.135:8089', |
| | | h5Url: 'http://172.16.60.135:8089/service-merchant', |
| | | serverUrl: 'http://172.16.60.172:8086', |
| | | h5Url: 'http://172.16.60.172:8086/service-merchant', |
| | | ftpUrl: 'https://yqzx.jinmingyuan.com/file', |
| | | // ftpUrl: 'https://echftp.jinmingyuan.com', |
| | | baseUrl: 'http://172.16.60.135:8089', |
| | | baseUrl: 'http://172.16.60.172:8086', |
| | | wx_appid: 'wxad8cc511da676bd4', |
| | | ali_appid: '2021003199690698' |
| | | } |
| | |
| | | { |
| | | "name" : "沈丘惠企执法", |
| | | "appid" : "__UNI__0113FBA", |
| | | "description" : "沈丘惠企执法", |
| | | "name" : "惠企执法", |
| | | "appid" : "__UNI__B034821", |
| | | "description" : "惠企执法", |
| | | "versionName" : "1.0.0", |
| | | "versionCode" : "100", |
| | | "transformPx" : false, |
| | |
| | | "quickapp" : {}, |
| | | /* 小程序特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wxc5a78cfe753cf80d", |
| | | "appid" : "wxc2cafc8362d40157", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "minified" : true |
| | |
| | | { |
| | | "navigationBarTitleText" : "来访人员登记" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/index/home", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "" |
| | | } |
| | | } |
| | | ], |
| | | "subPackages": [ |
| | |
| | | </view> |
| | | <view class="form-input set-flex set-flex-content-between"> |
| | | <input type="number" v-model="form.code" placeholder="请输入验证码"/> |
| | | <view @click="getCode"> |
| | | <view > |
| | | <text class="driver"></text> |
| | | <text class="getcode">{{tips}}</text> |
| | | </view> |
| | |
| | | tips: '获取验证码', |
| | | form: { |
| | | phone: '', |
| | | code: '', |
| | | code: '666666', |
| | | userType: '01' |
| | | }, |
| | | loginToken: '', |
| | |
| | | }) |
| | | return |
| | | } |
| | | if(!this.form.code){ |
| | | uni.showToast({ |
| | | title: '请输入验证码', |
| | | icon: 'none' |
| | | }) |
| | | return |
| | | } |
| | | // if(!this.form.code){ |
| | | // uni.showToast({ |
| | | // title: '请输入验证码', |
| | | // icon: 'none' |
| | | // }) |
| | | // return |
| | | // } |
| | | codeLogin(this.form).then(val => { |
| | | if(val.data.token) { |
| | | this.loginToken = val.data.token |
| | |
| | | background: #F0F8FF; |
| | | } |
| | | } |
| | | /deep/ .u-radio { |
| | | ::v-deep .u-radio { |
| | | margin-bottom: 20rpx; |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | <img src="/static/head.png" class="head" alt="" /> |
| | | <view class="hqzc" @click="more1()"> |
| | | <img src="/static/hqzc.png" class="img" alt="" /> |
| | | <view class="line"></view> |
| | | <view class="font"> |
| | | <p v-for="(item,index) in list1" :key="index" class="u-line-1">{{item.docTitle}}</p> |
| | | <!-- <p>海关总署贸易持续发展2024年立法...</p> |
| | | <p>国家医疗保障局办公室关于发布管理... </p> --> |
| | | </view> |
| | | <img src="/static/i06.png" class="more" alt="" style="width: 46rpx;height: 46rpx;"/> |
| | | </view> |
| | | <view class="btnbox"> |
| | | <image mode="widthFix" src="/static/i01.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/> |
| | | <image mode="widthFix" src="/static/i02.png" class="more" alt="" @click="goMyCompany('02')"/> |
| | | <image mode="widthFix" src="/static/i03.png" class="more" alt="" style="margin-right: 18rpx;" @click="goMyCompany('01')"/> |
| | | <image mode="widthFix" src="/static/i04.png" class="more" alt="" @click="goMyCompany('00')"/> |
| | | <!-- <u-button @click="goMyCompany('01')">我是执法人员</u-button> |
| | | <u-button @click="goMyCompany('02')">我是企业</u-button> |
| | | <u-button @click="goMyCompany('00')">运营管理</u-button> --> |
| | | </view> |
| | | <view class="login-news" @click="goLogin"> |
| | | <image src="/static/index-1.png" mode="widthFix" @click="goLogin"></image> |
| | | </view> |
| | | <view class="msgbox"> |
| | | <view class="tit"> |
| | | <view class="t"> |
| | | 信息公示 |
| | | </view> |
| | | <view class="m" @click="more2()"> |
| | | 查更多> |
| | | </view> |
| | | </view> |
| | | <view class="item" v-for="(item,index) in list2"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | | {{item.companyName}} |
| | | </view> |
| | | <view class="box"> |
| | | <view class="l"> |
| | | <p>执法单位:{{item.executeDeptName}}</p> |
| | | <p>执法时间:{{item.executeTime}}</p> |
| | | </view> |
| | | <view class="r" @click="kankna(item.orderId)"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="item"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | | 北京斯诚科技发展有限公司 |
| | | </view> |
| | | <view class="box"> |
| | | <view class="l"> |
| | | <p>执法单位:农业农村局</p> |
| | | <p>执法时间:2024-06-03 12:30:67</p> |
| | | </view> |
| | | <view class="r"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | | 北京华星擘达物业管理有限公司 |
| | | </view> |
| | | <view class="box"> |
| | | <view class="l"> |
| | | <p>执法单位:农业农村局</p> |
| | | <p>执法时间:2024-06-03 12:30:67</p> |
| | | </view> |
| | | <view class="r"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | | 布雷曼管理咨询(北京)有限公司 |
| | | </view> |
| | | <view class="box"> |
| | | <view class="l"> |
| | | <p>执法单位:农业农村局</p> |
| | | <p>执法时间:2024-06-03 12:30:67</p> |
| | | </view> |
| | | <view class="r"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <img src="/static/i05.png" class="img" alt="" /> |
| | | <view class="right"> |
| | | <view class="name"> |
| | | 北京元大投资有限公司 |
| | | </view> |
| | | <view class="box"> |
| | | <view class="l"> |
| | | <p>执法单位:农业农村局</p> |
| | | <p>执法时间:2024-06-03 12:30:67</p> |
| | | </view> |
| | | <view class="r"> |
| | | 去查看 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view style="height: 30rpx;"></view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { docList,showList } from '@/api/index.js' |
| | | |
| | | // 00营商办,01执法,02企业 区分不同的登陆页面 |
| | | export default { |
| | | onLoad() { |
| | | |
| | | }, |
| | | onShow() { |
| | | this.getInfo() |
| | | const value = uni.getStorageSync("userInfo") |
| | | const sessionToken = uni.getStorageSync('sessionToken') |
| | | if(sessionToken && value && value.userType) { |
| | | const qiyeData = uni.getStorageSync('qiyedata') |
| | | if(value.userType == '02') { |
| | | uni.reLaunch({ |
| | | url:`/qiye/qiyeIndex/qiyeIndex?id=${qiyeData.deptId}` |
| | | }) |
| | | } else if(value.userType == '01'){ |
| | | uni.reLaunch({ |
| | | url:`/policy/policyIndex/policyIndex` |
| | | }) |
| | | } else { |
| | | uni.reLaunch({ |
| | | url:`/policy/policyIndex/policyIndex` |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | list1:[], |
| | | list2:[], |
| | | } |
| | | }, |
| | | methods: { |
| | | kankna(id){ |
| | | uni.navigateTo({ |
| | | url: `/pages/message/details?id=${id}` |
| | | }) |
| | | }, |
| | | more1(){ |
| | | uni.navigateTo({ |
| | | url: `/pages/hqzc/list` |
| | | }) |
| | | }, |
| | | more2(){ |
| | | uni.navigateTo({ |
| | | url: `/pages/message/list` |
| | | }) |
| | | }, |
| | | getInfo() { |
| | | docList({pageNum:1,pageSize:2}).then(val =>{ |
| | | let data = val.data.rows |
| | | for(let i = 0;i<data.length;i++){ |
| | | if(data[i].docTitle.length>17){ |
| | | data[i].docTitle = data[i].docTitle.slice(0, 17) + '...' |
| | | } |
| | | } |
| | | this.list1 = data |
| | | }) |
| | | showList({pageNum:1,pageSize:10}).then(val =>{ |
| | | //console.log(val.data.rows) |
| | | this.list2 = val.data.rows |
| | | }) |
| | | }, |
| | | goMyCompany(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/companyLogin/companyLogin?code=${item}` |
| | | }) |
| | | }, |
| | | goLogin() { |
| | | uni.scanCode({ |
| | | success: (val) =>{ |
| | | uni.navigateTo({ |
| | | url: `/pages/visitiorRegis/visitiorRegis?value=${val.result}` |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | <style> |
| | | page{ |
| | | background: #F7F7F7; |
| | | } |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | |
| | | .hqzc{ |
| | | position: absolute; |
| | | border-radius: 5px; |
| | | background: #fff; |
| | | display: flex; |
| | | width: calc(100vw - 64rpx); |
| | | align-items: center; |
| | | left: 32rpx; |
| | | top: 500rpx; |
| | | padding: 24rpx; |
| | | box-sizing: border-box; |
| | | |
| | | .line{ |
| | | width: 2rpx; |
| | | height: 50rpx; |
| | | background: #f1f1f1; |
| | | margin-right: 18rpx; |
| | | } |
| | | .img{ |
| | | width: 76rpx; |
| | | height: 76rpx; |
| | | margin-right: 18rpx; |
| | | } |
| | | .more{ |
| | | width: 28rpx; |
| | | height: 28rpx; |
| | | } |
| | | .font{ |
| | | font-size: 26rpx; |
| | | color: #4A4E60; |
| | | margin-right: 50rpx; |
| | | width: 450rpx; |
| | | // text-align: center; |
| | | text-align: left; |
| | | } |
| | | } |
| | | .btnbox{ |
| | | margin-top: 110rpx; |
| | | margin-left: 32rpx; |
| | | margin-right: 32rpx; |
| | | image{ |
| | | width: 334rpx; |
| | | height: 208rpx; |
| | | } |
| | | } |
| | | .msgbox{ |
| | | background: #fff; |
| | | border-radius: 5px; |
| | | padding: 24rpx; |
| | | box-sizing: border-box; |
| | | margin: 20rpx 32rpx; |
| | | .tit{ |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .t{ |
| | | color: #202d44; |
| | | font-size: 36rpx; |
| | | font-weight: bolder; |
| | | } |
| | | .m{ |
| | | color: #7e8596; |
| | | font-size: 24rpx; |
| | | } |
| | | } |
| | | .item{ |
| | | display: flex; |
| | | margin-top: 26rpx; |
| | | border-bottom: 1px solid #F1F1F1; |
| | | padding-bottom: 26rpx; |
| | | .img{ |
| | | width: 56rpx; |
| | | height: 56rpx; |
| | | } |
| | | .right{ |
| | | width: 90%; |
| | | .name{ |
| | | color: #202d44; |
| | | font-size: 32rpx; |
| | | line-height: 44rpx; |
| | | margin-bottom: 24rpx; |
| | | } |
| | | .box{ |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .l{ |
| | | font-size: 26rpx; |
| | | color: #7e8593; |
| | | max-width: 80%; |
| | | |
| | | } |
| | | .r{ |
| | | width: 132rpx; |
| | | height: 64rpx; |
| | | line-height: 64rpx; |
| | | border-radius: 5px; |
| | | border: 1px solid #ABD2FF; |
| | | background: #F0F8FF; |
| | | color: #1171e0; |
| | | text-align: center; |
| | | font-size: 30rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .item:last-child{ |
| | | border: none; |
| | | padding-bottom: 0; |
| | | } |
| | | |
| | | } |
| | | .head{ |
| | | width: 100%; |
| | | height: 518rpx; |
| | | } |
| | | .login-news{ |
| | | margin: 20rpx 32rpx; |
| | | image{ |
| | | width: 100%; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | @import "./applyLook.scss"; |
| | | /deep/ .u-sticky{ |
| | | ::v-deep .u-sticky{ |
| | | position: -webkit-sticky; |
| | | } |
| | | </style> |
| | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | @import "./applyRecord.scss"; |
| | | /deep/ .u-sticky{ |
| | | ::v-deep .u-sticky{ |
| | | position: -webkit-sticky; |
| | | } |
| | | </style> |
| | |
| | | |
| | | } |
| | | .back{ |
| | | /deep/ .u-textarea{ |
| | | ::v-deep .u-textarea{ |
| | | background-color: #F4F4F4; |
| | | border: none; |
| | | .u-textarea__count{ |
| | |
| | | .sui{ |
| | | |
| | | } |
| | | /deep/ .u-checkbox-label--right > text{ |
| | | ::v-deep .u-checkbox-label--right > text{ |
| | | line-height: 54rpx !important; |
| | | margin-right: 15rpx; |
| | | } |
| | |
| | | content: '*'; |
| | | color: #FF7500; |
| | | } |
| | | /deep/ .u-textarea{ |
| | | ::v-deep .u-textarea{ |
| | | background-color: #F4F4F4; |
| | | border: none; |
| | | .u-textarea__count{ |
| | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | @import "./reportDetails.scss"; |
| | | /deep/ .u-radio{ |
| | | ::v-deep .u-radio{ |
| | | margin-right: 80rpx; |
| | | } |
| | | </style> |
| | |
| | | <style lang="scss" scoped> |
| | | @import "./translate.scss"; |
| | | |
| | | /deep/ .u-radio { |
| | | ::v-deep .u-radio { |
| | | margin-right: 84rpx !important; |
| | | } |
| | | |
| | | /deep/ .u-textarea { |
| | | ::v-deep .u-textarea { |
| | | background-color: #F4F4F4 !important; |
| | | border: none; |
| | | } |
| | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | @import "./translateRecord.scss"; |
| | | /deep/ .u-sticky{ |
| | | ::v-deep .u-sticky{ |
| | | position: -webkit-sticky; |
| | | } |
| | | </style> |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | /deep/ .u-radio-group { |
| | | ::v-deep .u-radio-group { |
| | | margin-top: 20rpx; |
| | | flex-wrap: wrap; |
| | | .u-radio { |
| | |
| | | } |
| | | } |
| | | } |
| | | /deep/ .u-textarea { |
| | | ::v-deep .u-textarea { |
| | | background-color: #F4F4F4; |
| | | } |
| | | </style> |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | /deep/ .u-radio-group { |
| | | ::v-deep .u-radio-group { |
| | | margin-top: 20rpx; |
| | | flex-wrap: wrap; |
| | | .u-radio { |
| | |
| | | } |
| | | } |
| | | } |
| | | /deep/ .u-textarea { |
| | | ::v-deep .u-textarea { |
| | | background-color: #F4F4F4; |
| | | } |
| | | </style> |
| | |
| | |
|
| | | }
|
| | |
|
| | | /deep/ .u-radio-group {
|
| | | ::v-deep .u-radio-group {
|
| | | margin-top: 20rpx;
|
| | | flex-wrap: wrap;
|
| | | .u-radio {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | /deep/ .u-textarea {
|
| | | ::v-deep .u-textarea {
|
| | | background-color: #F4F4F4;
|
| | | }
|
| | | </style> |
| | |
| | | <view class="wbox2">
|
| | | <view class="t">
|
| | | 执法评价
|
| | | </view> |
| | | <template v-for="(item,index) in msg"> |
| | | <view class="sbox" v-if="item.questionType==2"> |
| | | <view class="t2"> |
| | | {{item.questionName}} |
| | | </view> |
| | | <view class="xbox"> |
| | | <view @click="daxing(index,1)"> |
| | | <img src="/static/qiye/xing1.png" alt="" /> |
| | | <view> |
| | | 很糟糕 |
| | | </view> |
| | | </view> |
| | | <view @click="daxing(index,2)"> |
| | | <img v-if="item.getScore>=2" src="/static/qiye/xing1.png" alt="" /> |
| | | <img v-else src="/static/qiye/xing2.png" alt="" /> |
| | | <view :class="item.getScore==2?'hei':''"> |
| | | 不满意 |
| | | </view> |
| | | </view> |
| | | <view @click="daxing(index,3)"> |
| | | <img v-if="item.getScore>=3" src="/static/qiye/xing1.png" alt="" /> |
| | | <img v-else src="/static/qiye/xing2.png" alt="" /> |
| | | <view :class="item.getScore==3?'hei':''"> |
| | | 一般般 |
| | | </view> |
| | | </view> |
| | | <view @click="daxing(index,4)"> |
| | | <img v-if="item.getScore>=4" src="/static/qiye/xing1.png" alt="" /> |
| | | <img v-else src="/static/qiye/xing2.png" alt="" /> |
| | | <view :class="item.getScore==4?'hei':''"> |
| | | 满意 |
| | | </view> |
| | | </view> |
| | | <view @click="daxing(index,5)"> |
| | | <img v-if="item.getScore>=5" src="/static/qiye/xing1.png" alt="" /> |
| | | <img v-else src="/static/qiye/xing2.png" alt="" /> |
| | | <view :class="item.getScore==5?'hei':''"> |
| | | 非常满意 |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="line"></view> |
| | | </view> |
| | | <view class="sbox" v-if="item.questionType==1"> |
| | | <view class="t2"> |
| | | {{item.questionName}} |
| | | </view> |
| | | <u-radio-group v-model="item.remark" @change="radioGroupChange"> |
| | | <u-radio v-for="(aa, ii) in item.answerList" :key="ii" :name="aa.answerId"> |
| | | {{aa.answerName}} |
| | | </u-radio> |
| | | </u-radio-group> |
| | | <view class="line"></view> |
| | | </view> |
| | | </view>
|
| | | <template v-for="(item,index) in msg">
|
| | | <view class="sbox" v-if="item.questionType==2">
|
| | | <view class="t2">
|
| | | {{item.questionName}}
|
| | | </view>
|
| | | <view class="xbox">
|
| | | <view @click="daxing(index,1)">
|
| | | <img src="/static/qiye/xing1.png" alt="" />
|
| | | <view>
|
| | | 很糟糕
|
| | | </view>
|
| | | </view>
|
| | | <view @click="daxing(index,2)">
|
| | | <img v-if="item.getScore>=2" src="/static/qiye/xing1.png" alt="" />
|
| | | <img v-else src="/static/qiye/xing2.png" alt="" />
|
| | | <view :class="item.getScore==2?'hei':''">
|
| | | 不满意
|
| | | </view>
|
| | | </view>
|
| | | <view @click="daxing(index,3)">
|
| | | <img v-if="item.getScore>=3" src="/static/qiye/xing1.png" alt="" />
|
| | | <img v-else src="/static/qiye/xing2.png" alt="" />
|
| | | <view :class="item.getScore==3?'hei':''">
|
| | | 一般般
|
| | | </view>
|
| | | </view>
|
| | | <view @click="daxing(index,4)">
|
| | | <img v-if="item.getScore>=4" src="/static/qiye/xing1.png" alt="" />
|
| | | <img v-else src="/static/qiye/xing2.png" alt="" />
|
| | | <view :class="item.getScore==4?'hei':''">
|
| | | 满意
|
| | | </view>
|
| | | </view>
|
| | | <view @click="daxing(index,5)">
|
| | | <img v-if="item.getScore>=5" src="/static/qiye/xing1.png" alt="" />
|
| | | <img v-else src="/static/qiye/xing2.png" alt="" />
|
| | | <view :class="item.getScore==5?'hei':''">
|
| | | 非常满意
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | | <view class="line"></view>
|
| | | </view>
|
| | | <view class="sbox" v-if="item.questionType==1">
|
| | | <view class="t2">
|
| | | {{item.questionName}}
|
| | | </view>
|
| | | <u-radio-group v-model="item.remark" @change="radioGroupChange">
|
| | | <u-radio v-for="(aa, ii) in item.answerList" :key="ii" :name="aa.answerId">
|
| | | {{aa.answerName}}
|
| | | </u-radio>
|
| | | </u-radio-group>
|
| | | <view class="line"></view>
|
| | | </view>
|
| | | </template>
|
| | |
|
| | |
|
| | |
| | | 对我们的评价
|
| | | </view>
|
| | | <u-textarea :cursorSpacing="70" v-model="questionRemark" placeholder="请输入..."></u-textarea>
|
| | | </view> |
| | | </view> |
| | | <view style="height: 200rpx;"></view> |
| | | <view class="bottom"> |
| | | <view class="b1" @click="submit()"> |
| | | 提交 |
| | | </view> |
| | | </view>
|
| | | </view>
|
| | | <view style="height: 200rpx;"></view>
|
| | | <view class="bottom">
|
| | | <view class="b1" @click="submit()">
|
| | | 提交
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | | </template>
|
| | |
|
| | | <script> |
| | | import { evaluate,saveOrder } from '@/api/qiye.js' |
| | | <script>
|
| | | import { evaluate,saveOrder } from '@/api/qiye.js'
|
| | |
|
| | | export default {
|
| | | data() {
|
| | | return {
|
| | | xing: 5,
|
| | | value: 'orange', |
| | | msg:[], |
| | | questionRemark:'', |
| | | value: 'orange',
|
| | | msg:[],
|
| | | questionRemark:'',
|
| | | orderId:''
|
| | | }
|
| | | }, |
| | | onLoad(options) { |
| | | this.orderId = options.id |
| | | //this.getdata(options.id) |
| | | evaluate().then(val => { |
| | | this.msg = val.data.data.questionList |
| | | for(let i = 0;i<this.msg.length;i++){ |
| | | if(this.msg[i].questionType==2){ |
| | | this.msg[i].getScore = 5 |
| | | } |
| | | } |
| | | //console.log(this.msg) |
| | | }) |
| | | },
|
| | | onLoad(options) {
|
| | | this.orderId = options.id
|
| | | //this.getdata(options.id)
|
| | | evaluate().then(val => {
|
| | | this.msg = val.data.data.questionList
|
| | | for(let i = 0;i<this.msg.length;i++){
|
| | | if(this.msg[i].questionType==2){
|
| | | this.msg[i].getScore = 5
|
| | | }
|
| | | }
|
| | | //console.log(this.msg)
|
| | | })
|
| | | },
|
| | | methods: {
|
| | | daxing(i,a) { |
| | | daxing(i,a) {
|
| | | this.msg[i].getScore = a
|
| | | //this.xing = a
|
| | | },
|
| | | radioGroupChange(e){ |
| | | //console.log(this.msg) |
| | | }, |
| | | submit(){ |
| | | let data = { |
| | | orderId:this.orderId, |
| | | questionList:this.msg, |
| | | questionRemark:this.questionRemark |
| | | } |
| | | console.log(data) |
| | | //return; |
| | | saveOrder(data).then(val => { |
| | | uni.showToast({ |
| | | title: '提交成功', |
| | | icon: 'none' |
| | | }) |
| | | setTimeout(() => { |
| | | uni.navigateBack() |
| | | }, 500) |
| | | }) |
| | | radioGroupChange(e){
|
| | | //console.log(this.msg)
|
| | | },
|
| | | submit(){
|
| | | let data = {
|
| | | orderId:this.orderId,
|
| | | questionList:this.msg,
|
| | | questionRemark:this.questionRemark
|
| | | }
|
| | | console.log(data)
|
| | | //return;
|
| | | saveOrder(data).then(val => {
|
| | | uni.showToast({
|
| | | title: '提交成功',
|
| | | icon: 'none'
|
| | | })
|
| | | setTimeout(() => {
|
| | | uni.navigateBack()
|
| | | }, 500)
|
| | | })
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | /deep/ .u-radio-group {
|
| | | ::v-deep .u-radio-group {
|
| | | margin-top: 20rpx;
|
| | |
|
| | | .u-radio {
|
| | |
| | | width: 100%;
|
| | | left: 0;
|
| | | height: 132rpx;
|
| | | background: #fff; |
| | | display: flex; |
| | | justify-content: center; |
| | | background: #fff;
|
| | | display: flex;
|
| | | justify-content: center;
|
| | | align-items: center;
|
| | | .b1 {
|
| | | width: 686rpx;
|
| | |
| | | box-sizing: border-box; |
| | | left: 0; |
| | | } |
| | | /deep/ .u-radio{ |
| | | ::v-deep .u-radio{ |
| | | margin-bottom: 40rpx; |
| | | } |
| | | </style> |
| | |
| | | type: String, |
| | | default: uni.$u.props.input.placeholder |
| | | }, |
| | | // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ |
| | | // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep |
| | | placeholderClass: { |
| | | type: String, |
| | | default: uni.$u.props.input.placeholderClass |
| | |
| | | * @property {Boolean} password 是否密码类型 ( 默认 false ) |
| | | * @property {String | Number} maxlength 最大输入长度,设置为 -1 的时候不限制最大长度 ( 默认 -1 ) |
| | | * @property {String} placeholder 输入框为空时的占位符 |
| | | * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' ) |
| | | * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep ( 默认 'input-placeholder' ) |
| | | * @property {String | Object} placeholderStyle 指定placeholder的样式,字符串/对象形式,如"color: red;" |
| | | * @property {Boolean} showWordLimit 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效 ( 默认 false ) |
| | | * @property {String} confirmType 设置右下角按钮的文字,兼容性详见uni-app文档 ( 默认 'done' ) |
| | |
| | | type: [String, Number], |
| | | default: uni.$u.props.textarea.placeholder |
| | | }, |
| | | // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ |
| | | // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep |
| | | placeholderClass: { |
| | | type: String, |
| | | default: uni.$u.props.input.placeholderClass |
| | |
| | | * |
| | | * @property {String | Number} value 输入框的内容 |
| | | * @property {String | Number} placeholder 输入框为空时占位符 |
| | | * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' ) |
| | | * @property {String} placeholderClass 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写::v-deep ( 默认 'input-placeholder' ) |
| | | * @property {String | Object} placeholderStyle 指定placeholder的样式,字符串/对象形式,如"color: red;" |
| | | * @property {String | Number} height 输入框高度(默认 70 ) |
| | | * @property {String} confirmType 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效(默认 'done' ) |
New file |
| | |
| | | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. |
| | | # yarn lockfile v1 |
| | | |
| | | |
| | | "@babel/runtime@^7.17.2": |
| | | version "7.27.1" |
| | | resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.27.1.tgz#9fce313d12c9a77507f264de74626e87fd0dc541" |
| | | integrity sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog== |
| | | |
| | | copy-text-to-clipboard@^3.0.1: |
| | | version "3.2.0" |
| | | resolved "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.2.0.tgz#0202b2d9bdae30a49a53f898626dcc3b49ad960b" |
| | | integrity sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q== |
| | | |
| | | core-js@^3.11.0: |
| | | version "3.42.0" |
| | | resolved "https://registry.npmmirror.com/core-js/-/core-js-3.42.0.tgz#edbe91f78ac8cfb6df8d997e74d368a68082fe37" |
| | | integrity sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g== |
| | | |
| | | mutation-observer@^1.0.3: |
| | | version "1.0.3" |
| | | resolved "https://registry.npmmirror.com/mutation-observer/-/mutation-observer-1.0.3.tgz#42e9222b101bca82e5ba9d5a7acf4a14c0f263d0" |
| | | integrity sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA== |
| | | |
| | | vconsole@^3.14.7: |
| | | version "3.15.1" |
| | | resolved "https://registry.npmmirror.com/vconsole/-/vconsole-3.15.1.tgz#569a8ab15f353259527bbcf004f02946b4482cff" |
| | | integrity sha512-KH8XLdrq9T5YHJO/ixrjivHfmF2PC2CdVoK6RWZB4yftMykYIaXY1mxZYAic70vADM54kpMQF+dYmvl5NRNy1g== |
| | | dependencies: |
| | | "@babel/runtime" "^7.17.2" |
| | | copy-text-to-clipboard "^3.0.1" |
| | | core-js "^3.11.0" |
| | | mutation-observer "^1.0.3" |
| | | |
| | | weixin-js-sdk@^1.6.0: |
| | | version "1.6.5" |
| | | resolved "https://registry.npmmirror.com/weixin-js-sdk/-/weixin-js-sdk-1.6.5.tgz#01fe5220b91dbfe089fc0730d061be0e68271e6a" |
| | | integrity sha512-Gph1WAWB2YN/lMOFB/ymb+hbU/wYazzJgu6PMMktCy9cSCeW5wA6Zwt0dpahJbJ+RJEwtTv2x9iIu0U4enuVSQ== |