|
|
@@ -122,7 +122,7 @@
|
|
|
</el-form>
|
|
|
|
|
|
<div class="footer" slot="footer">
|
|
|
- <el-button @click="visible = false">取消</el-button>
|
|
|
+ <el-button @click="close">取消</el-button>
|
|
|
<el-button type="primary" v-click-once @click="confirm">确定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
@@ -163,8 +163,12 @@ export default {
|
|
|
|
|
|
form: {
|
|
|
assignType: 1,
|
|
|
+ crewIds:'',
|
|
|
+ workstationIds:'',
|
|
|
+ teamId:'',
|
|
|
singleReport: this.clientEnvironmentId == 2 ? 0 : 1
|
|
|
},
|
|
|
+
|
|
|
rules: {
|
|
|
singleReport: [
|
|
|
{
|
|
|
@@ -437,7 +441,6 @@ export default {
|
|
|
toRelease(row) {
|
|
|
this.current = row;
|
|
|
this.visible = true;
|
|
|
-
|
|
|
this.FirstTaskIdFn();
|
|
|
this.WorkCenterIdFn();
|
|
|
},
|
|
|
@@ -451,6 +454,8 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res) {
|
|
|
this.$message.success('成功');
|
|
|
+
|
|
|
+ this.reData();
|
|
|
this.reload();
|
|
|
this.visible = false;
|
|
|
}
|
|
|
@@ -459,6 +464,20 @@ export default {
|
|
|
loading.close();
|
|
|
});
|
|
|
},
|
|
|
+ close(){
|
|
|
+ this.visible = false;
|
|
|
+ this.reData();
|
|
|
+ },
|
|
|
+ reData(){
|
|
|
+ this.form= {
|
|
|
+ assignType: 1,
|
|
|
+ crewIds:'',
|
|
|
+ workstationIds:'',
|
|
|
+ teamId:'',
|
|
|
+ singleReport: this.clientEnvironmentId == 2 ? 0 : 1
|
|
|
+ };
|
|
|
+ },
|
|
|
+
|
|
|
/* 刷新表格 */
|
|
|
reload(where) {
|
|
|
this.$nextTick(() => {
|