Browse Source

只能选一个,防止重复,添加字段 delReassign:"del"

feture-12345
是小王呀\24601 6 months ago
parent
commit
4c8797185e
  1. 2
      src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue
  2. 2
      src/views/modules/base/smartExcel/cpts/excel-add.vue
  3. 3
      src/views/modules/base/smartExcel/cpts/excel-summary.vue

2
src/views/modules/base/smartExcel/cpts/acceptingPersonel.vue

@ -253,7 +253,7 @@ export default {
obj.agencyId = this.agencyId
if (obj) {
let exists = this.selfTag.some(tag => tag.agencyId === obj.agencyId);
if (this.showType == "adjust1") {
if (this.showType == "adjust1"||this.showType=='adjust') {
if (!exists) {
this.selfTag.push(obj);
} else {

2
src/views/modules/base/smartExcel/cpts/excel-add.vue

@ -41,7 +41,6 @@
style="width: 150px;padding: 0 5px;"></el-input-number>
<span> 天内完成</span>
</div>
</template>
</el-form-item>
<el-form-item label="任务有效期" prop="effectiveDateRange" v-if="form.taskPeriod !== 'once'"
@ -97,7 +96,6 @@
</el-button>
<el-button style="margin-left: 20px" type="primary" size="small"
@click="handleClickSave">发布任务</el-button>
</div>
</div>
<div v-if="showTemplate">

3
src/views/modules/base/smartExcel/cpts/excel-summary.vue

@ -55,7 +55,8 @@ export default {
taskId:this.summaryDetal.taskId,
pageSize:100,
pageNo:1,
taskNum:1
taskNum:1,
delReassign:"del"
}
let {code,msg,data} = await requestGet(url,params)
if(code === 0){

Loading…
Cancel
Save