1
This commit is contained in:
parent
9f192eac8e
commit
fb73a94507
@ -44,6 +44,9 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<view class="content" style="padding-left: 10px;">
|
<view class="content" style="padding-left: 10px;">
|
||||||
|
<u-form-item label='顺序' prop="NUM" borderBottom>
|
||||||
|
<u-number-box integer v-model="item.NUM" :min="-10000" :max="10000" slot="right"></u-number-box>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
<u-form-item required label="隐患描述:" prop="CHECK_TIME">
|
<u-form-item required label="隐患描述:" prop="CHECK_TIME">
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
@ -75,7 +78,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view style="padding: 10px 16px;display: flex;flex-direction: row;" class="bottom-button">
|
<view style="padding: 10px 16px;display: flex;flex-direction: row;" class="bottom-button">
|
||||||
<u-button type="primary" @click="submit" color="#3d4b70" :loading="stepLoad">提交</u-button>
|
<u-button type="primary" @click="submit" color="#3d4b70" :loading="stepLoad">保存</u-button>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<u-modal :show="showDelModalIndex >= 0" @confirm="confirmDel" @cancel="cacelDel" :showCancelButton="true" title="确认删除?"></u-modal>
|
<u-modal :show="showDelModalIndex >= 0" @confirm="confirmDel" @cancel="cacelDel" :showCancelButton="true" title="确认删除?"></u-modal>
|
||||||
@ -282,6 +285,7 @@
|
|||||||
this.model = res
|
this.model = res
|
||||||
this.model.Product_Unit = res.MineType !== undefined ? this.enumsData['SKProductionUnit'].find(item => item.code === res.MineType).name : '';
|
this.model.Product_Unit = res.MineType !== undefined ? this.enumsData['SKProductionUnit'].find(item => item.code === res.MineType).name : '';
|
||||||
if (this.model.Nav_ListCheckQuestion && this.model.Nav_ListCheckQuestion.length > 0) {
|
if (this.model.Nav_ListCheckQuestion && this.model.Nav_ListCheckQuestion.length > 0) {
|
||||||
|
this.model.Nav_ListCheckQuestion = this.model.Nav_ListCheckQuestion.sort((a, b) => a.NUM - b.NUM);
|
||||||
this.model.Nav_ListCheckQuestion.map(item => {
|
this.model.Nav_ListCheckQuestion.map(item => {
|
||||||
item.QUESTION_LEVELName = item.QUESTION_LEVEL !== undefined ? this.enumsData['SKHiddenLevel'].find(item1 => item1.code === item.QUESTION_LEVEL).name : '';
|
item.QUESTION_LEVELName = item.QUESTION_LEVEL !== undefined ? this.enumsData['SKHiddenLevel'].find(item1 => item1.code === item.QUESTION_LEVEL).name : '';
|
||||||
})
|
})
|
||||||
@ -546,6 +550,7 @@
|
|||||||
QUESTION_LEVEL: null,
|
QUESTION_LEVEL: null,
|
||||||
QUESTION_LEVELName: '',
|
QUESTION_LEVELName: '',
|
||||||
DEMAND: '',
|
DEMAND: '',
|
||||||
|
NUM: 0
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user