fix:禅道221和一些页面微调
This commit is contained in:
parent
74e0abc0c2
commit
13669e2315
|
|
@ -76,7 +76,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/srm/plant_form",
|
"path" : "pages/srm/plat_form",
|
||||||
"style" :
|
"style" :
|
||||||
{
|
{
|
||||||
"navigationBarTitleText" : "平台审批"
|
"navigationBarTitleText" : "平台审批"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
||||||
<uni-forms v-model="form" label-width="200rpx">
|
<uni-forms v-model="form" label-width="170upx">
|
||||||
<ticketd :ticket_="form.ticket_"></ticketd>
|
<ticketd :ticket_="form.ticket_"></ticketd>
|
||||||
<uni-forms-item label="档案名称" required>
|
<uni-forms-item label="档案名称" required>
|
||||||
<uni-data-select
|
<uni-data-select
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
||||||
<uni-forms v-model="form" label-width="200rpx">
|
<uni-forms v-model="form" label-width="180upx">
|
||||||
<ticketd :ticket_="form.ticket_"></ticketd>
|
<ticketd :ticket_="form.ticket_"></ticketd>
|
||||||
<uni-forms-item label="会议名称" required>
|
<uni-forms-item label="会议名称" required>
|
||||||
<uni-easyinput v-model="form.title" placeholder="请输入会议名称" :disabled="mode=='show'"/>
|
<uni-easyinput v-model="form.title" placeholder="请输入会议名称" :disabled="mode=='show'"/>
|
||||||
|
|
@ -48,11 +48,6 @@
|
||||||
<view v-for="(item,index) in timesListPm" :key="item.value" class="timeBlock">
|
<view v-for="(item,index) in timesListPm" :key="item.value" class="timeBlock">
|
||||||
<view :class="{'isSelected':item.isSelect,'isSloted':item.sloted,'timeItem': true}" @click="timeItemClickPm(index)">{{item.label}}</view>
|
<view :class="{'isSelected':item.isSelect,'isSloted':item.sloted,'timeItem': true}" @click="timeItemClickPm(index)">{{item.label}}</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <text>已选时间段:</text>
|
|
||||||
<view class="">
|
|
||||||
<text v-for="item in selectList" :key="item.value">{{item.label}};</text>
|
|
||||||
</view>
|
|
||||||
<view>共{{totalCount}}小时</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="footer_fixed">
|
<view class="footer_fixed">
|
||||||
|
|
@ -171,24 +166,6 @@ import {actStateEnum} from "@/utils/enum.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await that.getmRooms();
|
await that.getmRooms();
|
||||||
// if(options.slots){
|
|
||||||
// that.form.slots = [];
|
|
||||||
// let slots = options.slots.split(',');
|
|
||||||
// if(slots.length>0){
|
|
||||||
// slots.forEach(item=>{
|
|
||||||
// let slot = Number(item);
|
|
||||||
// that.form.slots.push(slot);
|
|
||||||
// if(slot<12){
|
|
||||||
// that.timesListAm[slot].isSelect = true;
|
|
||||||
// that.selectList.push(that.timesListAm[slot])
|
|
||||||
// }else{
|
|
||||||
// that.timesListPm[slot].isSelect = true;
|
|
||||||
// that.selectList.push(that.timesListPm[slot])
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// that.totalCount = slots.length*0.5;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
async getmRooms(){
|
async getmRooms(){
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<uni-easyinput v-model="form.title" placeholder="请输入送审稿件标题" :disabled="mode=='show'"/>
|
<uni-easyinput v-model="form.title" placeholder="请输入送审稿件标题" :disabled="mode=='show'"/>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="文件内容" required>
|
<uni-forms-item label="文件内容" required>
|
||||||
<uni-file-picker v-model="form.pfile" limit="1" return-type="object" file-mediatype="all" @select="fileSelect" @success="fileSuccess" ></uni-file-picker>
|
<xtUpload v-model="form.file" v-model:obj="form.file_" xtype="id" :disabled="mode=='show'"></xtUpload>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="所有撰稿人" required>
|
<uni-forms-item label="所有撰稿人" required>
|
||||||
<uni-easyinput v-model="form.participants" placeholder="请输入所有撰稿人" :disabled="mode=='show'"/>
|
<uni-easyinput v-model="form.participants" placeholder="请输入所有撰稿人" :disabled="mode=='show'"/>
|
||||||
|
|
@ -50,8 +50,9 @@
|
||||||
import ticketd_b from "../wf/ticketd_b.vue"
|
import ticketd_b from "../wf/ticketd_b.vue"
|
||||||
import ticketd from "../wf/ticketd.vue"
|
import ticketd from "../wf/ticketd.vue"
|
||||||
import {actStateEnum} from "@/utils/enum.js"
|
import {actStateEnum} from "@/utils/enum.js"
|
||||||
|
import xtUpload from "@/components/xtUpload.vue"
|
||||||
export default {
|
export default {
|
||||||
components: { ticketd_b, ticketd },
|
components: { ticketd_b, ticketd,xtUpload },
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
form:{
|
form:{
|
||||||
|
|
@ -105,8 +106,6 @@ import {actStateEnum} from "@/utils/enum.js"
|
||||||
}else{
|
}else{
|
||||||
that.mode = "show";
|
that.mode = "show";
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
// that.form = uni.getStorageSync("");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
||||||
<uni-forms v-model="form" label-width="200rpx">
|
<uni-forms v-model="form" label-width="170upx">
|
||||||
<ticketd :ticket_="form.ticket_"></ticketd>
|
<ticketd :ticket_="form.ticket_"></ticketd>
|
||||||
<uni-forms-item label="使用类型">
|
<uni-forms-item label="使用类型">
|
||||||
<uni-data-checkbox v-model="type" :localdata="hobby1"></uni-data-checkbox>
|
<uni-data-checkbox v-model="type" :localdata="hobby1"></uni-data-checkbox>
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<uni-easyinput v-model="form.note" :disabled="mode=='show'"/>
|
<uni-easyinput v-model="form.note" :disabled="mode=='show'"/>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="文件内容" required>
|
<uni-forms-item label="文件内容" required>
|
||||||
<uni-file-picker v-model="form.file" limit="1" return-type="object" file-mediatype="all" @select="fileSelect" @success="fileSuccess"></uni-file-picker>
|
<xtUpload v-model="form.file" v-model:obj="form.file_" xtype="id" :disabled="mode=='show'"></xtUpload>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="用印份数" required>
|
<uni-forms-item label="用印份数" required>
|
||||||
<uni-number-box v-model="form.file_count" :disabled="mode=='show'"></uni-number-box>
|
<uni-number-box v-model="form.file_count" :disabled="mode=='show'"></uni-number-box>
|
||||||
|
|
@ -45,8 +45,9 @@ import ticketd_b from "../wf/ticketd_b.vue"
|
||||||
import ticketd from "../wf/ticketd.vue"
|
import ticketd from "../wf/ticketd.vue"
|
||||||
import config from '/utils/config';
|
import config from '/utils/config';
|
||||||
import {actStateEnum} from "@/utils/enum.js"
|
import {actStateEnum} from "@/utils/enum.js"
|
||||||
|
import xtUpload from "@/components/xtUpload.vue"
|
||||||
export default {
|
export default {
|
||||||
components: { ticketd_b, ticketd },
|
components: { ticketd_b, ticketd,xtUpload },
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
type:"out",
|
type:"out",
|
||||||
|
|
@ -91,8 +92,6 @@ import {actStateEnum} from "@/utils/enum.js"
|
||||||
}else{
|
}else{
|
||||||
that.mode = "show";
|
that.mode = "show";
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
// that.form = uni.getStorageSync("currentBooking");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
that.getHeader();
|
that.getHeader();
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
<scroll-view scroll-y style="padding-bottom: 180rpx;background-color: #fff;">
|
||||||
<uni-forms v-model="form" label-width="200rpx">
|
<uni-forms v-model="form" label-width="180upx">
|
||||||
<ticketd :ticket_="form.ticket_"></ticketd>
|
<ticketd :ticket_="form.ticket_"></ticketd>
|
||||||
<uni-forms-item label="用车事由" required>
|
<uni-forms-item label="用车事由" required>
|
||||||
<uni-easyinput v-model="form.reason" placeholder="请输入用车事由" :disabled="mode=='show'"/>
|
<uni-easyinput v-model="form.reason" placeholder="请输入用车事由" :disabled="mode=='show'"/>
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,6 @@
|
||||||
</uni-forms>
|
</uni-forms>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="footer_fixed">
|
<view class="footer_fixed">
|
||||||
<!-- <button v-if="mode=='edit'" size="mini" @click="handleDel" :loading="saveLoading" :disabled="saveLoading" type="warn">
|
|
||||||
删除
|
|
||||||
</button> -->
|
|
||||||
<ticketd_b v-if="form.ticket_" :t_id="form.id" :ticket_="form.ticket_"
|
<ticketd_b v-if="form.ticket_" :t_id="form.id" :ticket_="form.ticket_"
|
||||||
:ticket_data="ticket_data" @success="()=>{uni.navigateBack()}" ref="ticketd_b"></ticketd_b>
|
:ticket_data="ticket_data" @success="()=>{uni.navigateBack()}" ref="ticketd_b"></ticketd_b>
|
||||||
<button v-else size="mini" @click="handleSave" :loading="saveLoading" :disabled="saveLoading" type="primary">
|
<button v-else size="mini" @click="handleSave" :loading="saveLoading" :disabled="saveLoading" type="primary">
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,8 @@
|
||||||
<uni-forms-item label="技术状态"></uni-forms-item>
|
<uni-forms-item label="技术状态"></uni-forms-item>
|
||||||
<template v-for="(item,index) in hobby4">
|
<template v-for="(item,index) in hobby4">
|
||||||
<uni-data-checkbox multiple v-model="item[0].status" :localdata="item" @change="checkChange" style="padding-left:150upx;"></uni-data-checkbox>
|
<uni-data-checkbox multiple v-model="item[0].status" :localdata="item" @change="checkChange" style="padding-left:150upx;"></uni-data-checkbox>
|
||||||
<template v-if="item[0].status.length>0" style="display: flex;justify-content: flex-end;width:100%">
|
<template v-if="item[0].status.length>0" style="display: flex;justify-content: flex-end;width:80%">
|
||||||
<uni-file-picker v-model="item[0].file" limit="1" :inde=index return-type="object" file-mediatype="all" style="padding-left:150upx;" class="flex_file_picker" @select="fileSelect" @success="fileSuccess"></uni-file-picker>
|
<xtUpload v-model="item[0].file" v-model:obj="item[0].file_" xtype="id" :disabled="mode=='show'" style="padding-left:145upx;width:80%"></xtUpload>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<uni-forms-item label="技术文件"></uni-forms-item>
|
<uni-forms-item label="技术文件"></uni-forms-item>
|
||||||
|
|
@ -53,8 +53,9 @@ import ticketd_b from "../wf/ticketd_b.vue"
|
||||||
import ticketd from "../wf/ticketd.vue"
|
import ticketd from "../wf/ticketd.vue"
|
||||||
import config from '/utils/config';
|
import config from '/utils/config';
|
||||||
import {actStateEnum} from "@/utils/enum.js"
|
import {actStateEnum} from "@/utils/enum.js"
|
||||||
|
import xtUpload from "@/components/xtUpload.vue"
|
||||||
export default {
|
export default {
|
||||||
components: { ticketd_b, ticketd },
|
components: { ticketd_b, ticketd,xtUpload },
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
mode:"add",
|
mode:"add",
|
||||||
|
|
@ -150,9 +151,6 @@ import {actStateEnum} from "@/utils/enum.js"
|
||||||
that.hobby5[index2][0].name.push(item2.name);
|
that.hobby5[index2][0].name.push(item2.name);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('_____________that.form______________',that.form)
|
|
||||||
console.log('_____________that.hobby5',that.hobby5)
|
|
||||||
console.log('_____________that.hobby4',that.hobby4)
|
|
||||||
if(that.form.ticket_.state_.type == 1 && that.form.create_by == uni.getStorageSync("userInfo").id ) {
|
if(that.form.ticket_.state_.type == 1 && that.form.create_by == uni.getStorageSync("userInfo").id ) {
|
||||||
that.mode = "edit";
|
that.mode = "edit";
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@
|
||||||
<uni-forms-item label="技术状态"></uni-forms-item>
|
<uni-forms-item label="技术状态"></uni-forms-item>
|
||||||
<template v-for="(item,index) in hobby4">
|
<template v-for="(item,index) in hobby4">
|
||||||
<uni-data-checkbox multiple v-model="item[0].status" :localdata="item" @change="checkChange" style="padding-left:150upx;"></uni-data-checkbox>
|
<uni-data-checkbox multiple v-model="item[0].status" :localdata="item" @change="checkChange" style="padding-left:150upx;"></uni-data-checkbox>
|
||||||
<template v-if="item[0].status.length>0" style="display: flex;justify-content: flex-end;width:100%">
|
<template v-if="item[0].status.length>0" style="display: flex;justify-content: flex-end;width:80%">
|
||||||
<uni-file-picker v-model="item[0].file" limit="1" :inde=index return-type="object" file-mediatype="all" style="padding-left:150upx;" class="flex_file_picker" @select="fileSelect" @success="fileSuccess"></uni-file-picker>
|
<xtUpload v-model="item[0].file" v-model:obj="item[0].file_" xtype="id" :disabled="mode=='show'" style="padding-left:145upx;width:80%"></xtUpload>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<uni-forms-item label="技术文件"></uni-forms-item>
|
<uni-forms-item label="技术文件"></uni-forms-item>
|
||||||
|
|
@ -50,8 +50,9 @@ import ticketd_b from "../wf/ticketd_b.vue"
|
||||||
import ticketd from "../wf/ticketd.vue"
|
import ticketd from "../wf/ticketd.vue"
|
||||||
import config from '/utils/config';
|
import config from '/utils/config';
|
||||||
import {actStateEnum} from "@/utils/enum.js"
|
import {actStateEnum} from "@/utils/enum.js"
|
||||||
|
import xtUpload from "@/components/xtUpload.vue"
|
||||||
export default {
|
export default {
|
||||||
components: { ticketd_b, ticketd },
|
components: { ticketd_b, ticketd,xtUpload },
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
mode:"add",
|
mode:"add",
|
||||||
|
|
@ -150,9 +151,6 @@ import {actStateEnum} from "@/utils/enum.js"
|
||||||
that.hobby5[index2][0].name.push(item2.name);
|
that.hobby5[index2][0].name.push(item2.name);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('_____________that.form______________',that.form)
|
|
||||||
console.log('_____________that.hobby5',that.hobby5)
|
|
||||||
console.log('_____________that.hobby4',that.hobby4)
|
|
||||||
if(that.form.ticket_.state_.type == 1 && that.form.create_by == uni.getStorageSync("userInfo").id ) {
|
if(that.form.ticket_.state_.type == 1 && that.form.create_by == uni.getStorageSync("userInfo").id ) {
|
||||||
that.mode = "edit";
|
that.mode = "edit";
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue