99 lines
5.8 KiB
Plaintext
99 lines
5.8 KiB
Plaintext
<!--pages/c-dispatch/c-dispatch.wxml-->
|
|
<t-navbar title="改造清单" leftIcon="chevron-left" t-class-left-icon="left-icon-back" t-class-title="nav-title" />
|
|
<view class="container">
|
|
<view class="c-header">
|
|
<view class=" last">
|
|
|
|
<t-input label="站点名称:" class="class-label" disabled="{{!(build.reviewStatus==3||build.reviewStatus==0||type!='exit')}}" maxcharacter="50" placeholder="请输入站点名称(必填)" bind:change="changeInputDeviceName" data-key="devCompany" value="{{deviceName}}">
|
|
|
|
</t-input>
|
|
</view>
|
|
<block>
|
|
|
|
<view class="c-list-head">改造清单
|
|
<t-tag class="margin-16" theme="warning" wx:if="{{build.reviewStatus==0||build.reviewStatus==1}}">审核中</t-tag>
|
|
<t-tag class="margin-16" theme="danger" wx:if="{{build.reviewStatus==3}}">已驳回</t-tag>
|
|
<t-tag class="margin-16" theme="success" wx:if="{{build.reviewStatus==2}}">已审核</t-tag>
|
|
</view>
|
|
<view class="t-list">
|
|
<view class="t-item">
|
|
<view class="dispatch-head">
|
|
<view bind:tap="showPikcer" data-key="0">改造类型:<t-tag class="margin-16" theme="primary">
|
|
{{distArr['0'].label||'请选择'}}
|
|
</t-tag>
|
|
</view>
|
|
|
|
</view>
|
|
<view class="dispatch-head1">
|
|
<view>整改详情:<t-tag class="margin-16" theme="primary" data-key="showTextAndTitle" bind:tap="showDialog">新建</t-tag>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
<t-cell title="{{index+1}}.{{item.prodInfo.prodName}}" bind:tap="checkItemData" data-item="{{item}}" data-index="{{index}}" hover wx:for="{{renovationList}}">
|
|
<view slot="description" style="width: 100%;">
|
|
{{item.renovationContent.dictName}}—{{item.renovationReason.dictName}}—{{item.renovationMeasure.dictName}}
|
|
</view>
|
|
<t-icon name="delete" wx:if="{{build.reviewStatus==3||build.reviewStatus==0||type!='exit'}}" size="48rpx" data-index="{{index}}" color="red" bind:click="ondelTap" slot="note" />
|
|
|
|
</t-cell>
|
|
</block>
|
|
</view>
|
|
<view class="c-list">
|
|
<text class="c-list-head">其他信息
|
|
</text>
|
|
<view class=" ">
|
|
<t-input label="建设单位:" class="class-label" disabled="{{!(build.reviewStatus==3||build.reviewStatus==0||type!='exit')}}" maxcharacter="50" placeholder="请输入文字" bind:change="changeInput" data-key="devCompany" value="{{build.devCompany}}">
|
|
|
|
</t-input>
|
|
<t-input label="施工单位:" maxcharacter="50" disabled="{{!(build.reviewStatus==3||build.reviewStatus==0||type!='exit')}}" placeholder="请输入文字" bind:change="changeInput" data-key="consCompany" value="{{build.consCompany}}" />
|
|
|
|
<t-input label="设备生产厂家:" maxcharacter="50" disabled="{{!(build.reviewStatus==3||build.reviewStatus==0||type!='exit')}}" placeholder="请输入文字" bind:change="changeInput" data-key="manufacturer" value="{{build.manufacturer}}" />
|
|
<t-input label="施工日期:" placeholder="请选择 " disabled bind:tap="showPickerTime" data-key="buildDate" value="{{build.buildDate}}" />
|
|
<view class="text-item">
|
|
<view class="text-title">反馈图片:</view>
|
|
<view class="uploadCss">
|
|
<t-upload media-type="{{['image']}}" files="{{fileList}}" disabled max="{{maxFile}}" gridConfig="{{gridConfig}}" bind:add="handleAdd" bind:success="handleSuccess" data-filed="feedbackImg" bind:remove="handleRemove" />
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
<view class="t-null"></view>
|
|
<view class="foot" wx:if="{{build.reviewStatus==3||build.reviewStatus==0||type!='exit'}}">
|
|
<t-button theme="danger" size="large" class="foot-btn" bindtap="delsumitData" wx:if="{{type=='exit'}}">删 除</t-button>
|
|
<t-button theme="primary" size="large" class="foot-btn" bindtap="sumitData">提 交</t-button>
|
|
</view>
|
|
<t-dialog visible="{{showMultiTextAndTitle}}" title="整改详情" close-btn confirm-btn="{{ '保存' }}" cancel-btn="取消" bind:cancel="closeDialog" bind:confirm="savedevDialog">
|
|
<scroll-view slot="content" scroll-y class="long-content">
|
|
<view class="content-container">
|
|
<input-search-select wx:if="showMultiTextAndTitle" inputLabel="整改内容" id="myComent1" bind:setDist="onSetDist" index="1" parentData="{{distArr['0']}}" value="{{inputValue[0]}}"></input-search-select>
|
|
<input-search-select wx:if="showMultiTextAndTitle" inputLabel="整改原因" id="myComent2" bind:setDist="onSetDist" index="2" parentData="{{distArr['1']}}" value="{{inputValue[1]}}"></input-search-select>
|
|
<input-search-select inputLabel="整改方案" id="myComent3" wx:if="showMultiTextAndTitle" bind:setDist="onSetDist" index="3" parentData="{{distArr['2']}}" value="{{inputValue[2]}}"></input-search-select>
|
|
|
|
|
|
|
|
|
|
<t-divider content="产品信息" align="left" />
|
|
<input-search-select inputLabel="产品名称" id="myComent4" wx:if="showMultiTextAndTitle" bind:setDist="onSetDist" index="4" parentData="{{distArr['3']}}" value="{{inputValue[3]}}"></input-search-select>
|
|
<t-input label="产品型号:" placeholder="请选择或输入" bind:change="focusHandle" value="{{distArr['4'].prodModel}}" />
|
|
<!-- <t-input label="产品单价:" placeholder="请选择产品" value="{{distArr['4'].prodPrice}}" disabled /> -->
|
|
</view>
|
|
</scroll-view>
|
|
</t-dialog>
|
|
<t-picker visible="{{handlerVisible}}" value="{{handlerValue}}" data-key="handler" title="{{handlerTitle}}" cancelBtn="取消" confirmBtn="确认" bindchange="onPickerChange" bindpick="onColumnChange" bindcancel="onPickerCancel">
|
|
<t-picker-item options="{{HandlersData}}"></t-picker-item>
|
|
</t-picker>
|
|
|
|
<t-date-time-picker title="选择日期和时间" visible="{{datetimeVisible}}" mode="date" value="{{datetime}}" format="YYYY-MM-DD" bindchange="onConfirm" bindpick="onColumnChange" bindcancel="hidePicker" />
|
|
|
|
</view> |