|
@@ -176,14 +176,13 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <el-form-item prop="count" label="履职次数:" v-if="false">
|
|
|
|
|
|
|
+ <el-form-item prop="count" label="履职次数:" >
|
|
|
<el-input-number
|
|
<el-input-number
|
|
|
- :disabled="getPlanExec()"
|
|
|
|
|
style="margin-left: 10px"
|
|
style="margin-left: 10px"
|
|
|
v-model="formData.count"
|
|
v-model="formData.count"
|
|
|
controls-position="right"
|
|
controls-position="right"
|
|
|
@change="handleChange"
|
|
@change="handleChange"
|
|
|
- :min="1"
|
|
|
|
|
|
|
+ :min="parentCount"
|
|
|
:max="9"
|
|
:max="9"
|
|
|
></el-input-number>
|
|
></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -292,6 +291,7 @@ export default {
|
|
|
// let o=statusOptions;
|
|
// let o=statusOptions;
|
|
|
// debugger
|
|
// debugger
|
|
|
return {
|
|
return {
|
|
|
|
|
+ parentCount: 1,
|
|
|
buildTime: null,
|
|
buildTime: null,
|
|
|
isSubmitting: false,
|
|
isSubmitting: false,
|
|
|
defaultSelect: [],
|
|
defaultSelect: [],
|
|
@@ -613,7 +613,7 @@ export default {
|
|
|
tableData: null,
|
|
tableData: null,
|
|
|
itemList: null,
|
|
itemList: null,
|
|
|
planExec: null,
|
|
planExec: null,
|
|
|
- count: 0,
|
|
|
|
|
|
|
+ count: 1,
|
|
|
note: null,
|
|
note: null,
|
|
|
planCreateOrgId: null,
|
|
planCreateOrgId: null,
|
|
|
planCreateOrgName: null,
|
|
planCreateOrgName: null,
|
|
@@ -684,6 +684,7 @@ export default {
|
|
|
this.getRolesByOrg();
|
|
this.getRolesByOrg();
|
|
|
},
|
|
},
|
|
|
async show(id, other = {}) {
|
|
async show(id, other = {}) {
|
|
|
|
|
+ this.parentCount =1;
|
|
|
this.tempBuildTaskNow = false;
|
|
this.tempBuildTaskNow = false;
|
|
|
this.buildTime = null;
|
|
this.buildTime = null;
|
|
|
this.id = id;
|
|
this.id = id;
|
|
@@ -693,6 +694,7 @@ export default {
|
|
|
// console.log(id);
|
|
// console.log(id);
|
|
|
if (id !== undefined) {
|
|
if (id !== undefined) {
|
|
|
await api.get(id).then((res) => {
|
|
await api.get(id).then((res) => {
|
|
|
|
|
+ this.parentCount = res.data.parentCount;
|
|
|
// console.log(res, "res");
|
|
// console.log(res, "res");
|
|
|
this.tableData = res.data.itemList;
|
|
this.tableData = res.data.itemList;
|
|
|
});
|
|
});
|