Browse Source

fit:人员抽检调整

main
pengwei 4 months ago
parent
commit
cb0ace0864
  1. 10
      src/views/mobileSupervise/Sampling.vue

10
src/views/mobileSupervise/Sampling.vue

@ -210,12 +210,16 @@ const handleSumbit =async ()=>{
* */
const handleExport = async ()=>{
let data = Object.assign({},editData.value)
console.log('data',data)
delete data.samplingPolices
delete data.startTime
delete data.endTime
if(!data.samplingTime){
delete data.samplingTime
}
if(data.samplingNumber == null){
delete data.samplingNumber
}
if(data.samplingObjectList){
data.orgStr =
data.samplingObjectList.map(s=>s.deptId).join(",")
@ -593,8 +597,8 @@ onMounted(()=>{
<el-col :span="12">
<el-form-item label="是否值班人员">
<el-radio-group v-model="editData.beDuty">
<el-radio value="1" label="是"></el-radio>
<el-radio value="2" label="否"></el-radio>
<el-radio @click.native.prevent ="handleRadioClick('1','beDuty')" value="1" label="是"></el-radio>
<el-radio @click.native.prevent ="handleRadioClick('2','beDuty')" value="2" label="否"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
@ -663,7 +667,7 @@ onMounted(()=>{
</div>
<div style="display: flex;align-items: center">
<div style="margin-left: 5px">
<div style="margin-right: 5px">
<el-button @click="getSamplingPolices">重新生成抽检对象</el-button>
</div>
<div>

Loading…
Cancel
Save