|
@@ -520,6 +520,14 @@
|
|
|
/>
|
|
|
<div style="margin: 5px 0">问答工具</div>
|
|
|
</div>
|
|
|
+ <div v-if="tooC == 18">
|
|
|
+ <img
|
|
|
+ @click="addTools(tooC, toolIndex)"
|
|
|
+ src="../assets/icon/thirdToolList/trainPlatform.png"
|
|
|
+ alt
|
|
|
+ />
|
|
|
+ <div style="margin: 5px 0">训练平台</div>
|
|
|
+ </div>
|
|
|
<!-- <div v-if="tooC == 16">
|
|
|
<img
|
|
|
@click="addTools(tooC, toolIndex)"
|
|
@@ -1072,6 +1080,7 @@ export default {
|
|
|
workCount: 0,
|
|
|
timeCount: 0,
|
|
|
answerCount: 0,
|
|
|
+ trainCount: 0,
|
|
|
dialogImageUrl: "",
|
|
|
pictureDialog: false,
|
|
|
toolTypeList: [],
|
|
@@ -1981,6 +1990,15 @@ export default {
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
window.parent.postMessage({ tools: "17" }, "*");
|
|
|
+ } else if (t == 18) {
|
|
|
+ if (this.trainCount > 0) {
|
|
|
+ this.updateCount(this.trainCount, t);
|
|
|
+ } else {
|
|
|
+ this.trainCount++;
|
|
|
+ a = this.trainCount;
|
|
|
+ this.toolsCount(a, t);
|
|
|
+ }
|
|
|
+ window.parent.postMessage({ tools: "18" }, "*");
|
|
|
} else if (t == 10) {
|
|
|
if (this.timeCount > 0) {
|
|
|
this.updateCount(this.timeCount, t);
|