Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
5 changed files
with
18 additions
and
14 deletions
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | <ul style="margin-bottom:15px"> | 6 | <ul style="margin-bottom:15px"> |
7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> | 7 | <li v-for="(item,index) in dataList" class="listDetail" :key="index"> |
8 | <p class="icon"> | 8 | <p class="icon"> |
9 | <i class="el-icon-circle-check"></i> | 9 | <el-radio v-model="radio"></el-radio> |
10 | </p> | 10 | </p> |
11 | <p>{{item.activityName}}</p> | 11 | <p>{{item.activityName}}</p> |
12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> | 12 | <p v-for="(child,childIndex) in item.userInfos" :key="childIndex">{{child.name}}</p> |
... | @@ -35,16 +35,16 @@ export default { | ... | @@ -35,16 +35,16 @@ export default { |
35 | outstepopinion: '' | 35 | outstepopinion: '' |
36 | } | 36 | } |
37 | }, | 37 | }, |
38 | created() { | 38 | created () { |
39 | this.getBackNode(); | 39 | this.getBackNode(); |
40 | }, | 40 | }, |
41 | methods: { | 41 | methods: { |
42 | childFn () { | 42 | childFn () { |
43 | console.log(1111); | 43 | console.log(1111); |
44 | }, | 44 | }, |
45 | getBackNode() { | 45 | getBackNode () { |
46 | getTaskBackNode(this.formData).then(res => { | 46 | getTaskBackNode(this.formData).then(res => { |
47 | if(res.code == 200){ | 47 | if (res.code == 200) { |
48 | this.dataList = res.result | 48 | this.dataList = res.result |
49 | } | 49 | } |
50 | }) | 50 | }) | ... | ... |
... | @@ -164,7 +164,6 @@ | ... | @@ -164,7 +164,6 @@ |
164 | background-color: #3498db; | 164 | background-color: #3498db; |
165 | color: #ffffff; | 165 | color: #ffffff; |
166 | justify-content: space-between; | 166 | justify-content: space-between; |
167 | padding-left: 15px; | ||
168 | position: sticky; | 167 | position: sticky; |
169 | top: 0; | 168 | top: 0; |
170 | z-index: 100; | 169 | z-index: 100; | ... | ... |
... | @@ -203,7 +203,8 @@ export default { | ... | @@ -203,7 +203,8 @@ export default { |
203 | ...res.result.zdjbxxdatas, | 203 | ...res.result.zdjbxxdatas, |
204 | ...res.result.qlxxdatas, | 204 | ...res.result.qlxxdatas, |
205 | ...res.result.jsydsyqdatas, | 205 | ...res.result.jsydsyqdatas, |
206 | }; | 206 | } |
207 | console.log(this.ruleForm, 'this.ruleFormthis.ruleFormthis.ruleForm'); | ||
207 | } | 208 | } |
208 | }); | 209 | }); |
209 | }, | 210 | }, | ... | ... |
... | @@ -177,7 +177,7 @@ import InformationTable from "@/views/workflow/components/InformationTable"; | ... | @@ -177,7 +177,7 @@ import InformationTable from "@/views/workflow/components/InformationTable"; |
177 | import { Init } from "@/api/fwsyqFlow.js"; | 177 | import { Init } from "@/api/fwsyqFlow.js"; |
178 | import { mapGetters } from "vuex"; | 178 | import { mapGetters } from "vuex"; |
179 | export default { | 179 | export default { |
180 | async created () { | 180 | created () { |
181 | this.propsParam = this.$attrs; | 181 | this.propsParam = this.$attrs; |
182 | var formdata = new FormData(); | 182 | var formdata = new FormData(); |
183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
... | @@ -188,7 +188,7 @@ export default { | ... | @@ -188,7 +188,7 @@ export default { |
188 | ...res.result.zdjbxxdatas, | 188 | ...res.result.zdjbxxdatas, |
189 | ...res.result.qlxxdatas, | 189 | ...res.result.qlxxdatas, |
190 | ...res.result.jsydsyqdatas, | 190 | ...res.result.jsydsyqdatas, |
191 | }; | 191 | } |
192 | } | 192 | } |
193 | }); | 193 | }); |
194 | }, | 194 | }, | ... | ... |
... | @@ -173,24 +173,28 @@ | ... | @@ -173,24 +173,28 @@ |
173 | </div> | 173 | </div> |
174 | </template> | 174 | </template> |
175 | <script> | 175 | <script> |
176 | import InformationTable from "@/views/workflow/components/InformationTable"; | 176 | import { mapGetters } from "vuex" |
177 | import { Init, fristReg } from "@/api/jsydsyqFlow.js"; | 177 | import { Init, fristReg } from "@/api/jsydsyqFlow.js" |
178 | import { mapGetters } from "vuex"; | 178 | import InformationTable from "@/views/workflow/components/InformationTable" |
179 | export default { | 179 | export default { |
180 | async created () { | 180 | created () { |
181 | this.propsParam = this.$attrs; | 181 | this.propsParam = this.$attrs; |
182 | var formdata = new FormData(); | 182 | var formdata = new FormData(); |
183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
184 | Init(formdata).then((res) => { | 184 | Init(formdata).then((res) => { |
185 | if (res.code === 200 && res.result) { | 185 | if (res.code === 200 && res.result) { |
186 | this.ruleForm = {} | ||
186 | this.ruleForm = { | 187 | this.ruleForm = { |
187 | ...res.result, | 188 | ...res.result, |
188 | ...res.result.zdjbxxdatas, | 189 | ...res.result.zdjbxxdatas, |
189 | ...res.result.qlxxdatas, | 190 | ...res.result.qlxxdatas, |
190 | ...res.result.jsydsyqdatas, | 191 | ...res.result.jsydsyqdatas, |
191 | }; | ||
192 | } | 192 | } |
193 | }); | 193 | if (this.ruleForm.gyfs == '1') { |
194 | this.ruleForm.qlrxx = [{}] | ||
195 | } | ||
196 | } | ||
197 | }) | ||
194 | }, | 198 | }, |
195 | components: { InformationTable }, | 199 | components: { InformationTable }, |
196 | computed: { | 200 | computed: { | ... | ... |
-
Please register or sign in to post a comment