|
@@ -153,20 +153,21 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="vtitle">样机</view>
|
|
|
- <view class="form_group">
|
|
|
- <view class="lable">GH560</view>
|
|
|
+ <view class="form_group" v-for="(item, index) in list" :key="index">
|
|
|
+ <view class="lable">{{item.items.__df3EGbLwLuQbY18mt6a.value}}</view>
|
|
|
<view class="tag">
|
|
|
- <text class="span">XH890656565556</text>
|
|
|
+ <text class="span">{{item.items.__Y8VlxrNmQKyOx0qZWl3.value}}</text>
|
|
|
<text class="icon more"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!--
|
|
|
<view class="form_group">
|
|
|
<view class="lable">GH560</view>
|
|
|
<view class="tag">
|
|
|
<text class="span">XH890656565556</text>
|
|
|
<text class="icon more"></text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view>-->
|
|
|
<view class="footer" v-if="btnshow">
|
|
|
<view class="flex">
|
|
|
<view class="f"><button class="btn br" @click="validate()">保存</button></view>
|
|
@@ -194,7 +195,7 @@
|
|
|
<u-popup :show="show" mode="bottom" @close="show = false" closeable round="15">
|
|
|
<view class="popup">
|
|
|
<u-divider text="提交流程面板"></u-divider>
|
|
|
- <scroll-view scroll-y="true" style="height: 300rpx;">
|
|
|
+ <scroll-view scroll-y="true" style="height: 450rpx;">
|
|
|
<view v-for="(item, index) in nextNodes" :key="index" class="bitem" @click="bselect(item, 'nextNodes')">
|
|
|
<view class="icon select check" v-if="item.check"></view>
|
|
|
<view class="icon select" v-else></view>
|
|
@@ -206,6 +207,8 @@
|
|
|
<view class="icon" @click.stop="selectApprovers()"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <textarea placeholder="意见" style="height: 120px;" maxlength="200" v-model="itemt.attitude" />
|
|
|
+
|
|
|
</scroll-view>
|
|
|
<view class="confrim-btn"><button class="btn" @click="submit()">确定</button></view>
|
|
|
</view>
|
|
@@ -268,6 +271,7 @@ export default {
|
|
|
isToPerson: true,
|
|
|
userids: '__jFFZYvLIG6uFc7CdBMg'
|
|
|
},
|
|
|
+ list: [],
|
|
|
btnshow: false,
|
|
|
state: 0,
|
|
|
btitem: {
|
|
@@ -331,6 +335,7 @@ export default {
|
|
|
} else if (res.ste == 5) {
|
|
|
this.item.WTRWFP = res.items.__vhLhnW6B7JBtaxiXkQ3.value;
|
|
|
}
|
|
|
+ console.log('item2:' + JSON.stringify(this.item));
|
|
|
this.convert();
|
|
|
});
|
|
|
},
|
|
@@ -369,7 +374,8 @@ export default {
|
|
|
this.item = res.data.data.items;
|
|
|
this.p = res.data.data;
|
|
|
this.getUsers();
|
|
|
-console.log('this.p:' + JSON.stringify(res));
|
|
|
+ this.yj_list();
|
|
|
+ //console.log('this.p:' + JSON.stringify(res));
|
|
|
//保存数据
|
|
|
this.btitem.id = res.data.data.id;
|
|
|
this.btitem.formId = res.data.data.formid;
|
|
@@ -426,6 +432,7 @@ console.log('this.p:' + JSON.stringify(res));
|
|
|
|
|
|
this.item = res.data.data.items;
|
|
|
this.p = res.data.data;
|
|
|
+ this.getUsers();
|
|
|
//保存数据
|
|
|
this.btitem.id = res.data.data.id;
|
|
|
this.btitem.formId = res.data.data.formid;
|
|
@@ -624,6 +631,25 @@ console.log('this.p:' + JSON.stringify(res));
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ yj_list() {
|
|
|
+ this.http.request({
|
|
|
+ url: this.http.urls.yj_list +
|
|
|
+ 'parentId=' +
|
|
|
+ this.id,
|
|
|
+
|
|
|
+ method: 'POST',
|
|
|
+ success: res => {
|
|
|
+ console.log('res2:' + JSON.stringify(res));
|
|
|
+ if (res.data.errcode == 0) {
|
|
|
+
|
|
|
+ res.data.data.data.forEach(item => {
|
|
|
+
|
|
|
+ this.list.push(item);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//提交流程面板
|
|
|
submission() {
|
|
|
this.http.request({
|