123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <template>
- <view class="shopTourOver-wrap">
-
- <view class="autograph-con">
- <text class="autograph-tit">店长签名:</text>
- <view class="autograph-main">
- <autograph-to-pic canvasId="handWriting-dz" :isEmpty="isEmpty" />
- </view>
- </view>
-
- <view class="autograph-con">
- <text class="autograph-tit">巡店人签名:</text>
- <view class="autograph-main">
- <autograph-to-pic canvasId="handWriting-xd" :isEmpty="isEmpty" />
- </view>
- </view>
- <u-button type="primary" shape="circle" class="submit-btn" @click="submitFun">提交</u-button>
- </view>
- </template>
- <script>
- import AutographToPic from '@/components/autograph-to-pic/autograph-to-pic.vue'
- import {submitTask} from '@/api/task'
- import { clzConfirm,saveBase64ToAliOss } from '@/libs/tools'
- export default{
- components: {
- AutographToPic
- },
- data(){
- return{
- isEmpty: [
- {name: 'handWriting-dz', state: true},
- {name: 'handWriting-xd', state: true}
- ],
- taskId: '',
- inspectorSign:'',
- storeManagerSign:'',
- }
- },
- onLoad(opts) {
- this.taskId = opts.taskId
- },
- methods: {
-
- submitFun(){
- const _this = this
- console.log({inspectorSign: _this.inspectorSign, storeManagerSign: _this.storeManagerSign})
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- page{
- background-color: #f8f8f8;
- height: calc(100vh - 44px);
- }
- .shopTourOver-wrap{
- height: 100%;
- .autograph-con{
- margin: 30upx 30upx 0;
- border-radius: 12upx;
- background-color: #fff;
- .autograph-tit{
- display: block;
- padding: 20upx 30upx;
- }
- }
- .submit-btn{
- width: 80%;
- margin: 60upx auto 40upx;
- }
- }
- </style>
|