|
@@ -20,6 +20,7 @@
|
|
|
v-model="dataForm.taskType"
|
|
|
placeholder="请选择"
|
|
|
style="width: 100%"
|
|
|
+ :disabled="taskTypeDisabled"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in taskTypeOption"
|
|
@@ -152,6 +153,7 @@ export default {
|
|
|
attachList: [],
|
|
|
taskTypeOption: taskTypeOption,
|
|
|
rankTypeOption: rankTypeOption,
|
|
|
+ taskTypeDisabled: false,
|
|
|
dataRule: {
|
|
|
taskCode: [
|
|
|
{ required: true, message: '请输入工单编码', trigger: 'blur' }
|
|
@@ -199,6 +201,7 @@ export default {
|
|
|
this.dataForm = item
|
|
|
} else {
|
|
|
this.isModify = false
|
|
|
+ this.taskTypeDisabled = false
|
|
|
if (bizType === 'communicate' || bizType === 'order') {
|
|
|
this.dataForm = {
|
|
|
planCompletionTime: new Date(),
|
|
@@ -206,6 +209,7 @@ export default {
|
|
|
taskType: 'routine',
|
|
|
recordId: Math.round(Math.random() * 1000000)
|
|
|
}
|
|
|
+ this.taskTypeDisabled = true
|
|
|
} else {
|
|
|
this.dataForm = {
|
|
|
taskName: projectName,
|