| | |
| | | :customStyle="{marginRight: '16px'}" :label="item.name" :name="item.value" /> |
| | | </u-radio-group> |
| | | </u-form-item> |
| | | <u-form-item border-bottom label="任务分类:" prop="keyPoint"> |
| | | <u-radio-group v-model="form.keyPoint" style="font-size: 13px;" placement='column'> |
| | | <u-radio :key="index" v-for="(item, index) in Dic.emphasisEnum" :customStyle="{marginTop: '10px'}" |
| | | :label="item.name" :name="item.value" /> |
| | | </u-radio-group> |
| | | </u-form-item> |
| | | <u-form-item border-bottom label="问题描述:" prop="problemDescribe" required> |
| | | <u--textarea v-model="form.problemDescribe" border="none" placeholder="请输入内容" /> |
| | | </u-form-item> |
| | |
| | | </u-form-item> |
| | | </u-form> |
| | | <u-picker :show="showCheckBox" keyName="label" :columns="actionOptionList" @cancel="showCheckBox = false" |
| | | :immediateChange='true' @confirm="selectBack"></u-picker> |
| | | :default-selector="[0]" :immediateChange='true' @confirm="selectBack"></u-picker> |
| | | <!-- <u-action-sheet v-if="actionOptionList.length > 0" :actions="actionOptionList" :show="showCheckBox" title="请选择" |
| | | @close="showCheckBox = false" @select="selectBack" /> --> |
| | | <view class="bunts"> |
| | |
| | | escalationTime: '', |
| | | problemDescribe: '', |
| | | pollutePosition: '', |
| | | keyPoint: 0 |
| | | }, |
| | | sumbitForm: { |
| | | unitId: '', |
| | |
| | | escalationTime: '', |
| | | problemDescribe: '', |
| | | pollutePosition: '', |
| | | keyPoint: null |
| | | }, |
| | | unitList: [], |
| | | polluteList: [], |
| | |
| | | }, |
| | | methods: { |
| | | handleFile(data) { |
| | | console.log('datadata', data) |
| | | this.fileBaseList = data |
| | | }, |
| | | close() { |
| | |
| | | this.sumbitForm.escalationTime = data |
| | | }, |
| | | submit() { |
| | | console.log('this.sumbitForm', this.form) |
| | | this.$refs.uForm.validate().then(res => { |
| | | this.sumbitForm.problemDescribe = this.form.problemDescribe |
| | | this.sumbitForm.pollutePosition = this.form.pollutePosition |
| | |
| | | this.sumbitForm.investigationType = this.form.investigationType |
| | | this.sumbitForm.fileBaseList = this.fileBaseList |
| | | this.sumbitForm.changeType = this.form.changeType |
| | | this.sumbitForm.keyPoint = this.form.keyPoint |
| | | this.sumbitForm.state = '20' |
| | | console.log('this.sumbitForm', this.sumbitForm) |
| | | this.$http.httpPost('/allocation/insert', { |
| | |
| | | this.unitList = res.data |
| | | this.Dic = JSON.parse(uni.getStorageSync('dict') || '[]') |
| | | this.changeEnum = this.Dic.changeEnum |
| | | this.changeEnum = this.Dic.changeEnum |
| | | this.setDefaultValue() |
| | | }) |
| | | }, |